New FCC Article: How to Use Closures in Go
My new article as a freeCodeCamp News author just got published!
The edge cases of software engineering.
My new article as a freeCodeCamp News author just got published!
When most developers think of JavaScript, the word single-threaded often comes to mind. But modern JS runtimes are far more sophisticated than the old 'one thread, one call stack' stereotype. From the event loop and async/await to Web Workers, async iterators, and SharedArrayBuffers, today's JavaScript offers a rich (although muddled) concurrency landscape: one that spans browsers, Node.js / Bun / Deno, and edge environments.
Ffetch v4.1.0 is out. No breaking changes, but major improvements and revamped docs.
The original chaos-proxy was developed in Node.js, primarily to support testing of TypeScript and JavaScript applications. Node's event-driven model and npm ecosystem made it a natural fit for rapid development and for supporting custom middleware written in JS/TS - features that are especially valuable for frontend and full-stack teams.
Testing is a tricky business. Testing full stack apps is even trickier. You have to deal with frontend, backend, database, network, and more. First, of course, you unit test your components, functions, and modules in isolation. Then you write integration tests to ensure they play nicely together. You might even add a few end-to-end tests for the entire application to simulate real user interactions.