Live data from Hacker News

Crockford on Bootstrap's semicolon omission: “insanely stupid code”

github.com

1–10 of 224 posts

Re: Crockford on Bootstrap's semicolon omission: “insanely stupid code”

#4
Crockford's stance is annoying purely because it's pedantic and because there are many libraries that embrace this style. We use django_compressor and found bugs from the compressor that uses Jsmin. So I have to use something else to compress them before hand.

Are there compressors that use the syntax tree rather than transforming the source?

Re: Crockford on Bootstrap's semicolon omission: “insanely stupid code”

#6
post #2

Funny, I was just checking out Derby and noticed that their examples follow this style.

Why the hell people are refusing to use semicolons? I don't get it

I'm sure there is a whole huge debate here that I'm unaware of, but it seems like a largely aesthetic choice to me, and on that basis, I find it really jarring as someone who is not an everyday JS author.

Re: Crockford on Bootstrap's semicolon omission: “insanely stupid code”

#7

Crockford's stance is annoying purely because it's pedantic and because there are many libraries that embrace this style. We use django_compressor and found bugs from the compressor that uses Jsmin. So I have to use something else to compress them before hand. Are there compressors that use the syntax tree rather than transforming the source?

Is there any particular reason why you refuse to put in the semicolons in Javascript?
Post reply on HN