Spring and JPA: use custom value types inside entities with a custom converter

If you want secure code, or code with fewer bugs, you want to track the kind of data you’re passing around. In your code, do not pass around strings or any other built-in built-in primitive type. Those are for the edges: we have to accept strings as input, we have to write VARCHAR to the …

Read moreSpring and JPA: use custom value types inside entities with a custom converter

One Secret to Quality Software

They ask us for quality. What is “quality”? “Well, free of defects.” (Oh it’s a lot more than that.) What is a “defect”? “Well, when it doesn’t work like we expect it to. Like we agreed it should.” Trust me, you didn’t specify how it works. That’s my job, as a developer. To organize all …

Read moreOne Secret to Quality Software

“Software” isn’t a thing

You can’t make Software. There is no “software”–there is only “software that…” or “software for…”. That’s like having a business around “writing.” Writing what?? Your writers are going to have to learn every topic they’re asked to write about. That’s either going to take a long time, involve very close collaboration with someone who does …

Read more“Software” isn’t a thing