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-12 21:05

So, Anon, have you solved >>149, because I want to see how it's done without macros?

It's a part of parser, used like that:

(defun /mul ()
  (try a (/term) :fail
    (try o (/op "*" "/" "%") a
      (try b (/mul) (/error "`~a`: missing right operand" o)
        (vector o a b)))))

(defun /add ()
  (try a (/mul) :fail
    (try o (/op "+" "-") a
      (try b (/add) (/error "`~a`: missing right operand" o)
        (vector o a b)))))

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