It's one of the paradoxes of blogging that most every blogger (including myself) is sharing what they know right now (let's quietly ignore those who blog purely for traffic and vanity).

Since everyone is learning (it's essentially a prerequisite for this business), this can result in misleading, obsolete or simply low-quality information being shared just as much as good information.

Keep this in mind as you read any blog - including this one. How experienced is the writer? How well do they really know what they're talking about? Do they blog about their mistakes as well as their successes?

You should consider yourself encouraged to check my ideas for yourself. Keep the date in mind as well - in our fast moving field, even good ideas can become obsolete.

Browsers and WSL

Sunday, March 31 2024 good-samaritan

The integration between the Windows Subsystem for Linux (aka WSL) and Windows works spectacularly most of the time, but occasionally things get a little troublesome. One such case was a change in browser behaviour that I noticed recently after upgrading to a new laptop.

Read more »

Factory methods and functions

Sunday, March 05 2023 api-design

As discussed last time, usually a proper constructor is the best way to create a new instance. But what do you do if a constructor doesn’t fit your needs?

Read more »

Using Constructors

Monday, February 27 2023 api-design

The API we presented last time had a problem - it required users to remember to call Initialize() before an instance could be used without problems occurring.

Read more »

An Inconvenient API

Saturday, February 18 2023 api-design

Imagine that you’re working on an unreleased project, and you discover a need to extend one of your custom types. There’s some complex initialization required before methods will work properly.

Read more »

Method Archetypes

Sunday, September 11 2022 techniques

How do you decide what methods or functions to write as you’re coding? Here’s a technique that I learned about years ago that guides you towards software with great reusability and easier testability.

Read more »

Recent posts