DEV Community

Discussion on: 32 Lines of Code

Collapse
 
jonrandy profile image
Jon Randy 🎖️

Should really be restricted to a number of characters/bytes rather than a number of lines, since a line can be as long as you like. Also, allowing the addition of Vue or Bootstrap (or any other library) is adding hundreds if not thousands of lines, making the 32 line restriction meaningless.

Check this out - 1K of JS - js1k.com/2018-coins/demo/3185

(making of - romancortes.com/v2/nefertiti-1kb.html)

Also this game - also 1K of JS - js1k.com/2017-magic/demo/2846

(Github repo here - github.com/veu/js1k-2017)

Collapse
 
jvarness profile image
Jake Varness

Pulling in Vue and Bootstrap for something this simple is overkill for sure. I'm just glad I was able to take my first dive into Vue since there's been so much hype around it!