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

Not crazy at all! I wrote this post with the main intention to show that you can do this in Go, and it might make sense to do this somewhere. I don't mean to advocate this as the 'default way' of programming.

Somewhere in the post I also hinted that there are other solutions, but I wanted to keep the post concise and chose currying as the topic.

Clever programming is about readable and maintainable code, in Go that might mean that (usually) currying is a bad idea. :)



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

Search: