(I used to discern between program stages on 286/386 because sound of power supply was different for different loops)
Plink-plonk.js – hear webpages render with DOM observer and audio API
11–20 of 61 posts
Re: Plink-plonk.js – hear webpages render with DOM observer and audio API
#12Earlier quoted context omitted.
Just minify it...?
Imagine still using semi-colons in JS source in 2020 and "bookmarklet compatibility" being your reasoning.
Re: Plink-plonk.js – hear webpages render with DOM observer and audio API
#13Re: Plink-plonk.js – hear webpages render with DOM observer and audio API
#14Earlier quoted context omitted.
Just minify it...?
Imagine still using semi-colons in JS source in 2020 and "bookmarklet compatibility" being your reasoning.
Re: Plink-plonk.js – hear webpages render with DOM observer and audio API
#15Earlier quoted context omitted.
Imagine still using semi-colons in JS source in 2020 and "bookmarklet compatibility" being your reasoning.
Semicolons in JS is how you differentiate between someone who understands that code ambiguity leads to pain, vs someone who shouldn't be allowed near multi-line statements.
Re: Plink-plonk.js – hear webpages render with DOM observer and audio API
#16Earlier quoted context omitted.
Imagine still using semi-colons in JS source in 2020 and "bookmarklet compatibility" being your reasoning.
Imagine not understanding why bookmarklet compatibility is cool for something like this and putting people down for it with a cheap "it's 2020" meme.
Re: Plink-plonk.js – hear webpages render with DOM observer and audio API
#17Earlier quoted context omitted.
Imagine still using semi-colons in JS source in 2020 and "bookmarklet compatibility" being your reasoning.
Semicolons in JS is how you differentiate between someone who understands that code ambiguity leads to pain, vs someone who shouldn't be allowed near multi-line statements.
Re: Plink-plonk.js – hear webpages render with DOM observer and audio API
#18Anyone have interesting example sites to try it? I thought Youtube would be a good candidate, but very little going on for some reason.
Re: Plink-plonk.js – hear webpages render with DOM observer and audio API
#19Earlier quoted context omitted.
Semicolons in JS is how you differentiate between someone who understands that code ambiguity leads to pain, vs someone who shouldn't be allowed near multi-line statements.
Honest question: how often does the code ambiguity due to lack of semicolons lead to non-obvious bugs? I'm nowhere close to being a JS expert, but I've done some JavaScript-heavy pet projects and I've got an ambiguous statement interpreted wrong exactly once, and the cause was pretty obvious within a minute of looking at the error.
Re: Plink-plonk.js – hear webpages render with DOM observer and audio API
#20Earlier quoted context omitted.
Semicolons in JS is how you differentiate between someone who understands that code ambiguity leads to pain, vs someone who shouldn't be allowed near multi-line statements.
Please give a concrete example of this pain that you have actually experienced. I understand that ASI (automatic semi-colon insertion) is in theory ambiguous because you are relying on the compiler, or in some cases many different compilers, to execute the statement correctly. In practice, for over a decade, I have never run into such an issue. I suspect it's due to engineers trying to get too cute with their impleme…
if(foo)
doX()
doY()