@suetanvil@freeradical.zone titelbild
@suetanvil@freeradical.zone avatar

suetanvil

@suetanvil@freeradical.zone

Lover, dreamer, codewarriorpoet.

Joined 2017.

White, cishet, able-bodied male (aka Easy Mode).

Tech nerd (NOT tech bro) about as old as Unix. I like reading about and making cool (non-capitalistic) things with computers.

Canadian, leftish politics, opposed to all forms of bigotry (e.g. BLM, trans rights, your gender is valid).

Christian (spiritually, not politically) but rarely discussed here; I CW religion.

This account is a public place; I usually don't get very personal here.

#nobot

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

foone , an Random Englisch
@foone@digipres.club avatar

the world needs more recreational programming.
like, was this the most optimal or elegant way to code this?

no, but it was the most fun to write.

suetanvil ,
@suetanvil@freeradical.zone avatar

@foone

...happy little binary trees...

foone , an Random Englisch
@foone@digipres.club avatar

There's an alternate universe where Netscape Navigator embedded Lua instead of inventing js, and I'm not sure if that's a better world or not.

suetanvil ,
@suetanvil@freeradical.zone avatar

@foone

Having spent far too much of my life overthinking this, I will now share:

  1. Lua hadn't really made it to North America by 1995; the go-to extension language at the time was Tcl or a Lisp dialect. (Perl was an option but not really suited to embedding, and Python was this new thing nobody used.)

  2. Java was THE HYPE in 1994; JS has its syntax because management wanted that similarity.

So the obvious design for JS is OOP Lisp with C syntax. And that's what we got, only bad.

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine