r/ProgrammerHumor • • Apr 08 '22

First time posting here wow

Post image
55.1k Upvotes

2.8k comments sorted by

View all comments

16

u/willvasco Apr 08 '22

Give it some braces and maybe we'll talk

3

u/[deleted] Apr 08 '22

Does it not use brackets?

2

u/[deleted] Apr 08 '22

It does not

2

u/[deleted] Apr 08 '22

Guess I’ll hop on the that’s weird wagon

2

u/FluffyUniqueCats Apr 08 '22

Blocks are identified by indentation, but that means if you use 2 spaces for indentation somewhere and 3 spaces elsewhere the interpreter has a fit

4

u/[deleted] Apr 08 '22

That’s kind of fucking crazy

1

u/gdmzhlzhiv Apr 09 '22

At least you can see that. Try having 4 spaces on one line and then one tab on the next which happens to look like exactly the same indent. LOL