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

Less verbose than Python -- interesting (not that Python is "verbose"!). I've always heard Go was almost as concise as Python, but not quite. Can you give a couple of multi-line Go code examples that are more concise than the equivalent Python?


I found the ability to define a method on a slice/array to be less verbose than the equivalent inherit/delegation setup in Ruby, though I can't speak for Python. http://nathany.com/good

I can't imagine a more concise syntax for automatic delegation than Go's embedding.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: