Doing a twist on the meme that's going around:
One favorite on this post = one hot (or at least lukewarm) take on tech.
Doing a twist on the meme that's going around:
One favorite on this post = one hot (or at least lukewarm) take on tech.
Instead of doing "Agile", read Fred Brooks and implement his recommendations for how to build software and manage software projects.
His advice is concrete, actionable, and correct, and "Agile" misses on at least two of those adjectives.
@jawnsy The issue is that async/await approaches are always dismissed with "now you have a function coloring problem!" and/or a link to the post.
In other words, regardless of authorial intent, other people use the post as a way to argue: "if you do async/await, you have a problem; if you do threads -- whether they're "real" threads or green/virtual/etc. -- you don't have the problem; therefore you shouldn't do async/await and you should do threads".
But when you do threads you most certainly DO have problems. You have monstrously difficult problems that people go and invent things like Rust to try to solve.
The actual trade-off of async/await is that, yes, you have two "colors" of functions with, generally, different calling conventions, but in return for that all the functions in your codebase, and all the places in those functions, which might suspend and resume execution are syntactically marked, making it easy to find them and easier -- compared to any form of threading -- to reason about program execution.