ultramagnetic
ultramagn3tic.bsky.social
ultramagnetic
@ultramagn3tic.bsky.social
Lead Developer at Scott Logic by day, Architecturally curious, techno freak by night. Creator of Higher-Kinded-J https://higher-kinded-j.github.io
#higher-kinded-j #hkj #java #scala
Views are frequently my own
Nice post. Lots of interesting applications of this with profunctor adapter patterns.
September 21, 2025 at 7:17 AM
With ADTs we are unbundling data from behaviour. Data goes in the ADTs and behavior goes in functions that operate on them. Think pattern matching vs polymorphism. Often The choice of approach is nuanced on what is mainly driving change. For types OO and operations ADT
July 15, 2025 at 12:21 PM
Indeed it is good to see the evolution. In the meantime i've used this in many projects to solve this builder issue records. Its really quite neat solution
github.com/Randgalt/rec...
GitHub - Randgalt/record-builder: Record builder generator for Java records
Record builder generator for Java records. Contribute to Randgalt/record-builder development by creating an account on GitHub.
github.com
June 25, 2025 at 7:05 PM
Thats great. Let me know how you get on
June 21, 2025 at 10:19 AM
What sort of examples would useful? I had some ideas about potentially integrating with springs reactive webflux types and form validation. That might be a bit more practical for some users.
June 8, 2025 at 6:06 PM
There is certainly boilerplate adding hkts to java and room for improvements but i think you might be surprised once you get familiar with the patterns how much they can help. Did you see the draughts game i added? If you have any suggestions as to what might help i'm really happy to here
June 8, 2025 at 5:58 PM
I did a blog series here that covers some of these ideas. blog.scottlogic.com/2025/01/20/a... Im hoping to do some posts on the what why how of #higher-kinded-j over the coming weeks. In the meantime take a look at the order example in the project. Any feedback or questions most welcome
Algebraic Data Types and Pattern Matching with Java
In this post we explore the power of Algebraic Data Types(ADT) with Pattern Matching in Java. We look at how they help us model complex business domains and how using them together gives improvements on the traditional Visitor Pattern.
blog.scottlogic.com
June 5, 2025 at 6:50 PM
There is certainly an art to writing a good fluent api. An enjoyable and insightful series.
May 28, 2025 at 10:07 PM
A most excellent commentary and thoroughly good read!
May 19, 2025 at 9:26 AM