Online Space for Liam Whalen

Notes About Java Part Three

ENUMs Enumerations can help me create code that is readable and maintainable. However, in my last project I created a program design based on enums that proved to be too complex. This complexity increases the burden on maintenance in the aims of making the code maintainable. I need to find a balance between ease of reading and ease of updating. I had not used Java’s Enums before. So, it took me some time to figure out how I wanted to design their use. I chose to make an Enums class that holds …

Read more →

Notes About Java Part Two

Reasons to note minor differences in programming languages When switching between languages, continual minor syntax errors eat time: compile time, debugging time, typing time, etc. Paying attention to the small details helps smooth out the change from one language to the next. From the minor amount of French I’ve studied, I would relate this to the difference between studying Parisien and Québécois French. Paying attention to the tone of speach and pronunciation differences will help in precise …

Read more →

Notes About Java - Possibly Part One

Time to learn again I used Java about a two decades ago in a class about data structures and algorithms. At the time, the code came to mind easily and my sense was that, given access to documentation, Java pretty much writes itself. It can be verbose. With such an emphasis on objects and passing by value, referencing everthing can get very wordy. I am learning Java now, not just using it for a class, so I am writing down some thoughts in hopes they help me cement what I am learning.

Read more →