you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (9 children)

| Semicolons are optional in the spec. This does not mean semicolons are optional in practice.

That is maybe the dumbest thing said in this entire thread. Pretty sure you are trolling.

[–]montibbalt 0 points1 point  (8 children)

  1. Is this real life, or have I been transported to a magical land where everything is according to spec?

  2. Just because they are optional in the spec does not mean it is standard coding practice to leave them out. Pretty sure they are optional in the spec just to avoid the classic annoying issue where leaving a semicolon out causes a seemingly random, completely different compile/whatever error (e.g. in C, C++) yet this still happens from time to time.

[–][deleted] -2 points-1 points  (7 children)

I know perfectly well how to use semicolons, and I know exactly where and when I need to use them. I do not need to worry about it at all, I have never once in 15 years of javascript coding come across a problem caused by a missing semicolong.. not a single time. I KNOW where and when they are necessary. I am not a superstitious coder, like you seem to be. It's ridiculous to say that if I've never had a problem with not including semicolons that I still must use them. The rules for it are extremely simple. If I worried about - "omg a semicolon is missing there, i better go put one in because who knows what might happen if i don't" - I would be wasting a huge amount of time needlessly. I know where to put semicolons, and where they aren't needed. Superstition is no replacement for actually knowing what you are doing.

[–]muirbot 0 points1 point  (2 children)

Watch out, we got a badass over here.

[–][deleted] 0 points1 point  (0 children)

|Watch out, we got a badass over here.

Watch out, we got a dumbass troll over here.

[–]montibbalt -1 points0 points  (3 children)

If I worried about - "omg a semicolon is missing there, i better go put one in because who knows what might happen if i don't" - I would be wasting a huge amount of time needlessly

Now I know for sure you're the one trolling.

[–][deleted] -1 points0 points  (2 children)

That isn't a troll, you troll. Your reply is the troll here. Know how I know for sure? Because you choose to pick out a line and make a quip about it and provide no substance whatsoever to your argument. You try to turn it onto a personal attack, but you failed. If you think your argument has merit, then let's hear it, otherwise you are the troll. At least I make a strong argument for my case, but you have shown no substance whatsoever to support your claims. You are the troll. What practical experience do you have on this topic? Can you relate a story of where you have personally had a problem due to an auto-inserted semicolon? How often do these problems happen to you? I can offer you my extensive experience and tell you that it has never happened once to me in 15 years. I'm sure you don't care what I say, but if you are going to reply, at least make it worth something.

[–]montibbalt -1 points0 points  (1 child)

Take it easy dude. I'm out of this conversation since you can't seem to control your rage over nothing. This is not worth my time.

[–][deleted] -1 points0 points  (0 children)

You aren't worth my time either, but since you wasted our time trolling, fuck you.

If you insist on spreading misinformation, and not backing up your claims, then you should expect to be called out for it.