Newsgroup: tilde.javascript

Back to Article List


Warning: Undefined array key 1 in /home/deepend/public_html/netnews/view_article.php on line 26

From: ant <ant@tilde.club>

Subject: Re: Cool javascript stuff

Date: Fri, 19 Dec 2025 01:59:34 +0300

References: <s6t4aj$3ghpr$8@tilde.club>

Mhj:

>As a gemini user I'm pretty much against javascript,  but I'd
>still like to know what stuff people have made...  

The coolest thing I have written in JS is a hierarchical stack-
based state machine I needed to keep my sanity and stay clear of
those crazy nested callback clusures.   I wanted more procedural-
like code,  and I didn't want no promises,  either.   I can't share
that code because it was part of a production system developed
by my emploer.  

Another hotter (less cool) thing of mine is a function to parse
float numbers I shared on SO:

        

As you can see,  it is striclty procedural code.   I have not
programmed in JS for years,  and hope I'll never to have to
again...