I love when you copy some array/object literal between two programming languages and it turns out the syntax is identical so you don't have to make any adjustments.
-
I love when you copy some array/object literal between two programming languages and it turns out the syntax is identical so you don't have to make any adjustments.
it's like the programming equivalent of forgetting the spanish word for "bank" and just guessing "bank-o", and being right (well, banco, but it works the same if you're a lost tourist trying to find an ATM)
-
I turned these lines of code defining a codeset translation lookup table from typescript to python merely by copying it out of a .ts file and putting it in a .py file!
-
which is really weird when you think about it.
Those are two very different language, even down to the most basic of syntax: what does indentation mean? -
@foone "accidental polyglots"
-
@nuxi exactly!
Copyright © 2024 NodeBB | Contributors