r/programming • u/joesilver70 • May 21 '20
Java programming language celebrates 25 years
https://www.infoworld.com/article/3544229/java-programming-language-celebrates-25-years.html
95
Upvotes
r/programming • u/joesilver70 • May 21 '20
1
u/DetriusXii May 22 '20
If Zig allows that, then you have higher kinded types. I'm not fully sure that zig's types are reified from the examples provided. Are you able to perform a cast of a function parameter into a generic type? C# allows that. Java does not. C# allows bool compare<Q>(object o) { return o instanceof Q; }