36
siri
8y

Never understood the importance of ';' .But developer does,I think so :P

Comments
  • 4
    Just use IDE...
  • 4
    @SanchelliosProg exactly! I never understand these posts, since my IDE would mark it with a big red flag. Heck, it even tells me if my variables are to short, too long, or if my class is getting to big. linters and sniffers ftw.
  • 0
    @kanduvisla If your class is too big?!? Which IDE is that??!!?? We end up with ~1200 line classes [with basically no comments] every year in robotics because everything is already in that class and people just add in code instead of splitting it up because they don't want to break thingm
  • 0
    @SecondThread if you're PHP developer, try looking at php code sniffer and php mess detector.

    Other languages have lines as well. Like eslint for JavaScript.

    Most IDE's have plugins that integrate nicely with these packages.
  • 1
    ive started putting semicolons after every line end.... I actually do maths at college and I once even put a semicolon after a line and it's really frustrating because I have to force myself not to put them there xD
Add Comment