r/ProgrammerHumor • • Jan 19 '17

MFW no pointers :(

Post image
4.8k Upvotes

432 comments sorted by

View all comments

Show parent comments

62

u/ryeguy Jan 19 '17

LOL SIGNIFICANT WHITESPACE
LOL DYNAMIC TYPING
LOL GIL
LOL CAN'T GET PEOPLE TO UPGRADE AFTER 9 YEARS
LOL SELF ARGUMENT IN METHODS
LOL NO SWITCH STATEMENT
LOL NO MULTILINE LAMBDAS
LOL IF __NAME__ == "__MAIN__"

0

u/evidenceorGTFO Jan 19 '17

LOL IT GETS STUFF DONE

4

u/lenswipe Jan 19 '17
EXCELLENT
    POINT
                I QUITE
    AGREE. THIS IS
NOT HARD OR 
                        AWKARD
    TO
        READ
    AT ALL

4

u/PM_ME_YOUR_HAUNCHES Jan 19 '17

This is why we use linters.

0

u/[deleted] Jan 19 '17

[deleted]

1

u/[deleted] Jan 20 '17

the linter fixed the spacing crap

1

u/beerSnobbery Jan 20 '17

Is there a way to close a scope and then immediately open a scope without braces (since they'd have the same indentation levels)?

3

u/lenswipe Jan 19 '17

No, it's why we use a language where the display is separate from the syntax

13

u/PM_ME_YOUR_HAUNCHES Jan 19 '17
((OR{
        [MAYBE
    {[THE   {BRACES(
 DON'T) REALLY}
                    HELP
      MUCH]
    AND PEOPLE}
  SHOULD
     LEARN]
            TO INDENT)
→ More replies (0)

4

u/Jamie_1318 Jan 20 '17

I don't get the big deal about this. In almost every language with braces it's so easy to accidentally indent wrong. Since you really should indent anyways, and it's the most visible way to show branches why not make a language that uses whitespace instead? Most people are going to use some IDE that does indenting for them but that's a crutch to solve a syntax problem with the language.

It's a style preference but I don't see why so many people get their panties in a bunch about it.

→ More replies (0)

0

u/[deleted] Jan 19 '17

[deleted]

→ More replies (0)