5 ms·
> what legacy code? The Java API has its fair deal of baggage due to its extreme backward compatibility. Boolean.getBoolean[1] is one of the more accessible ex
by marginalia_nu 1y ago
> what legacy code?
The Java API has its fair deal of baggage due to its extreme backward compatibility. Boolean.getBoolean[1] is one of the more accessible examples of a bad API that exists only because of legacy reasons, but there quite a number of them.
[1] https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean.html#getBoolean-java.lang.String- https://docs.oracle.com/javase/8/docs/api/java/lang/Boolean....
- exabrial 1y agoOw.