programming
-
The Typestate pattern is a very interesting design approach that encodes an object’s state within its type, allowing certain operations to be restricted based on that state. This helps catch errors at compile-time rather than runtime, improving code safety and efficiency. In Java it’s not possible to implement it fully, as Java does not provide…
-
I have recently posted an article about how you should try to keep as much documentation of the project (if not all of it) in the git repository next to the source code, in the form of markdown and Plant UML files. I’d like today to go one step further. Here’s the fundamental issue with…
-
In my 25 years of experience as a developer, the only documentation that survives is the one in the repository, next to the source code.Anything outside the source code repository dies a slow death as soon as 2 or 3 members of the team get replaced, which happens quite often.Here’s my recommendation to tackle that:1…
