3 ms·
This isn't too bad - usually these articles include a laundry list of features to make language X into Java: exceptions, Java-like standard library so you nomin
by bediger4000 5y ago
This isn't too bad - usually these articles include a laundry list of features to make language X into Java: exceptions, Java-like standard library so you nominally only have to do "business logic", traits, Java-style generics. You know, like PHP is doing to itself. But this article advocates for a more moderate, Go-philosophy-consistent set of changes. Except for the "range should generate references" one - "range" pre-generates values so that there's some thread-safety when looping, other choices mean a C++ style abbatoir when it comes to iteration.
- geoah 5y agoAgreed, and I can see that the template stuff could just be part of a new package. Don’t think we need to wait for go2. html/templates/v2 maybe? I’d really love to see the deterministic select though be part of go2, and something that might not be popular, enums.