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
Monthly Archives: November 2011
#24 Sprinkling "trim" through the code
One bad practice I have seen on many occasions is the use of trim() statements throughout the code. This is a poor coding practice, and it is an indicator of disorganized code.
#23 UTF-8 Encoding
Wondering what encoding to use for your web pages? Wonder no longer. Always use UTF-8 encoding. It is the single best encoding, supports the most characters, the most languages, and is available on every browser. That is all you need … Continue reading
#22 Avoid Multi-purpose Methods
This post is about the tendency to make a single method which does a lot of things depending upon the parameters sent in. A method should not have multiple purposes, but should have a single purpose, and that purpose should … Continue reading
#21 Avoid Ternary Conditional Operator (? :)
There is a Java conditional operator, known as the ternary conditional operator, which is often used in entirely inappropriate situations that make poor code. Abuse of this operator is so common that I advise avoiding it completely unless you know … Continue reading