Reputation
54,750
Next tag badge:
226/100 score
19/20 answers
Badges
10 155 239
Newest
 Good Answer
Impact
~1.7m people reached

14h
comment What was the reason for the creation of boolean variables?
@JörgWMittag: For the same reason C moved away from so many other things that Pascal got right before C got them wrong: it was created by a hack who cared more about painting a smiley-face over assembly and calling it a high-level language than about actual tested-and-true good language design.
Jul
31
awarded  Good Answer
Jul
31
answered Why does Objective-C store objects on the heap instead of on the stack?
Jul
30
comment Is it possible to learn C++ on the fly?
@LawrenceAiello: Why in the world would I want to encourage a bunch of thieves to become even more effective at ripping people off?!?
Jul
30
comment Is it possible to learn C++ on the fly?
@LawrenceAiello ...and so did I. That's simply a demonstration of what's possible today, and of how inexpensive it is. If the "embedded system" isn't quite officially dead yet, it's on life support.
Jul
30
comment Is it possible to learn C++ on the fly?
@LawrenceAiello Ah yes, of course, everyone's favorite strawman, the venerable "embedded system with horrendously limited resources." Once upon a time, that may have been a valid argument. With today's technology, though, anyone still mentioning this hoary old beast just looks hopelessly outdated anymore.
Jul
30
comment Is it possible to learn C++ on the fly?
@Brandin: ...and I'm sure if I provided another example, you'd simply move the goal posts again. And of course Stroustrup would say something like that; he created this abomination! He has every incentive to want people to like it, and he was always a much better marketer than a language designer. Unfortunately, it's simply not true. Even people with decades of experience still get tripped up by many of the same language gotchas that trip up newbies--not to mention the new ones that newbies aren't advanced enough to trip over yet!
Jul
30
comment Is it possible to learn C++ on the fly?
That's certainly not the only example, but it's the first one that comes to mind, particularly given the narrow requirements you set out.
Jul
30
comment Is it possible to learn C++ on the fly?
@Brandin: Just off the top of my head, Delphi compiles to native code, comes with the most powerful debugger I've ever seen, compiles incredibly fast, (as opposed to C++ which can literally take forever to compile a valid program due to its defective template system,) and was designed by people who know what they're doing, such that things you don't quite understand tend to go right in Delphi. In C (and especially in C++) things you don't quite understand tend to go wrong in bizarre ways that make no sense and make things even harder to understand.
Jul
30
comment Is it possible to learn C++ on the fly?
*snerk* You kidding? People can use C++ for decades and still not really "get it", not because they're bad developers, but because it's a horrendously, ridiculously complicated language. Seriously, the compiler ought to print out "Abandon hope, all ye who enter here." That's how bad it is. C++ may not be the worst language ever created, but without a doubt it is the worst ever to be taken seriously. The best advice I could possibly give an aspiring C++ developer is "don't even bother." Find a language that won't abuse you so much; there are plenty of decent ones to choose from.
Jul
28
answered Why is it so difficult to read code?
Jul
27
revised Why does C# have both out and ref?
added 174 characters in body
Jul
26
awarded  Nice Answer
Jul
26
comment Why does C# have both out and ref?
@Random832: As Robert posted under his answer, have a look at Eric Lippert (former C# compiler guy) discussing this at stackoverflow.com/q/2876315
Jul
26
comment Why does C# have both out and ref?
@Neo: Basically what I said in the answer: It communicates that you don't care about using this for input, and thus it's safe to pass an uninitialized value to an out param because the function receiving it isn't going to read from it.
Jul
26
answered Why does C# have both out and ref?
Jul
25
awarded  Enlightened
Jul
25
awarded  Nice Answer
Jul
23
comment i'm getting this error in python<__main__.Node object at 0x03A5F990> linked list
Actually, this doesn't appear to be an error at all. Can we reopen this? It's answerable from the available data.
Jul
23
comment i'm getting this error in python<__main__.Node object at 0x03A5F990> linked list
Where in the code does the error take place? Do you have a stack trace?