fukurou
the supreme coder
★★★★★
- Joined
- Dec 17, 2021
- Posts
- 5,103
- Online time
- 20h 47m
java bitches when you try to override clone().
these idiots wants you to use super in the clone, and add a mother fucking throws. this is a relatively new flavor of shit.
it really is a surprise how their stock managed to soar recently with such progressive stages of enshitification.
these idiots wants you to use super in the clone, and add a mother fucking throws. this is a relatively new flavor of shit.
- Java’s clone() is tied to Object.clone() and demands implements Cloneable, which is a cursed legacy interface.
- It forces you to throws CloneNotSupportedException, even if you know damn well your class supports cloning.
- You’d have to call super.clone() which is brittle and breaks encapsulation if your class has deep structures.
it really is a surprise how their stock managed to soar recently with such progressive stages of enshitification.





