assert_eq!(
Some(unsafe { std::num::NonZeroUsize::new_unchecked(0) }),
None
);
🤯11❤3💩1
мне не нравится реальность
IF LET CHAINS ARE STABILIZED IN RUST 1.64 rust-lang/rust/pull/94927#event-7007028976 > 2 years, 4 months, 3 weeks and 1 day of long nights, obstacles and headaches. > Hope stabilization won't be reverted but regardless, thanks to everyone who helped make…
GitHub
Revert let_chains stabilization by Noratrieb · Pull Request #100538 · rust-lang/rust
This reverts commit 3266460.
It was discovered in #100513 that they are not implemented correctly, which does not make them ready for stabilization.
The merge in the let parsing had a few conflicts...
It was discovered in #100513 that they are not implemented correctly, which does not make them ready for stabilization.
The merge in the let parsing had a few conflicts...
😢6
> называет себя анимешником
> не может вспомнить, когда в последний раз смотрел анимэ
> не может вспомнить, когда в последний раз смотрел анимэ
🔥3
💩3🤯2😢2
#prog #article
Soft Deletion Probably Isn't Worth It (Мягкое удаление чаще всего не нужно)
В комментариях к переводу, впрочем, навалили критики.
Soft Deletion Probably Isn't Worth It (Мягкое удаление чаще всего не нужно)
В комментариях к переводу, впрочем, навалили критики.
brandur.org
Soft Deletion Probably Isn't Worth It
The traditional soft deletion pattern using <code>deleted_at</code> columns leaks into code, curbs the usefulness of foreign keys, and makes data removal difficult. Luckily, there’s an alternative.