Language Environments

Created Tuesday 27 May 2025


Some things to consider:


How it USUALLY works
Other ways it CAN work
(and how weird that is)



Bash - USUAL


In a terminal as a REPL
In a terminal as a SCRIPT
Evoked as a SCRIPT


that's pretty much it


Bash - OTHERS





PHP - USUAL


As a part of a WEB SERVER setup
PHP is invoked INSIDE OF HTML
and run WHEN YOU HIT THE WEBPAGE


PHP - USUAL


Thus for development you can
just upload to the real server and hit reload


PHP - OTHERS


OR — run a local server and then deploy
OR use an online IDE (eww, but fine)


ALSO, Does have a REPL, but thats weird


Javascript


client side,
As part of a WEB PAGE
Run BY THE BROWSER


So you can just open a browser and run it
(though macs are weird about this)


Javascript

Also exists server side
So can do e.g. a REPL with node.js


Javascript


Also, since it's literally the most popular language;
People are doing all sorts of weird things :)



Python


Because its a GENERAL PURPOSE language,
Setup is similar to bash.
REPL or Save and Run, typically