3 ms·
Not really. Proc vs def, let and var keywords, Pascal style ranges and arrays, etc... I found C# is closer to Nim when it comes to translating code than Pytho
by Mikeb85 5y ago
Not really. Proc vs def, let and var keywords, Pascal style ranges and arrays, etc... I found C# is closer to Nim when it comes to translating code than Python is. The semantics are pretty different, especially since it seems everyone uses numpy in Python for any sort of array maths.
- goodpoint 5y agoThese are two different languages: it's only normal that syntax will be different. Yet Python is a dynamically typed language and translating it into many statically typed languages requires and almost complete rewrite. Translating it to Nim is surprisingly easy in comparison.