3 ms·
Python's syntax and idiom is more esoteric. While JavaScript does have some nits, it conforms more to C-style idiom (PHP, Java, C#, C++) and so those basic visu
by debacle 15y ago
Python's syntax and idiom is more esoteric. While JavaScript does have some nits, it conforms more to C-style idiom (PHP, Java, C#, C++) and so those basic visual parsing skills will be more transferable. The C# syntax will be more immediately familiar to someone who knows only JavaScript than someone who knows only Python.
- quink 15y ago> Python's syntax and idiom is more esoteric. I know, but sometimes 'esoteric' is better for beginning programmers. Compare the lesson on ternary operators: some(blah) if 'a' in blah else blah (blah.indexOf('a') != -1) ? some(blah) : blah;