News for hackers. Stuff that matters.
Re:Why Lisp? by rmbyrro on Friday November 12, 2021 @05:11PM (#29205141)
Out of curiosity: would the 1995 JS code pass any modern code review?
Re:Why Lisp? by mr_toad on Friday November 12, 2021 @07:52PM (#29206306)
I’d imagine it would get pinged for using var instead of let or const. And depending on who’s doing the review they might not like ‘new’.
Re:Why Lisp? by FpUser on Friday November 12, 2021 @08:25PM (#29206465)
>"I’d imagine it would get pinged for using var instead of let or const."

This single thing in isolation should never cast code as good or bad.

Re:Why Lisp? by casion on Friday November 12, 2021 @05:17PM (#29205195)
JS from 2003 passed code review for me a few months ago... so, yes... maybe.
Re:Why Lisp? by np_tedious on Friday November 12, 2021 @06:55PM (#29205931)
Probably depends what it's doing. If it's interacting with HTML and manipulating the DOM then probably not
Re:Why Lisp? by helsontaveras18 on Friday November 12, 2021 @08:49PM (#29206589)
How do modern frameworks display content? Must be interacting with HTML and manipulating the DOM in some way.
Re:Why Lisp? by lostcolony on Friday November 12, 2021 @11:37PM (#29207411)
It's not whether they do, it's how they do.

For instance, in 2003 there was no such thing as a mobile phone; passing code review today is probably going to entail either being responsive, or directing to a mobile version when accessed from a mobile device.

Re:Why Lisp? by kgwgk on Saturday November 13, 2021 @04:45AM (#29208667)
Re:Why Lisp? by lostcolony on Saturday November 13, 2021 @01:48PM (#29212179)
Okay, I will clarify my hyperbole in the face of the pedantic - mobile phones did not provide ubiquitous, standardized approaches to browsing the web, such that UX guidelines for the web did not include them; media queries and such did not exist except as drafts, etc etc.