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

Go is too verbose for my taste. Nim can be pretty concise while staying readable. One feature I love in Nim and miss most when using other languages is templates - it reduces a lot of boilerplate.

Also, type system is very nice, probably one of the best amongst non-functional programming languages. Overloading, generics, type inference, distinct type aliases, first-class functions, subranges, etc. etc.

I've seen Go have praise over not supporting OOP. Nim got some of it too =D. No classes, only structs and functions. In fact every operator is a function and you can overload them for custom types. OOP is still possible, but it's harder to make inheritance monster with factory factory factories.

Nim gives you power, just remember that with power comes responsibility.

This is my pitch for Nim language.



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

Search: