- 10 Posts
- 8 Comments
Aijan@programming.devOPto
Programming@programming.dev•Testing Side Effects Without the Side Effects
1·3 months agoIntegration tests against a real database can and should still be performed. The idea here is the ability to test business logic in isolation without using mocks. Effect systems also have other benefits. You basically get cross-cutting concerns like logging and profiling for free. Every single database call, API request, and file read in your entire application can be easily logged and profiled.
Aijan@programming.devOPto
Programming@programming.dev•Testing Side Effects Without the Side Effects
1·3 months agoYou can still test the functions individually or run the entire flow against a test database, but without an effect system like this, it’s very hard to test business logic in isolation.
Aijan@programming.devOPto
Programming@programming.dev•Managing Side Effects: A JavaScript Effect System in 30 Lines or Less
1·3 months agoI’ve added JSDoc type annotations to the library.
Aijan@programming.devOPto
Programming@programming.dev•Managing Side Effects: A JavaScript Effect System in 30 Lines or Less
21·3 months agoAuthor here. In my experience, AI coding tools like Claude Code can write code in the Effect system style, and that could be a great starting point for getting developers not familiar with this approach on board.
I considered adding JSDoc type annotations, but that would make the code a bit verbose.
Aijan@programming.devOPto
Programming@programming.dev•Easy Application Deployments with Linux
7·2 years agoSeriously, why the negative tone? If I’ve offended you, I’m sorry. You might think that I’m wasting time, but there are multiple ways to skin a cat. I prefer not to use DEB packages for deployment, though others might.
Aijan@programming.devOPto
Programming@programming.dev•Easy Application Deployments with Linux
4·2 years agoCleanup can be as simple as deleting the latest deployment directory, if the script gets that far. The article is about using built-in Linux tools for ‘easy’ application deployments. One can also use dedicated tools, as you suggested, to further automate the deployment process.
Aijan@programming.devOPto
Programming@programming.dev•Easy Application Deployments with Linux
92·2 years agoAuthor here. In case it’s not clear, this article isn’t about installing Linux packages; it’s about deploying multiple versions of software to development and production environments.











I think you might be focusing on the execution of the request rather than the orchestration. The decision of when and why to make an API request is absolutely business logic. In imperative code, that logic is hard-coded to the execution. By separating the intent from the execution, we can test that decision flow without spinning up the infrastructure.