Hacker News new | ask | show | jobs
by thelonecabbage 5865 days ago
What can I say, after C every other language is just adding idioms.

You never forget your first love. Oh others came before her, and after, but no one can replace her or what she taught you.

1 comments

That's quite poetic considering your C is far from idiomatic.

Surely manipulating pointers would be the expected way of doing this, and probably easier to optimise for the compiler.

Because array syntax is clearer (to me), does the exact same thing, and the speed of a computer doubles every 24 months but programmers don't.
I'm not picking on you, but this is a common sentiment among many programmers that really aggravates the hell out of me. Because of that kind of thinking, lots and lots of people are being forced to replace perfectly good hardware just to be able to run software "designed" for newer systems. The expected benefits from Moore's Law are nearly nonexistent, except for a few specific niches.
> Because of that kind of thinking, lots and lots of people are being forced to replace perfectly good hardware just to be able to run software "designed" for newer systems.

Feature, not a bug (for the providers, anyway).

It doesn't actually do the exact same thing:

http://c-faq.com/aryptr/aryptr2.html