Comment on Anon tries programming in Java
pivot_root@lemmy.world 5 weeks agoI haven’t kept up with recent Java developments, but with Go, you’re out of luck. Interface implementations are—for both better and worse—completely implicit.
Comment on Anon tries programming in Java
pivot_root@lemmy.world 5 weeks agoI haven’t kept up with recent Java developments, but with Go, you’re out of luck. Interface implementations are—for both better and worse—completely implicit.
Amir@lemmy.ml 5 weeks ago
He mentioned C#, which does let you explicitly choose to implement same-name functions of two interfaces with different code
pivot_root@lemmy.world 5 weeks ago
For some reason, my brain inserted a “like” before “C#”, and answered the question of “can’t you use explicit interfaces like C#.”