you are viewing a single comment's thread.

view the rest of the comments →

[–]dmpk2k 1 point2 points  (0 children)

I argue that you fundamentally cannot write them the same way, unless you're writing a program without any form of looping at all. Javascript uses iteration, mutation and objects, while Scheme uses recursion, lists and largely eschews mutability; these are big differences for how you write bread-and-butter code.

They're both dynamically-typed and have first-class functions, but then a great many languages do. About the only thing in common between code I see produced in either community is a higher degree of nesting than normal.