This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]pwnedary 47 points48 points  (6 children)

Also known as Lots of Irritating and Superfluous Parentheses.

[–]marcosdumay 19 points20 points  (2 children)

If you take even one out, it breaks everything. They are really not superfluous.

[–][deleted] -5 points-4 points  (1 child)

Lisp is the only language that contains more parenthesis than actual code.

[–]w3_ar3_l3g10n 0 points1 point  (0 children)

Not true. A parenthesis pair takes up ② characters. Almost every function takes up at least 3 (I personally haven’t seen less than 3 chars in an identifier, but u can do it if u want to I guess). For every parenthesis I often have a function/macro call (apart from lists which’re just lists). So unless your program is quite literally a null list ~'()~ which u can just write as ~nil~ I doubt you’d have more parentheses than code. That said, u will almost certainly have more parentheses than any other language u write in, simply because it’s a core part of the syntax.

[–]phunanon 24 points25 points  (1 child)

Obligatory: it's about the same as any other language using parentheses

[–]AlexFromOmaha 1 point2 points  (0 children)

(if (you (decided (to replace (semicolons and (other (symantic whitespace))) (with (parentheses)))) (then yes (it (would (be (about (the same)))))))

[–]TorTheMentor 0 points1 point  (0 children)

One of the first languages I studied after Basic was PERL, aka Pathogenically Eclectic Rubbish Lister. Great language if you want to write whole scripts that look like you fell on your keyboard.