News for hackers. Stuff that matters.
Re:Vanilla Prime: A simpler, more sustainable way of web dev... by baalimago on Tuesday August 27, 2024 @08:09AM (#41366655)
Suggestion: perhaps call it Vanilla++? With the list of tools many (including me) would argue that it's not really 'vanilla js', but rather 'frameworkless npm'.

In my very humble opinion, vanilla js is esmodules, html, fetch and good old plain css. Basically a no-node environment, static hosting and no transpilation.

Re:Vanilla Prime: A simpler, more sustainable way of web dev... by morrvs on Tuesday August 27, 2024 @08:50AM (#41366984)
I was pondering if "vanilla" should be part of the name as well. In the end I felt I got sufficiently close to the vanilla flavor you describe, and the name conveys the "as little as possible" approach. Hope it's not too misleading!

I do like the "plus" idea, now that you mention it! Will think about it :)

Re:Vanilla Prime: A simpler, more sustainable way of web dev... by Izkata on Tuesday August 27, 2024 @09:01AM (#41367051)
Vanilla JS has also been a long-time joke about how modern javascript has advanced far enough not to need libraries for a lot of stuff people still reach for: http://vanilla-js.com/

Goes back to 2012 unchanged (hence the selection of libraries compared against): https://web.archive.org/web/20120825232614/http://vanilla-js...

Edit to add: Having been around in that era, I see "Vanilla Prime" as a whole new framework, nothing vanilla about it.

Re:Vanilla Prime: A simpler, more sustainable way of web dev... by Bjartr on Tuesday August 27, 2024 @09:00AM (#41367044)
Maybe vanillin, the essence of vanilla, but not quite the same thing?
Re:Vanilla Prime: A simpler, more sustainable way of web dev... by meiraleal on Tuesday August 27, 2024 @09:13AM (#41367176)
Honestly, I think it is totally misleading. As misleading as calling cloud services serverless. Vanilla JS already have a well-established meaning
Re:Vanilla Prime: A simpler, more sustainable way of web dev... by gorjusborg on Tuesday August 27, 2024 @09:06AM (#41367096)
In mathematics, if f is a function, f' (pronounced eff prime) is a modified/different but related function.

I think the name already acknowledges it isn't quite vanilla.

Re:Vanilla Prime: A simpler, more sustainable way of web dev... by ofrzeta on Tuesday August 27, 2024 @10:49AM (#41368180)
Usually f'(x) denotes the differential of f(x), doesn't it?
Re:Vanilla Prime: A simpler, more sustainable way of web dev... by gorjusborg on Tuesday August 27, 2024 @12:54PM (#41369784)
Prime doesn't necessarily need to denote anything specific, but often means 'different, but related'. It is common to use prime notation to reflect a derivative function in calculus, but like most things it depends on context.
Re:Vanilla Prime: A simpler, more sustainable way of web dev... by mhuffman on Tuesday August 27, 2024 @03:17PM (#41371706)
It was Lagrange's notation, I believe. As opposed to Leibniz's notation which is the dy/dx notation that is all the rage now.
Re:Vanilla Prime: A simpler, more sustainable way of web dev... by morrvs on Tuesday August 27, 2024 @09:17AM (#41367211)
Now that's a cool accident... thanks for sharing :)