C++ is tough, 'nough said
C++ has been the most difficult programming language for me to grasp. Things go from great -> to I'm-gonna-cry broken -> to great again in a couple minutes. Despite knowing exactly what my next 10 moves will be – and being able to see the code in my head in 3 other languages – the c++ syntax barrier still hits like a brick wall.
When this language finally 'clicks' with me it will be a moment of pure amazement. I've been humbled by a programming language, and I don't mind admitting it.
4 Comments
Jul 21, 2007
8:02 pm
error :( error :( error :( ... error :( error :( compile successful = *excitement*! seg fault = :( repeat.
Jul 21, 2007
8:03 pm
I need to fix the stupid paragraphs on this blog
Jul 22, 2007
12:21 am
The thing about C is that it straddles kind of a weird position on the abstraction curve. On the one hand, it does objects and late binding and all the kinds of cool stuff that Ruby and JavaScript do. And yet, a pointer to a C class instance is still nothing more that a dumb-as-nails 32-bit memory address, and you can absolutely still cast them from type to another however you please. No garbage collection, no global clone, no functions as first-class objects, and no closures. But besides that strangeness, there's also stuff like header files, which are an utter utter mess, a redundant relic of a previous era. If the point of a header file is to document a library, the correct thing to do is use a generated documentation tool, like JavaDoc (jsDoc, pydoc, etc). Updating header files and writing stupid include guards are a ridiculous waste of everyone's time.
Jul 22, 2007
5:42 pm
Amen, couldn't have said it better myself.