Just wait until you accidently have something unindented that wasn't supposed to be. Those are fun bugs to troubleshoot
Comics
A community for sharing comics related to programming
Icon base by Delapouite under CC BY 3.0 with modifications to add a gradient
Just wait until you accidently ~~have something unindented that wasn't supposed to be~~ forget one semicolon. Those are fun bugs to troubleshoot
FTFY.
That will cause a compilation error 99.999% of the time and point you to the exact location where the problem is.
Back when I regularly used Java for Minecraft mods n shit id get shit like
missing expected ; at line 68
Then I'd go to line 68 in the editor and it and the 5 on either side of it are allllllll blank. Wonderfully helpful!
Well there's your problem, they're blank when they should be ;
Well, which of these lines causes a compilation error?
String foo = "Nothing";
foo += "to see";
foo += "here";
Spoiler
The last one. It's not a semicolon but a Greek question mark...
Compilation error (line 3, col 18): ; expected
Compilation error (line 3, col 18): Unexpected character ';'
edit: fuck that formatting
Wouldn't IDE ensure these things are looked after?
Yes, but people feel threatened by good programming languages instead of just learning them.
There aren't good languages and bad languages, there are better tools for a particular job and worse.
Javascript is widely regarded as a bad programming language even though for many use cases it is the best tool for the job.
If you try out the import antigravity in this comic, you'll be linked back to the comic. XKCD is built into the language itself.
Open a Python REPL and type:
import antigravity
;)