3 ms·
the reason I use JS is def not flexibility, it's to enhance the usability and interactivity of my app. even for my Python and Go web apps, I still inline JS to
by seanvelasco 2y ago
the reason I use JS is def not flexibility, it's to enhance the usability and interactivity of my app. even for my Python and Go web apps, I still inline JS to achieve the functionality I want. examples: client-side routing, pin the scroll to bottom, mutating classList, etc
- salomonk_mur 2y agoYeah, that ability to improve usability beyond the basics is what he means by flexibility I think. I agree with that sentiment. I can now build decent, working websites in something like Streamlit without touching JS (even if JS is being generated behind the scenes).
- oDot 2y agoGleam compiles to JavaScript, so JS is not needed for that extra frotnend flare. The flexibility to sprinkle some code here in there is definitely unique to JS