News for hackers. Stuff that matters.
Re:How We Built Uber’s Highest Query per Second Service Usin... by cyphar on Wednesday March 02, 2016 @01:39AM (#11208443)
What do you actually need generics for that you can't do with interfaces? Not to mention that compile-time generics (read: generating code for each type) make testing with mock types much, much harder.
Re:How We Built Uber’s Highest Query per Second Service Usin... by azth on Wednesday March 02, 2016 @03:24AM (#11208719)
Type safety and performance.

Also, how does it make testing harder?

Re:How We Built Uber’s Highest Query per Second Service Usin... by merb on Wednesday March 02, 2016 @08:20AM (#11209713)
Not everything could be type safe with generics.

You can't typecheck the generic itself. Especially conversions could be really hard with them.

(I love generics, still this somewhat aweful). Currently Converting Generics between Scala and Java is totally Ugly.

Re:How We Built Uber’s Highest Query per Second Service Usin... by azth on Wednesday March 02, 2016 @03:23PM (#11212714)
Could you provide an example? I'd be interested to know more.