“Python for everybody” from Dr. Chuck. Has accompanying video lectures. Website PY4E.com
“Python for everybody” from Dr. Chuck. Has accompanying video lectures. Website PY4E.com
I am quite cheeky for saying this but:
How is it leaky if the default paradigm of any sequential program is the expectation that it will block? If i write blocking socket code I know my thread is blocked until read() returns.
If i am writing async socket code I know to wait for poll or whatever it is that is the correct way to wait nowadays. My design would reflect that. The blocking is just moved to another thread effectively and this abstraction is packaged as a Future.
Asynchronous code does not require the rest of your code to be asynchronous. I can’t say the same for blocking code.
Well this is just stating a tautology isn’t it?
Edit:
It would be a Hurculean effort, and I don’t think it’s a sustainable approach. If you’re writing a higher level library, it would be a lot to ask to check if your dependency’s dependency’s dependency maybe reads from a socket.
I guess I understand what’s the argument here.
The author wants a safeguard against libraries that are blocking with compiler checks. I agree it is a nice thing to have. But they could have mentioned that without saying “blocking code is leaky abstraction”.
A very bad one if it requires switching off a large portion of your brain to find it funny.
It’s the most reachable thing. Markdown feels like a toy for many (not me) and people outside of academia look at you kinkily if you suggest latex and bibtex.
Being good has nothing to do with having to maintain your company’s code base that’s in Oracle’s Java SE 1.6.
You can’t just design your way out of a conflict whose solution is to change either the existing system architecture or change Java versions,
both suggestions will get you laughed out of the room.
It takes time to implement features. Execs and managers don’t want to implement the wheel and developer time costs a lot more money than security vulns.
That’s when AI crashes because the secret cabal of middle management will direct their brainwashed execs to divest. /s
That makes you even more wrong as 20k USD is quite expensive.
The caching is kind of mandatory as the sub-problems interact.
Website: “915 days in a year”, you: “they are well paid and good at their job”. Anyone seeing your comment: 🤨
Yeah sure, better than pulling 1000Gb of node_modules…
Math people don’t have time to delve into modular code with the right amount of encapsulation/abstractions. Their money making is via testing hypotheses by constructing models and experiments.
If you want good code look at people making money writing code.
They probably wanted Streisand effect to take hold and screw this asshole Rajat Khare.
Indian courts are fellating the current govt. hard so complying with their orders is akin to giving their govt. a free pass to suppress dissent and arrest civilians under their notorious UAPA. They use their “enforcement directorate”(shortened to ED) as whips to keep people in line. ED and courts are the lapdog of their government.
Don’t you dare sully these greats by comparing yourself to them