That's probably true today, but we are aiming to get to a spot where you could choose to use Gosu alongside Java, rather than replace it wholesale. Gosu does have some features that make it very nice in some contexts when contrasted with Java.
A very simple, but amazingly useful example is properties, which have the useful behavior of being both l-values and r-values. Easy to implement, but Java doesn't have them.
Another useful differentiator are feature references:
var methodRef = someInstance#someMethod()
which have all sorts of interesting applications as a sort of type-safe reflection syntax.
A very simple, but amazingly useful example is properties, which have the useful behavior of being both l-values and r-values. Easy to implement, but Java doesn't have them.
Another useful differentiator are feature references:
which have all sorts of interesting applications as a sort of type-safe reflection syntax.And so on.