News for hackers. Stuff that matters.
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by abirch on Thursday May 25, 2023 @06:04AM (#36068835)
Wait people write JavaScript without drinking bourbon?
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by usrbinbash on Thursday May 25, 2023 @06:38AM (#36069036)
My goto JS drink is Absinthe.
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by jcpst on Thursday May 25, 2023 @12:58PM (#36073157)
Please create a PR for my library goto-drink.js which uses labels for each libation so you can continue or break your drink.
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by mikeryan on Thursday May 25, 2023 @01:05PM (#36073249)
You writing your front ends in Elm then?
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by egeozcan on Thursday May 25, 2023 @06:09AM (#36068862)
I've been managing that since more than a decade. Having neither jQuery nor bourbon was a challenge at first but browser APIs evolved and I fell in love with green tea.
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by tipiirai on Thursday May 25, 2023 @06:30AM (#36068982)
I prefer Scotch
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by Onewildgamer on Thursday May 25, 2023 @10:46AM (#36071386)
No thanks, I get high with Javascript alone and a hangover so bad that lasts the entire weekend.
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by WorldMaker on Thursday May 25, 2023 @02:02PM (#36073945)
The relationship between Bourbon (spirit), primarily distilled and aged in Kentucky, and Bourbon (vanilla plant), primarily grown in Madagascar is one of fascinating cross-convergence of "things rich French speakers loved", plus the coincident accident of Bourbon, Kentucky being a shipping port (and Oak as an aging vessel high in imparting vanillins). Both are a reminder that vanilla as a flavor was long a spice for (and named after) kings and to be enjoyed mostly by the rich. It is still hilarious to see things like "vanilla JS" meant to imply "boring" or "cheap" when historically that's very inaccurate.

Also, yes, bourbon (spirit) is a good accompaniment to late nights in JavaScript.

Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by elgenie on Thursday May 25, 2023 @05:03PM (#36076207)
The etymology is legit and comes from ice cream, for which vanilla is considered the default or “plain” flavoring.

https://en.wikipedia.org/wiki/Plain_vanilla

Vanilla historically being fancy but then becoming an attainable and cheap additive is probably somewhat responsible for it becoming the default ice cream flavor, and thus flipping the idiomatic meaning.

Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by WorldMaker on Thursday May 25, 2023 @07:36PM (#36077853)
Though note it was primarily the invention of artificial vanilla substitutes that made vanilla seem cheap/attainable. (Real Bourbon vanilla from Madagascar, for instance, is still far more expensive than most people realize.) There may even be a larger useful metaphor there, too, that "plain" vanilla is most often "fake vanilla".
Re:VanJS (Vanilla JavaScript): smallest reactive UI framework by schwartzworld on Friday May 26, 2023 @12:20PM (#36086155)
Lots of dessert / ice cream recipes use vanilla as an ingredient regardless of what the final flavor is meant to be. This also leads to the vanilla === plain misconception, imo.