678 reputation
515
bio website
location Mezőkövesd, Hungary
age 25
visits member for 4 years, 1 month
seen Nov 26 at 13:30

Nov
6
awarded  Nice Question
Nov
6
awarded  Popular Question
Nov
6
revised Why do we use non-descriptive internal codenames?
added 551 characters in body
Nov
6
awarded  Yearling
Nov
6
asked Why do we use non-descriptive internal codenames?
Sep
26
comment What should I understand before I try to understand functional programming?
@ScottWhitlock Every sane imperative language have the concept of function pointers or anything like that can be used to pass a function as parameter. It's supported by very old languages like PL/1, COBOL, C, Pascal, etc... Using these you can write mapping functions.
Jul
18
comment My client wants me to add background music to a site. How do I tell them this is a terrible idea?
The google link is broken.
Jul
13
answered Deprecate a web API: Best Practices?
Jun
21
answered Should I extract specific functionality into a function and why?
Jun
20
comment What is the ideal length of a method?
I use my screen in portrait orientation, I can see 200 lines of code at once.
Jun
20
comment What is the ideal length of a method?
Except when they contain a switch.
Jun
20
comment What is the ideal length of a method?
@Smokefoot I would factor out repetitive patterns into single functions/macros etc. If the function isn't a repetitive mess, there is 90% chance the reason for its length is a huge switch, which mean you probably need to add just a new case. If you explode the 6000 lines into 60 100 line functions, you make the next fellow's job even harder because now he'll need to scroll and jump around many source files to put things together in his mind.
Jun
20
comment What is the ideal length of a method?
@DanielB I wouldn't touch any variable before I know how it is used. So I would search for all occurrences of it in its scope to see which other functions and statements alter it. I'd also refactor the code to bring down all variables into the smallest scope possible.
Jun
9
answered What revision control has the best merging engine?
Jun
9
comment What revision control has the best merging engine?
IMHO Auto generated files shouldn't be in version control. Only the files that are used to generate them.
Apr
1
comment Do abstractions have to reduce code readability?
+1 for mentioning YAGNI and abstractions with single reference points. The primary role of making an abstraction is factoring out the common point of multiple things. If an abstraction is referenced only from one point, we cannot speak of factoring out common stuff, an abstraction like this just contributes to the yoyo problem. I would extend this because this is true for all kinds of abstractions: functions, generics, macros, whatever...
Mar
28
comment Should curly braces appear on their own line?
@LorenPechtel You can also use your monitor in vertical position, and use 8pt.
Feb
10
asked Should functions be prepared for overlapping buffers?
Dec
11
comment Should I bother to develop for JavaScript disabled?
If your website only shows a blank page or the layout falls appart completely with disabled JS, you probably do something wrong.
Dec
3
answered Deprecation considered harmful?