Hacker News new | ask | show | jobs
by unwind 1508 days ago
> ‘Deno’ (like ‘Node’ but backwards)

Yeah, no.

I wonder if more people just assume that to be true, heh. I kind of was expecting it, weirdly enough.

Hint: "node" is "edon" backwards. Not sure if that name is taken for something Javascripty ... * goes to check * yeah, I found [1] which seems to be 4 years old, tagline "Run browser JS in the terminal".

[1] https://github.com/dbkaplun/edon

3 comments

"node".split("").sort.join("")
This is the correct official answer except you didn't invoke sort

"node".split("").sort().join("")

I write a lot of ruby, I guess...
wat
Sorting the letters by alphabetical order in "node" by converting each letter to its own string in an array. Slick JavaScript, basically.
yeah but you need to call sort as a function
OP code would throw an exception. ^^
Deno is No|de swapped. So no, not backwards. But... how would one call it?
French has a word for this: https://en.wikipedia.org/wiki/Verlan

Verlan is itself verlan of l’envers (backwards). It’s super common to make slang words this way.

TIL that Stromae (the name of a Belgian musician) is Maestro in verlan.
It's also backwards, but by two character groups, or if you prefer, consonant-vowel groups.
little-endian
Maybe "scrambled".
Rotated
Deno, an anagram of node
Backwards (in Japanese)
Shifted
Transposed
Deno is Node on a middle-endian architecture (see: the NUXI problem).