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
![](/static/devrant/img/pipeless-devrant-banner-white.png)
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
tahnik389968yprobably newcomers. Anyone who has coded for at least 100 hours will get a semicolon error easily
-
@liverreich I see, but still, forgetting a semicolon is one of my least-made mistakes. Maybe for people who use Python a lot?
-
@tahnik Officially it does, but sometimes you can get away with not using one (iirc)
-
620hun83788y@tahnik Yes it does. I forgot the semicolon afterwards a var declaration and my whole code broke.
-
@ChappIO Heya! I actually came here because you mentioned it once ^^ (thanks btw)
http://stream1.gifsoup.com/view/... -
Sykoah7168yFor languages like JavaScript there are plenty of plugins for editors such as atom andvs code that will give you syntax errors and warnings. if you don't want to use that write a console app that logs out line numbers that dont end in a semi colon (skipping lines that end in ")" "{" "}" ) and add it to path environment variable. helps me a lot. I wrote one to find the bastard spacing in js that Firefox hates too :)
-
@Sykoah That's actually a pretty neat idea. Don't forget to ignore comments too ;) Also you might not want to ignore lines ending in ')', because of function calls (func();)
-
Sykoah7168y@LucaScorpion yeah I tend not to do that in js due tot he fact the code will run without error missing that colon even using 'use strict' and adding that rule in prints lines for function definitions. I think I do have that rule implemented in my command line app but with a lot more logic to identify a definition from a call :) cba to comment the entire process though lol
-
620hun83788yI personally prefer having my syntax on point and not using any shorthands. I let Closure Compiler do the dirty work.
-
This is in c#, try c++ you will get 20 errors half of them about a semicolon because you forgot to add a using directve.
I still don't get people that complain about debugging a missing semicolon...
undefined
visual studio
missing semicolon