Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why is C++...

Name: Anonymous 2011-12-07 12:06

...so bad? Why does it have such a bad reputation?

I'm an experienced C++ programmer and, while the language has warts, I can't understand the reason for the enormous amount of criticism against the language.

I'd like to hear the honest opinions of /prog/rammers in this regard.

Name: Anonymous 2011-12-19 3:53

>>261
using a vector instead of a list makes a lot of conceptual sense
For lambda-/argument lists, vectors? Scheme's basic lambda-lists make much more sense than using vectors with some special & keyword to mark rest arguments, because it kind-of pattern matches with the argument list.
((lambda (x y) ...) 1 2) => '(x y) '(1 2) => ((x 1) (y 2))
((lambda (x . y) ...) 1 2) => '(x . y) '(1 2) => ((x 1) (y (2))
((lambda x ...) 1 2) => 'x '(1 2) => ((x (1 2)))


and gives better visual cues as well.
Where's the difference between ))))))))) and )))])])))]))), except the second is harder to type?
Also, R6RS has [] aliased to (). I wish they were vectors, though.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List