Guys what do you say about generics/templates vs interfaces
Other than "they're orthogonal"?
@denisgrebennicov Can you refine your question by providing some context?
@seancorfield the question is more directed to which of one should be preferred to be used. When should one use templates/generics and when interfaces
templates & generics solve copy + paste problems. Interfaces solve “everyone must implement the same API” problems
for anyone interested, I’m going to be trying to do Advent of Code in both CLJ and Rust: https://github.com/Lokeh/advent-2018/tree/master/day1
I now also set the JavaRx up to properly test with jmh, warming up the JVM and such.
Nice, I try rust and RxJava, you might want to give https://github.com/gobanos/cargo-aoc a try for rust, makes it really easy to focus on the solution. Didn't found the cycle input, gonna check if it will perform better.
Very cool. I think I'll stick with just using plain cargo for now; I'm using this to learn how to use and setup cargo as much as for learning the language
I'm sure at some point between now and the 25th I'll get sick of it and use the fancy plugin:stuck_out_tongue_winking_eye: