Comment on Anon tries programming in Java
pivot_root@lemmy.world 4 days 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 4 days 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 3 days 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 3 days ago
For some reason, my brain inserted a “like” before “C#”, and answered the question of “can’t you use explicit interfaces like C#.”