Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


These 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: