3 ms·
I think this is a dangerous assumptions to make: the last time I looked at C was 30 years ago, you show me real C code with pointers and references and namespac
by TheRealPomax 4y ago
I think this is a dangerous assumptions to make: the last time I looked at C was 30 years ago, you show me real C code with pointers and references and namespaces and I couldn't tell you wtf was going on if my life depended on it.
With a few weeks of study to "re"learn C and/or C++? Sure, they're just programming languages. But right off the bat? No idea what the hell is going on in real, production C code.
- Entinel 4y agoThis is my point though. People just complain about whatever syntax they aren't used to using but none of them are inherently more difficult to read.
- TheRealPomax 4y agoNone of them are inherently more difficult to _learn_ but they sure as hell are more difficult to read when everything's peppered with :: and * and &.
- Entinel 4y agoThat's a matter of opinion and one I disagree with.
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]
- thrown_22 4y agoThe problem of working C code isn't the syntax, it's the semantics. Casting pointers isn't difficult to read because dereference and multiplication share *, it's difficult to understand because it's not something you do outside of C.
- skywhopper 4y agoMaybe you don’t.