7,201 reputation
23354
bio website shog9.com
location Colorado
age 34
visits member for 4 years, 2 months
seen 10 hours ago

Community Coordinator for Stack Exchange, Inc.

If necessary, contact me via email to stackexchange.com: shog@...

For by thy words thou shalt be justified, and by thy words thou shalt be condemned.


Sep
27
comment Should curly braces appear on their own line?
@leeand00: some of us still print out complex / unfamiliar code in order to study / annotate it. A good pretty-printer mitigates most of the problems though.
Sep
26
comment int* i; or int *i; or int * i;
int*i; - whitespace doesn't grow on trees, you know...
Sep
20
comment Is the abundance of frameworks dumbing down programmers?
@Gratzy: well, sure. The more people use a tool, the more bitch about it. When computers were huge, expensive and rare, only a handful of people in the world could complain about how hard they were to use - now everyone does. Similarly, frameworks don't have to make programmers any dumber - they just happen to attract lots and lots of dumb programmers.
Sep
18
comment What are non-programming mistakes that a programmer should avoid?
Beards are great for hiding drool. Just sayin'...
Sep
18
comment What are non-programming mistakes that a programmer should avoid?
Fantastic advice. If only I'd heard this years before...
Sep
18
comment What syntax element do you hate most in a programming language you use frequently?
@Tirawi: I think what you're arguing for is explicit fall-through vs. implicit fall-through. However, that's not a fair description of goto in C#'s switch: you can jump backwards, skip over cases, etc... In short, it's a slightly-constrained form of the goto familiar to users of many other languages - so if you wanted to do the same in C, you could... Of course, if you want to be explicit, there are plenty of other ways to do so: code in function calls instead of case clauses, jump tables, polymorphism... So my first thought is that perhaps you shouldn't be using switch at all...
Sep
18
comment Do dynamic typed languages deserve all the criticism?
@Billy: I think this is common. I was down on dynamic typing for years because of my experience with VB - when eventually I realized that this terrible, schizophrenic implementation of dynamic typing wasn't typical, my opinion changed dramatically.
Sep
18
comment Why do people still say Java is slow?
Indeed, a common side-effect of many JIT compilers is that programs - and individual code paths within those programs - are rather sluggish the first time through. Which is bad news for interactive software with lots of different code paths, and especially in little one-pass utility programs.
Sep
18
comment Why aren't macros included in most modern programming languages?
@Jeffrey: and let's not forget, plenty of 3rd-party code generators. On second thought, let's forget those.
Sep
18
comment What syntax element do you hate most in a programming language you use frequently?
up-voting this, not because I particularly like semicolons, but because I really hate the way VB encourages really long lines by making linebreaks so inconvenient.
Sep
18
comment What syntax element do you hate most in a programming language you use frequently?
Yes, goto is waaay better than fall-through. Though both pale in comparison to the shear awesomeness of longjmp()...
Sep
17
comment What are the key differences between software engineers and programmers?
According to engineers: a vast array of knowledge and skills ranging from project management to hardware design. According to programmers: nothing. Gratuitous (and possibly out-dated) Dijkstra quote: 'If you carefully read its literature and analyze what its devotees actually do, you will discover that software engineering has accepted as its charter, “How to program if you cannot.”' See also: meta.stackexchange.com/questions/64407/…
Sep
16
comment Which tips helped you learn touch-typing?
@PSU: This sort of repetition is important simply to get you used to positioning your hands and hitting the keys (vs. hitting two at once, etc.) And for the old manual typewriters, it had the added bonus of strengthening your fingers... But yeah, once you have that down, it's important that you move on to real words.
Sep
16
comment Which tips helped you learn touch-typing?
Incidentally, if you get your hands on an old Model M (or equiv), the labelled key caps can be removed, leaving you with this (but with the added bonus that once you've mastered touch-typing, you can put the caps on the wrong keys, and mess with less skilled visitors...)
Sep
15
comment Does off-shore resourcing work?
@Jeff: that's actually my biggest complaint about off-shoring - it's harder to get rid of some executive's pet project (huge contract with huge outsourcing firm) than it is to get rid of a bad employee. Of course, it doesn't help when you can't interview the team you'll be sending work to.
Sep
15
comment When is it right to edit the code written by a co-worker?
@John: it's irrelevant in most common (whitespace-agnostic) languages. But in something like Python it could change the behavior of the program: in that case, you'd call it based on whether or not the behavior changed for the better... Note that if your diff tools can't be instructed to ignore whitespace, it could be considered rude even for whitespace-agnostic languages (but then you should probably invest in better tools). And if the change consists of nothing but indentation changes, I'd classify that as "busywork"...
Sep
15
comment What can slow a developer down?
@Wizard: just buy a jar of maraschino cherries and add some of the syrup to your drink. Now you can make it as strong as you like... (same trick for vanilla: real vanilla coke is far superior to the pre-mixed stuff)
Sep
15
comment When is it right to edit the code written by a co-worker?
@Chinmay: assuming that fixing the bug actually improves the functionality of the program. A "bug fix" that amounts to a work-around for a bug in the editor's own code, or fixes one bug by introducing new ones indicates, at best, an inability to understand the code being edited: it may be a sign that additional documentation is needed, or merely that the editor needs to spend more time reading before attempting to write...
Sep
13
comment Which language features are considered harmful?
POKE was awesome.
Sep
13
comment Which language features are considered harmful?
Namespacing is one of the things that makes typedefs and templates immediately more friendly.