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.
And then still segfault
https://github.com/Speykious/cve-rs/blob/main/src/segfault.rs
IME Rust programs crash at about the same rate as other languages. โRewrite everything in Rustโ hasnโt made much of a difference for me, so far.
I just dabbled in javascript again, and that description is spot on!
console.log(โjavascript operators are bโ + โaโ + + โaโ + โaโ);
The only reason people use JS is because itโs the defacto language of browsers. As a language itโs dogshit filled with all kinds of unpleasant traps.
Here is a fun one I discovered the other day:
new Date('2022-10-9').toUTCString() === 'Sat, 08 Oct 2022 23:00:00 GMT'
new Date('2022-10-09').toUTCString() === 'Sun, 09 Oct 2022 00:00:00 GMT'
So padding a day of the month with a 0 or not changes the result by 1 hour. Every browser does the same so I assume this is a legacy thing. Itโs supposed to be padded but any sane language would throw an exception if it was malformed. Not JavaScript.
In Java, itโs not called the Crackable
interface.
Itโs the Nuttable
interface.
Provided your method specifies a strongly bound type you can ensure that you get your nut.
void dischargeNut(T extends Nut) { ... }
StackOverflow: Question closed as duplicate. Someone else already asked whether or not something is a nut.
C# should actually be โWhat Java said, except itโs ICrackable
โ.
No, actually C#'s answer should be: โWhat Java said - hold on, what Python said sounds good too, and C++'s stuff is pretty cool too - letโs go with all of the above.โ
C#, or as I like to call it โthe Borg of programming languagesโ.
I got my first software developer role last year and it was the first time Iโd written C#, I was more TypeScript. Now we use both but I must say I really like C# now that Iโm used to it.