> Nodejs worked because it was like this from day 1 but java isn’t.
And even there "worked" is a very liberal definition. Callbacks, promises and whatever else you can find will imho never be as intuitive as threads.
And even there "worked" is a very liberal definition. Callbacks, promises and whatever else you can find will imho never be as intuitive as threads.
and then almost immediately went in 5 different directions around how to program around it.. callback hell, async/await, generators, promises etc..