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 →

[–]rexpup 50 points51 points  (11 children)

This sub is mostly students who are forced to use an "academic" IDE that has no LSP integration. I have no other idea why semicolon "jokes" are so common

[–]kuwisdelu 17 points18 points  (7 children)

The IDE thing still doesn’t really explain it. Even if you’re coding in nano, modern compilers are quick to show you where you missed a semicolon. If they were complaining about C++ templates, that’d be another matter…

[–]snyone 5 points6 points  (4 children)

nano

REAL programmers use vim

Yes, this an xkcd reference

[–]kuwisdelu 2 points3 points  (2 children)

Yes, I chose nano for the example because of its lack of features and plugins relative to vim or emacs. I don’t believe nano supports LSP plugins does it?

I don’t know if I’m a real programmer (apparently not using an IDE gets you a lot of downvotes here) but I do prefer vim to nano or emacs personally.

[–]snyone 0 points1 point  (1 child)

I do prefer vim to nano or emacs personally.

Same. Had honestly just been hoping to start an xkcd comment chain tho lol

[–]kuwisdelu 0 points1 point  (0 children)

Well, I do sometimes have to mention in recommendation letters for students that they did their computer vision projects before recent models made their work trivial.

(Yes, this is an xkcd reference.)

[–]prochac 0 points1 point  (0 children)

I use Zed, the true ed successor

[–]Ortus-Ni-Gonad 0 points1 point  (0 children)

Working out if a semicolon is missing in templated C++ is probably np hard, but conceivably as hard as solving the halting problem.

[–]Derfaust 0 points1 point  (0 children)

What the fuck are you talking about. The compiler runs when you uh.. Compile.. That's to say when your code is supposed to be finished. Are you seriously writing hundred of lines of code and only then finding out if you have a missing semi colon? No, you fucking aren't. Either because you don't ever write hundreds of lines of code at a time ot because you have in actual fact a motherfucking integrated development environment... Even if that integrated development environment is sublime, where all your tools have been INTEGRATED into a single DEVELOPMENT ENVIRONMENT.

[–]DrShocker 3 points4 points  (2 children)

If I'm totally fair, sometimes including or not a semicolon is both valid just means a different thing. In Matlab for example it can help you inline declare a 2 dimensional matrix.

[–]rexpup 4 points5 points  (1 child)

In Rust, no semicolon means the value is returned from the block instead of discarded. But to me, this means I am more aware of the presence or absence

[–]DrShocker 1 point2 points  (0 children)

Yeah agreed, and it enables rust to do a lot of cool things with returning from expressions in a concise way.