Profile avatar
matthiasnoback.bsky.social
https://matthiasnoback.nl Work: Freelance programmer, trainer, writer, public speaker, consultant Topics: object-oriented and Domain-Driven Design, architecture, refactoring, Test-Driven Development, pair/mob programming Languages: PHP, Fortran
16 posts 210 followers 114 following
Regular Contributor

New #Fortran post: "Module Design" matthiasnoback.nl/2025/06/fort... We splitt an existing module into smaller modules and put a façade module in front of the smaller ones, so users only have to deal with a simple programming interface. Finally we fix compilation cascade with a submodule.

New #Fortran post: Service Composition, part 2: Decoration matthiasnoback.nl/2025/06/fort... In this post we explore another way of composing abstractions, which is called decoration. We prefix existing log messages with a timestamp and implement optional delegation based on a configured log level.

New #Fortran post "Fortran: Service Composition, part 1: Aggregation" matthiasnoback.nl/2025/06/fort... We are ready to build more features into the logging library, using different styles of composition. First we look at aggregation.

New #Fortran post: "Abstract Types and Deferred Procedures" matthiasnoback.nl/2025/06/fort... We define an abstract type with deferred procedures (in OO language: an interface) for the file logger. Introducing an abstract factory allows clients to decouple and shows us how polymorphism works.

New #Fortran post: "Modeling Services as Derived Types" matthiasnoback.nl/2025/06/fort... Derived types (DTs) can also be used for "service objects". We look at a safe refactoring from module state and subroutines to a DT with a data component and a type-bound procedure.

New #Fortran article: "Private Data Components and Custom Constructors" matthiasnoback.nl/2025/06/fort... We make the data inside the derived type private (encapsulation), offer alternative ways for creating new instances (factory functions), and expose these alternatives as an abstract function.

New #Fortran post: "Type-bound Procedures" matthiasnoback.nl/2025/06/fort... These are the equivalent of class methods, but can surprisingly still be used as regular functions.

New #Fortran post: "Derived Types" matthiasnoback.nl/2025/06/fort... These are similar to structs or classes in other languages.

New #Fortran post: "Functions and Subroutines" matthiasnoback.nl/2025/05/fort...

New #Fortran post: "Types and variables" matthiasnoback.nl/2025/05/fort...

Next #Fortran post: "Programs and modules" matthiasnoback.nl/2025/05/fort... It looks like this is starting to be a Fortran course for people with experience writing in other programming languages...

Second #Fortran post: "Running a simple Fortran program" matthiasnoback.nl/2025/05/runn... Using very modern tooling :)

It's been a while, but I'm back to blogging: "Hello, Fortran world!" matthiasnoback.nl/2025/05/hell...

New talk: "How to eliminate waste in your development process". Thanks for sharing this online, @afup.org