Many of us have retired and are looking for something to do. Others have found themselves stuck at home and socializing much less due to the Covid outbreak. This has caused many of us to dig out our old dusty computer systems and begin re-living the magical adventures we had when the web was still the future, BBSs were the rage, real programmers used assembly, BASIC was for everyone, and nerds knew every detail of the hardware they used!
I was recently tasked with creating a general-purpose unit conversion class. The class needed to be easily extensible so new conversions could be easily added at any time. It also needed to throw an exception when an unsupported conversion was attempted. Furthermore, I was told that the conversion method needed to take in two string
Once a novice developer learns the basic syntax of their programming language, and begins writing anything more than simple hello-world type apps, they start to encounter problems. At first, these problems seem daunting. To find answers, they usually start hitting the various software development forums and social sites where their kindred spirits tend to congregate
The phrase “Error: Viewport was given an Unbounded Height” brings horror to the novice Flutter developer.
With the droves of developers flocking to Dart/Flutter as a cross-platform development solution, I tend to see the same questions come up again and again on Slack, Stack Overflow, and Discord as well as many other forums. One such question is What is the difference between “static”, “const”, and “final”? For the uninitiated, they can
I spend a lot of time on the Flutter Slack channel (thanks Scott!), and I try and help as many people as possible during my breaks from my own work. Today I was asked how to implement multiple selectable groups of checkboxes in Flutter. I offered a solution which as is often the case, was
I spend a lot of time in the Flutter slack channel answering questions to help others. Sometimes I am asked a question that seems trivial at first, and then I realize I’ve been working with Flutter since 2017 and even I sometimes struggled with the simplest of tasks when I started. So, when I can,
Over the past few years, Dart and Flutter have really gained popularity. Along with the growth in popularity has come a plethora of new features added to both the Dart language and the Flutter GUI tool kit. Some of the most popular new features are support for new platforms such as web and desktops (Windows,
GoF Design Patterns in Dart Back in the ’90s, a group of four authors released a book that became standard reading for any self-respecting software developer, the Gang of Four’s Design Patterns book. Along with Fred Brooks’s Mythical Man-Month, Don Knuth’s The Art of Computer Programming series, these books are still fundamental to our profession
The Singleton Pattern From time to time you’ll find you need to ensure that your code creates only a single instance of a class. This often occurs in hardware drivers or certain OS sub-systems. It’s not a feature you need often but, when you need it, you really need it! The singleton pattern is one