this post was submitted on 12 Mar 2024
1100 points (95.8% liked)

Programmer Humor

32503 readers
472 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 

Please dont take this seriously guys its just a dumb meme I haven't written a single line of code in half of these languages

you are viewing a single comment's thread
view the rest of the comments
[–] Da_Boom@iusearchlinux.fyi 5 points 8 months ago (3 children)

At least untill someone sneaks a tab in your spaced code, and you don't know how to make your code editor show the difference, or it doesn't support showing the difference.

[–] fushuan@lemm.ee 7 points 8 months ago* (last edited 8 months ago)

That sound like a you problem really, detecting this is quite simple because any editor worth their salt will literally lint you an issue saying that tabs and spaces are mixed and the thing literally won't be interpreted. If your editor can't show white spaces, chances are you are one google question away from discovering that it actually can do that easily.

The more I code the less I mind the tool and the more I hate the ones using it wrong.

[–] stevedidwhat_infosec@infosec.pub 3 points 8 months ago

Only soln is to write Python to read the bitstream and detect several white spaces followed by a tab or vice versa

[–] CapeWearingAeroplane@sopuli.xyz 1 points 8 months ago* (last edited 8 months ago)

That will give you an extremely clear error when you run the code. Also, any IDE worth its salt should be able to fix that for you.

Even the error message you get from C++ for missing a semicolon is harder to understand and fix than this.