12,058 reputation
43354
bio website
location Minneapolis, MN
age
visits member for 4 years, 1 month
seen 1 hour ago

Mar
16
comment Is using `continue`, `break` in non-`switch` loops and `?:` bad practice?
This should be split into two questions.
Mar
15
comment Error handling - Should a program fail on errors or silently ignore them
@joshin4colours: They're not, I agree. Different types of problems warrant different types of solutions. The OP did specifically mention "transmission problems". And the answer used the phrase "never ever" to apply to all errors.
Mar
14
comment Error handling - Should a program fail on errors or silently ignore them
Not enough to warrant a -1, but "never" is a strong word, and there are situations where ignoring errors is the right course of action. For example, software to decode broadcast HDTV transmissions. When you encounter some errors, which you frequently will, all you can do is to ignore it and keep decoding what comes afterwards.
Mar
7
comment How is an IDE compiled?
In addition to what @RobertHarvey said: their compilers can be bootstrapped just like any other, and the whole IDE can be bootstrapped.
Mar
6
comment How do IDE-s provide auto-completion, instant error checking and debugging?
Far too broad a question to be effectively answered.
Mar
6
comment How can robots beat CAPTCHAs?
You're not using a CAPTCHA made by sony, are you? cryptogasm.com/2011/07/sony-captcha-fail
Mar
4
comment Are exceptions as control flow considered a serious antipattern? If so, Why?
Your answer makes it sound as though exceptions are bad for all circumstances, while the quesion is focused on exceptions as flow control.
Feb
23
comment Avoiding “Smart Guy” Syndrome on Team Projects
Since when is designing a UI first bad practice?
Feb
22
comment Why do large websites use different languages for the backend and frontend?
@SK-logic: if your claims were true, we would all be writing everything in assembly. There is always a time before a language is popular and established, but people have to use it for those two elements to become true.
Feb
22
comment Why do web sites require certain characters in their credentials?
@MichaelBorgwardt: those bad practices would be a result of cargo cult programming: going through the actions without realizing the why behind them.
Feb
22
comment When would using a scripting language within a larger program be useful?
It's very useful for making absurdly complex pieces of software that require expensive consultants to maintain it, especially when the scripting language is terrible.
Feb
18
comment Should object oriented programming be the first thing students learn?
@ott: unlikely in HS, though its fairly common in university environments.
Feb
18
comment Should object oriented programming be the first thing students learn?
Too lazy to write a full answer, but no, I don't think starting with OO is the way to go. The key to programming is the analytical mind, and I think programming on the bare metal is how students should begin, in assembler, or maybe C. I think programming an Arduino or PIC, etc would be much better for a HS program.
Feb
17
comment Interview - Create a portfolio to show my skills
Several hundred little examples would be miserable. 5 or 6 big examples would be good. But design it to be shown on paper, and have it distributed as a PDF. Anything more complicated than that no one is going to want to bother with.
Feb
14
comment At what stage of a project should documentation be done?
I wouldn't say any documentation will help, not even in theory. Incorrect documentation can be and often is worse than no documentation at all.
Feb
13
comment Implementing chat in 2013
Unless you began programming in the 60s, computers both had threads and multiple cores when you last implemented some sort of chat function.
Feb
13
comment Is it plausible to use a filesystem-based configuration format rather than an INI file?
@FrerichRaabe: We're all aware that it could work. We are all just arguing that your schemes disadvantages dominate its advantages.
Feb
13
comment Is it plausible to use a filesystem-based configuration format rather than an INI file?
@c-smile: how is that possibly any better than just using straight-up XML like a normal person?
Feb
13
comment Is it plausible to use a filesystem-based configuration format rather than an INI file?
@FrerichRaabe: Do you think anyone is going to want to type find -print -exec more {} \; constantly, instead of just seeing everything in an editor?
Feb
11
comment Why is the main memory for object allocation called the 'heap'?
@DeadMG: link to some then please, so we can put the dupe in the vote to close form.