Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
C0D4681467yEven when not using an IDE, because you know some of us don’t. There’s error logs that will tell you “line 936284839394 has an unexpected *enter random character* “
Even that’s enough to work out where you did wrong.. one would hope. -
C0D4681467y@nicholai
That’s not entirely true
JavaScript needs semi colons when you use the same line for multiple statements.
Unless you put everything on a new line and never use for loops I think you could actually get away with it. -
TMBSTruth477yA more accurate joke would be about ifs and ==. Very common in c and cpp. It allows you to do the assign and then you don't know what went wrong, that's the real evil. Furthermore, let's talk about C# in different environments. C# only takes bools in ifs. If you try to do some int == number/int and fuck up with = it will tell you because it's not a bool. This doesn't happen though in environments (like Unity3D) where for example Object works in if. True devil (especially in languages where you think you are safe like C#). EDIT: I don't know If C# default object can also be used in ifs like this.
-
sSam15017y@TMBSTruth I would be surprised if decent IDEs don't have a warning like "assignment in if condition". Also when you write if blocks that compare variable to literal you should write if(literal == variable) that way you can't fuck it up.
-
TMBSTruth477y@sSam I heard about that yoda style used in PHP. Rather not I'd. Also never seen yet an IDE detecting that thing.
-
sSam15017y@TMBSTruth I've barely touched C++, but I've seen that recommendation quite a few times. Also like I mentioned JetBrains IDEs are amazing, but probably any decent IDE would display a warning.
-
TMBSTruth477y@sSam that's a new one. Thanks, only recently I started writing Java in Intellij, before I only wrote cpp and c# in Visual Studio respectively MonoDevelop.
Fuck off with your shit ass semicolon jokes. You searched for semicolon for 4days? Fucking retard with a sack of balls instead of eyes can understand that he's missing a semicolon in matter of seconds. It's going to be 2018 soon. Get a fucking IDE that says that you are missing a fucking semicolon. The error literally fucking says "; expected at the end of expression". Ugh...? I wonder what that means... Maybe something is wrong with my operating system or my PC. Fuck off with that shit. Try debugging some systems that have 2files with 15k lines in each of them with 200fields and all of them strings both with empty default constructors. Semicolons... My ass..
undefined
fuck; ur; semicolon; shit;