Recent Posts
Recent Comments
- python – Testing email sending-ThrowExceptions – ThrowExceptions on PostHoc: Testing Apps that Send Email
- The Silent Enemy: Failure to Report Exceptions | Thinking Matters on The Purpose of Error Reporting
- Colin James III (The Most Rev'd, Ret.) on Not-So-EasyChair Hints
- gizmos and gadgets on The Only Class You Need for CSV Files
- kswenson on The Only Class You Need for CSV Files
Archives
- April 2023
- January 2023
- December 2022
- November 2022
- May 2021
- April 2021
- February 2021
- December 2020
- April 2020
- February 2020
- November 2019
- October 2019
- June 2019
- May 2019
- February 2019
- January 2019
- November 2018
- June 2018
- May 2018
- April 2018
- February 2018
- January 2018
- December 2017
- November 2017
- July 2017
- June 2017
- May 2017
- March 2017
- January 2017
- June 2016
- March 2016
- February 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- June 2015
- April 2015
- January 2015
- November 2014
- October 2014
- September 2014
- July 2014
- May 2014
- April 2014
- February 2014
- January 2014
- October 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
Meta
Tag Archives: design
Keep Things the "Same"
This general design principle does not mean to never change anything, but to consciously create a paradigm where the same things have the same names and are accessed in the same way as much as possible.
Abstraction and Encapsulation
Abstraction and encapsulation are opposite sides of the same coin, and essential to good object oriented software design. Why the, is there a tendency of some programmers to go in exactly the opposite direction? This trend and its implication is … Continue reading
When are "best practices" less than best?
A “best practice” is a heuristic which is used to guide early stages of a project, in order to set some patterns. When should you use them? More important: when are you justified in ignoring a best practice?
Posted in Coding, Design Tagged code style, design, development, programming, quality Leave a comment
Incremental Development
I happened across this excellent and perfect depiction of incremental development. The image addresses on of the key flaws in thinking that lead some agile projects to fail. So let’s discuss a bit.
Posted in Coding, Design Tagged agile, design, development method, iterative development, methodology 1 Comment
Don't Fear the Lowly Static Method
When people first learn object oriented programming (is there any other way) they seem to want to abandon all non-member methods (such as static methods) as being anti-object-oriented. This is foolish. There are times for objects, and times for static … Continue reading
Specifying Business Hours
Long ago I worked on a project where we needed to specify the hours that a business was going to be open, and to account for all the various difficulties around holidays and other special days. This is what we … Continue reading
Posted in Coding, Design Tagged business calendar, calendar, data handling, dates, design, development Leave a comment
Security Absolutism is the Enemy of Security Improvement
Security is an important topic and everyone knows it. This post is about a curious social behavior around implementing security procedures that often works against incremental improvement of security.
Robust Web Application Initialization
When a web based application starts up, it should do so carefully to avoid a number of problems. This post outlines the problems you might run into, and a list of coding preparations that can be made to avoid these … Continue reading
Posted in Coding Tagged configuration, design, errors, exceptions, initialization, robustness Leave a comment
Error Message should be clear, plain, and direct
This post is about a real error message I received and puzzled through. Luckily, because I was working with open source code, I was able to see a copy of the source, and only then did I understand what the … Continue reading
Posted in Coding, Example Code, Poor Error Msg Tagged design, development, errors, exceptions 2 Comments
Usability Means Well-Behaved, even when the User Isn't
Users of a program found that sometimes, when they went to log in, they did not get a place to enter the username & password. Instead of the normal login prompt, they got a blank screen, and it was completely … Continue reading