Well, I was reading this guide to the FAIL assembly language, and found this:
Acknowledgements
The original version of FAIL and the original manual (SAILON-26) were written by Phil Petit in 1976. Various additions and modifications were subsequently contributed by William Weiher, Fred Wright, Ralph Gorin, and others. This manual was prepared using PUB, the document compiler created by Larry Tesler, using the Xerox Graphics Printer, with fonts by Brian Harvey. Brain McCune and Les Earnest reviewed the manuscript and made helpful suggestions. Cover picture: United Press International.
I'm being taught Python by an old guy that looks identical to Gabe Newell (founder of Valve and Steam), and I thought of you when I met him. (it's also really convenient that javascript's and python's array system are exactly the same)
No, they're not. Python allows negative numbers to wrap around to the end of the list, but javadcript doesn't allow it. Not to mention, javascript arrays are implemented very very differently, in fact, you can tell if an array is an array (with isinstance([], list)), but javascript says it's an object (unless you use the Array.isArray([]) method).
Okay, okay. Sorry. What I meant was, doing print(foo[0]) in Python and console.log(foo[0]) in Javascript would both return bar to the console, assuming the first (zeroth?) item in foo was bar in both arrays.
Python and JavaScript's array system are nothing alike. They just share square bracket notation (x[y]), which is used pretty universally amongst C-style languages for indexing arrays and other data structures.
Edit:
I wouldn't consider Python a C-style language, but they share square bracket notation all the same.
Edit again:
How did we get so offtopic from fonts in a 1960/70s assembler manual?
nooo I just meant the way to index them is similar :c
i barely know anything about python besides how to define functions and the like, but that was something other than print() and defining variables I was able to do on my own