Rust is more like: unless you can mathematically prove to me that this is equivalent to a nut there is no ducking way I'll ever let you compiled this.
144 3 ReplyStackOverflow: Question closed as duplicate. Someone else already asked whether or not something is a nut.
126 1 ReplyJava: "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"120 1 ReplyC# should actually be "What Java said, except it's
ICrackable
".98 0 ReplyIn Java, it's not called the
Crackable
interface.It's the
Nuttable
interface.50 3 ReplyI am
static_cast
ing thenut_t*
. Pray I don'tstatic_cast
it any further.46 0 ReplyC can STRUCTurise classes tho
40 0 ReplyRuby: No, it has been redefined as the number 5 so buckle your seatbelts, kiddos, cuz shit's about to get wild!
38 0 Reply"What Java said."
Okay, that one made me chuckle.
29 0 ReplyAll those memes picturing C++ as unsafe and unstable yet the server that serves these memes is running mostly C/C++ and has an uptime of months.
35 10 ReplyExcel: 12th of Nutuary 1970
23 0 ReplyC++: Nuh, uh ...
template <typename T> concept Crackable = requires(T obj) { { obj.crack() }; }; auto crack(Crackable auto& nut) { nut.crack(); }
16 0 ReplyI just dabbled in javascript again, and that description is spot on!
console.log('javascript operators are b' + 'a' + + 'a' + 'a');
11 1 ReplyCe n'est pas une cacahuète
9 0 ReplyBut... It's a legume?!
5 0 ReplyWhatever the Tiger 2-XL was "programmed" in, it's the best.
4 0 Replywheres scala?
4 0 Reply