Grr...

Dec. 17th, 2006 11:50 pm
wolfwings: (Default)
[personal profile] wolfwings
...I hate C++. Without automated tools, there's no way to guarantee, without a doubt, that the code does what it looks like it does. Even standard assumptions can be over-ridden, and far too often are in example C++ code to make the code make 'more sense' to the original coder. But in the process making it vastly harder to parse and understand to a layman trying to port the code elsewhere.

Currently picking through Matt Timmermans Bijective Arithmetic/Range Coding Compressor and (very slowly) shambling through converting it to straight C instead of a heap of C++ files for some very simple code bits of code.

And yes, this ties in vaguely to my old WikiCode idea. And no, my usual complaints about C++ don't all apply to the linked-to code, but are a complaint with the basic design of the language.

(no subject)

Date: 2006-12-19 08:14 am (UTC)
From: [identity profile] tothwolf.livejournal.com
This was something I was trying to explain to [livejournal.com profile] fyre when he was talking about learning C/C++. I'm a firm believer in learning plain old ANSI C before learning the C++ "shortcuts".

Style Credit