You must log in or register to comment.
K&R 4evah
What is Lisp style, Lisp doesn’t have this syntax? Or is it referring to something other than Lisp languages. Same with Haskell.
Haven’t coded with Lisp, but I’ve seen Lisp codes that are formatted like that. Haskell too.
Perl style: all on one line, with the ‘while’ statement at the end.
Can we talk about variable scope? Is x changing inside a called function without so much as a pointer being passed?
Avoiding global variables is just something dumb people do to protect themselves. Real programmers declare every variable before Main.
GNU > Allman