3 ms·
A static method is basically a “standalone” function with a namespace only. You can static import it and do whatever you want. Java is a multi-paradigm languag
by kaba0 4y ago
A static method is basically a “standalone” function with a namespace only. You can static import it and do whatever you want.
Java is a multi-paradigm language, and is absolutely on a different level of expressivity compared to Go.
EDIT: Java is really not what people remember from 20 years ago. You can write as functional code as you wish stopping just before Monads. It’s type system is also a different league than Go’s. So it has OOP, imperative and FP.