12,108 reputation
43354
bio website
location Minneapolis, MN
age
visits member for 4 years, 1 month
seen 25 mins ago

1d
comment IRC Channels and Programmers why?
IRC doesn't require registration and isn't controlled by corporate overlords.
2d
comment What are the valid uses of static classes?
@Telastyn: no worries, great minds think alike :)
2d
comment What are the valid uses of static classes?
The answer to your question essentially boils down to accepting the fact that a lot of times YAGNI. All your what its: YAGNI.
Dec
18
comment Are all magic numbers created the same?
@JuanMendes: That's Kibibyte vs Kilobyte land, StevenBurnap made a joke about it in a comment to the question.
Dec
18
comment How common are use SDLC methodologies in real life?
Your claims about coder vs engineer are at odds with reality, even under strictly defined procedures software has all kinds of issues, see programmers.stackexchange.com/questions/158640/… for some examples. No methodology can replace the good judgment of a skilled developer.
Dec
18
comment Are all magic numbers created the same?
Ya'll need to learn YAGNI.
Dec
18
awarded  Good Answer
Dec
18
comment Are all magic numbers created the same?
@immibis: somewhere, someone is trying to.
Dec
17
comment Are all magic numbers created the same?
@NathanCooper: I know it's an example, but when discussing nuanced topics that are context-sensitive judgment calls, your choice of example is important.
Dec
17
awarded  Nice Answer
Dec
17
comment Are all magic numbers created the same?
@NathanCooper: your preferred e^i*pi = -1 is better in that instance, because your alternative isn't correct. e is not 2.718. And while specs change a lot, they also have a habit of changing only in unexpected ways where you can't just change a single #define and run with it.
Dec
17
comment Are all magic numbers created the same?
@user61852: named constants aren't always more readable. They often are, but not always.
Dec
17
comment Are all magic numbers created the same?
@user61852: Like just about everything else in software, it boils down to judgement calls specific to your context. In some cases 9.8 would be appropriate in-line, in others it would not be. Using a constant for acceleration due to gravity can be dangerous because g is not constant everywhere, nor is standard g 9.80000. Using a constant defined elsewhere makes errors in your usage of the value less obvious.
Dec
17
answered Are all magic numbers created the same?
Dec
17
comment What is a good word for the current “state” of a state machine?
I've seen plenty of state machines over the years that just call the variable "State". Never been confused.
Dec
16
comment Math model for a webpage layout?
Generating "bullet proof" html/css to do just about anything beyond hello world is serious undertaking. You underestimate how quirky browsers are.
Dec
16
comment Running a QT application on Windows
How about telling us what program, and what is in the folder, or anything that would be useful?
Dec
10
comment Is there ever a reason to use an array when lists are available?
Rarely? Not everyone works on super-complicated ultra-configurable enterprise monstrosities.
Dec
8
comment Hardware accelerated text processing
Also reversal is not a basic string operation in the 21st century.
Dec
8
comment Hardware accelerated text processing
It already exists and it is already implemented in various forms in common desktop processors. String operations have been commonplace on computers since nearly day 1, and many architectures have had many different instructions catering to particular string handling schemes.