You must log in or # to comment.
C can STRUCTurise classes tho
“What Java said.”
Okay, that one made me chuckle.
Java: “Sorry, but the developers of
Peanut
didn’t declare it to implement theCrackable
interface, even though it has all the relevant methods, so if you want to treat it like a nut your choices are write a wrapper class or call those methods using Reflections”Swift’s extensions system has spoiled me, and I feel the pain of this whenever I have to write Java
You should take a look at kotlin, pretty similar to swift and fully interoperable with java.
I am
static_cast
ing thenut_t*
. Pray I don’tstatic_cast
it any further.reinterpret_cast<int*>(&a_nut)
I like to live dangerously.
wheres scala?
It’s incompatible with the version of this meme