News for hackers. Stuff that matters.
Re:3.5 Years, 500k Lines of Go by CJefferson on Friday March 24, 2017 @12:34PM (#13950112)
I honestly don't understand the difference with ' a := add(b,c) '. Does it really make things that much difference? And lack of overloading makes maths heavy code horrible to read.

Of course, you can go to the C extreme, no overloading, specialisation or anything, every function name means one thing. That does add some nice features, but is a pain in the ass when naming things!

Re:3.5 Years, 500k Lines of Go by slrz on Friday March 24, 2017 @02:38PM (#13951141)
The difference is more apparent in the other (non-overloaded) case. When in Go (or C, …) you see an expression "x << y" you know immediately that this is just a shift operation, mapping to at most a couple machine instructions. In certain other languages it's most likely an integer shift, too. Still, you have to carefully consider the context lest this simple shift expression causes synchronous I/O to some space probe near Mars