Coding Corner

Community Code Sharing

This page offers developers an opportunity to explore, discuss, and collaborate.  You will find a listing of recent articles posted by programming language including; web development in HTML and CSS, Php and MySQL, JavaScript, jQuery, Bootstrap, Python, and Java. 

Survey the code topics below, explore the categories listed in the sidebar, or enter a topic to search our site. 

Feedback and discussion is encouraged on all of our coding projects. 

  • Word game solution in Java November 4, 2019 Martin Dwyer Programming a word game is a common early challenge in most programming instruction. Here’s a word game along with a solution which reads in content and produces output. There are many ways to tackle this problem, so feel free to share your thoughts. Word Game: Write a program that plays a ...
  • Immutable classes and objects April 17, 2019 Martin Dwyer This week’s post offers a review of the concept of immutable classes, and suggestions for best practices in implementation.  An immutable class is “a class whose instances cannot be modified” (Bloch, 2018, p. 80) .  There are many well-known immutable classes in the Java platform libraries such as String and primitive classes like Integer and Double (Temre, 2015). To illustrate consider ...
  • Exceptions: Catch or Throw? April 8, 2019 Martin Dwyer This post addresses exception handling in a Java development environment, the catch-or-throw rule, and general guidelines for determination of which exceptions should be thrown as they occur.  Whenever a Java method could result in a processing exception, the method can either (a) catch the exception and handle it within, or (b) throw the exception back to the source that ...
  • Abstract classes and interfaces April 1, 2019 Martin Dwyer This week’s post briefly describes the different roles played by abstract classes and interfaces in the Java programming environment.  An illustration is given for the use of an interface, along with a justification as to why the interface approach is more appropriate than using an abstract class. An abstract class is a programming class with many of the same properties ...
  • Writing code from scratch, inheritance, and composition March 18, 2019 Martin Dwyer This week’s post offers advantages and disadvantages of writing code from scratch versus using object oriented techniques.    When approaching a software project, the developer must determine the most appropriate method of development.  This involves many choices, including what objects are relevant, the classes for those objects, and whether to code those classes from scratch, or to utilize object-oriented techniques like inheritance or ...
  • Open Source Case Study: WordPress June 14, 2018 Martin DwyerOpen Source Case Study: WordPress WordPress, an open source website solution, offers clients many advantages as the website platform. Here are six important features and benefits of utilizing WordPress: Open Source. Completely free for commercial or private use, with hundreds of volunteers contributing to evolution and improvement of the WordPress core. User Friendly. There is no need for ...
  • Open Source Software June 14, 2018 Martin Dwyer BDO Web Technologies are Open Source BDO Web Technologies is committed to promoting open-source solutions.  Why?  In short, because they are better for the client.  Here are six great reasons that we believe open source is the best way to meet client software needs: License Free.  It’s license free, leaving the client completely in charge of the ...
  • Using Python: Counting Prime Numbers February 19, 2018 Martin DwyerWhen children first hear of ‘prime’ numbers in elementary school, they are likely seen as just another abstract concept in mathematics. However, like most of what we learned in elementary school, prime numbers have vast practical use in our world today, including in the world of computer programming and communications. A prime number is a whole number ...
  • Using Python: Mortgage Amortization February 19, 2018 Martin DwyerToday’s post offers another tool for financial calculations using Python. The program offered here takes three items as input; (1) the principal amount of the mortgage, (2) the annual interest rate, and (3) the term of the loan in years. The program outputs the monthly payments, detailing the amount paid for interest and ...
  • Using Python: Finding Divisors February 9, 2018 Martin DwyerToday’s post is admittedly a more basic variety – using Python to find the divisors of numbers. Python has proven itself very adept in the rapidly growing world of data science. Students are finding their way into introductory Python programming more and more. The following program may help point one of them in the ...