1,666 reputation
1613
bio website
location
age
visits member for 3 years, 7 months
seen 2 days ago

Apr
6
awarded  Student
Apr
6
comment I can't program because the code I am using uses old coding styles. Is this normal to programmers?
I don't think 500-line functions were ever considered "good"... the primary book I learned assembly from back in the 80s mentioned that you should maybe break things into subroutines when they started getting too big to branch from the end back to the start. That comes to somewhere between 40-120 lines on that processor (6502).
Apr
6
asked What's the term describing this system for generating user interfaces?
Apr
2
answered When to learn the command line version of a programming tool?
Apr
2
awarded  Nice Answer
Mar
30
comment Are nullable types preferable to magic numbers?
Using "null" as your magic value, if your type has "null," is fine. The important thing is to NAME it, because sure as shootin' the next guy to come along will not know what you meant. Null can mean "infinity," "not yet specified," "bug in the code that created the data structure," or any number of other things. Only a name lets the next coder know that you meant that value to be there, and what behavior you meant it to trigger.
Mar
30
comment while(true) and loop-breaking - anti-pattern?
Oh, look, a language that does directly support mid-exit loops! :)
Mar
30
answered Are nullable types preferable to magic numbers?
Mar
30
answered while(true) and loop-breaking - anti-pattern?
Mar
29
awarded  Good Answer
Mar
29
awarded  Mortarboard
Mar
29
awarded  Enlightened
Mar
29
awarded  Nice Answer
Mar
29
answered How to deal with tautology in comments?
Mar
29
comment Bug reopen vs. new
Checking the history is worthwhile anyway... because if your source control system is broken, you want to know that.
Mar
12
comment Why should we preferably use first class collections?
Is it just me, or is this rule un-implementable as written? I mean, you've got a class with a collection in it, so you take everything else out. Now your class is a collection. So if you've got another class, with that class in it, it has a collection in it, and... lather, rinse, repeat.
Jan
10
answered Is there such a thing as feature bloat?
Jan
10
awarded  Editor
Jan
10
revised Programmers clipboard monitor under Windows
added 337 characters in body
Jan
9
answered Programmers clipboard monitor under Windows