Forwarded from Programming sucks
Perhaps one of the worst misfeatures of C is the ease with which responsibility for problems can be shifted to the person who wrote the code. “Oh, you segfaulted? I guess you forgot to check for
Clearly, computers can’t be expected to do everything for us. But they can be expected to do quite a bit. Programming languages are built for humans, and they ought to eliminate the sorts of rote work humans are bad at whenever possible. A programmer is already busy thinking about the actual problem they want to solve; it’s no surprise that they’ll sometimes forget some tedious detail the language forces them to worry about.
(с) https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
NULL
.” If only I had a computer to take care of such tedium for me!Clearly, computers can’t be expected to do everything for us. But they can be expected to do quite a bit. Programming languages are built for humans, and they ought to eliminate the sorts of rote work humans are bad at whenever possible. A programmer is already busy thinking about the actual problem they want to solve; it’s no surprise that they’ll sometimes forget some tedious detail the language forces them to worry about.
(с) https://eev.ee/blog/2016/12/01/lets-stop-copying-c/
eev.ee
Let’s stop copying C
Ah, C. The best lingua franca we have… because we have no other lingua francas. Linguae franca. Surgeons general? C is fairly old — 44 years, now! — and comes from a time when there were possibly more architectures than programming languages. It works well…
#prog #python #article
Как слоты в Python — сугубо техническая вещь — мешает сегодняшнему языку и усложняет его, сдерживая развитие.
lucumr.pocoo.org/2014/8/16/the-python-i-would-like-to-see/
Как слоты в Python — сугубо техническая вещь — мешает сегодняшнему языку и усложняет его, сдерживая развитие.
lucumr.pocoo.org/2014/8/16/the-python-i-would-like-to-see/
lucumr.pocoo.org
The Python I Would Like To See
What I would imagine an better Python would look like.
Forwarded from Generative Anton
Я не эволюционный биолог, НО тут есть статья про СДВГ (синдром деффицита внимания и гиперактивности) и его эволюцию с палеолита. И в общем оказалось, что в палеолите СДВГ (или его предшественник?) было положительным критерием отбора. Более безумный - лучше выживал (реагировал на угрозы вероятно). Наука збс.
Цитата друга: если ебанутый, то можно просто говорить, что адаптировался к этому миру.
Я адаптировался, а вы?
Цитата друга: если ебанутый, то можно просто говорить, что адаптировался к этому миру.
Я адаптировался, а вы?
Nature
Genomic analysis of the natural history of attention-deficit/hyperactivity disorder using Neanderthal and ancient Homo sapiens…
Scientific Reports - Genomic analysis of the natural history of attention-deficit/hyperactivity disorder using Neanderthal and ancient Homo sapiens samples
#prog #rust
https://github.com/rust-lang/rust/pull/72437#issuecomment-650814084
const_if_match
стабилизировали! 🎉https://github.com/rust-lang/rust/pull/72437#issuecomment-650814084
GitHub
Stabilize `#![feature(const_if_match)]` and `#![feature(const_loop)]` by ecstatic-morse · Pull Request #72437 · rust-lang/rust
Quoting from the stabilization report:
if and match expressions as well as the short-circuiting logic operators && and || will become legal in all const contexts. A const context i...
if and match expressions as well as the short-circuiting logic operators && and || will become legal in all const contexts. A const context i...
Блог*
#prog Вы будете смеяться, но... Да, вы правильно догадались. leetcode.com/discuss/general-discussion/655704/leetcode-polo-shirt-june-leetcoding-challenge
#prog
Очередной. Июльский.
https://leetcode.com/discuss/general-discussion/655704/leetcode-polo-shirt-july-leetcoding-challenge
Очередной. Июльский.
https://leetcode.com/discuss/general-discussion/655704/leetcode-polo-shirt-july-leetcoding-challenge
Leetcode
🏅November LeetCoding Challenge. New feature and rewards! 🏅 - LeetCode Discuss
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.