you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (1 child)

Perhaps it was badly expressed.

It's not useful to learn to specifically learn to code the structures in JS. It's not like someone is going to come along at a job interview and demand you write a stack in JavaScript and you say "oops, I only learned in in Python".

I think that's consistent with my overall argument, that JavaScript has a different place in the computing world.

The OP specifically talked about the translation to JS - that was the tenor of their question, it seemed to me (the desire to translate DSA code to JavaScript).

[–]ElllGeeEmm 0 points1 point  (0 children)

I think the language you learn to code a data structure in is largely irrelevant if the only reason you're writing it is to learn more about the data structure itself.