Вот как, по мнению российских законодателей, работает пропаганда сексуальной ориентации:
Forwarded from Why Typescript is bad (Anton)
#prog #rust #rustlib
syntactic-for — a syntactic "for" loop Rust macro.
Take the sum of the bit-length of four integer types:
syntactic-for — a syntactic "for" loop Rust macro.
Take the sum of the bit-length of four integer types:
let sum = syntactic_for!{ ty in [ u8, u16, u32, u64 ] {Implement a trait for a set of types:
[$( <$ty>::BITS ),*].into_iter().sum::<u32>()
}};
assert_eq!(sum, 120);
syntactic_for!{ ty in [ u8, u16, u32, u64, u128 ] {$(В README есть больше примеров, где такой макрос может пригодиться.
impl MyTrait for $ty {
// snip.
}
)*}}
👍15🤯2
#prog #article
What if two programs did this?
Или о принципе, который позволяет отвергнуть добавление определённых фич в программную систему.
What if two programs did this?
Или о принципе, который позволяет отвергнуть добавление определённых фич в программную систему.
Microsoft News
What if two programs did this?
Another thought experiment when thinking through a feature.
👍1
Forwarded from Таксики и лытдыбр σποραδικος
YouTube
Andre Rieu and Johann Strauss Orchestra - Feuerfest 1996 !!! Polka Francaise - op 269. J. Strauss
Old TV recording of André Rieu and the Johann Strauss Orchestra during a television broadcast in 1996 on Dutch TV !!!
Feuerfest! ('Fireproof!') op. 269 is a polka-française composed by Josef Strauss in 1869.
----------------------------------------------…
Feuerfest! ('Fireproof!') op. 269 is a polka-française composed by Josef Strauss in 1869.
----------------------------------------------…