Problem As an exercise, I put together a postfix calculator using modern Fortran. Language apart, I am interested in knowing […]
Category: Parsing
Observer pattern implementation
Problem I’m reading Head First Design Patterns and I’m currently reading about the observer pattern. Is what I produced correct? […]
HTML downloader and parser for CR
Problem This program downloads a Code Review HTML file and parses it. Could you review my program? Main.java import java.net.URL; […]
Length units converter
Problem I am creating a very small application to demonstrate solid principles and also a brief implementation of a builder […]
Collating creature descriptors spread across multiple stanzas
Problem I have been using Python for only a few days, so I am trying to learn about some best […]
Using commands as deferred behaviour
Problem I was thinking of building a really flexible fluent API for my persistence layer. One of my goals is […]
Observer pattern in Java
Problem I’m going to have a lot of integer values, and at any value change I might need to update […]
Python – basis of a parser library, followup
Problem This is a followup to this question: link. As advised there, I’ve rewritten the State class, which also simplified […]
Design Patterns in Swift: Chain of Responsibility
Problem I’m solving the following problem using the Chain Of Responsibility design pattern in Swift: Not all mechanics are created […]
Making a FileHandler more OOP-friendly using SOLID
Problem I have a class created for the sole purpose is to help handle files. The class holds a path […]