Hacker News new | past | comments | ask | show | jobs | submit login

> The extra syntax is not there for nothing.

You could say the same thing about everything old C++ compelled you to type. Or old COBOL, for that matter.

I'm more interested in what the C++ memory allocation style does to verbosity. Memory-handling styles are often more important than the traditional paradigms (functional, OO, etc.) in determining what's reasonable/pleasant to do in a given language.

https://sites.google.com/site/steveyegge2/allocation-styles




But aren't all allocation styles basically the same once you get GC? (I guess unless you broaden the scope of the word, and let it describe the lengths you go in Haskell to avoid allocation at all, aka triggering stream fusion and automatic deforrestation in general.)


There are other issues: Go has stuff like slice for efficiently allocating array data more finely than a Java array, perl has autovivication.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: