Anthony Bruno

A software developer who loves programming almost as much as he loves soccer.
19 Nov 2017

Mutating an object vs a single element array in Java, which is faster?

Recently a coworker asked what he should do to pass an int into a method, change it, and then get the changed variable after the method ends. Apparently simply returning it was not an option! I suggested wrapping the variable in an Object with a getter and setter. Another coworker suggested creating a single element int array containing the value.


19 Sep 2017

The non-broken promise of static typing

A while back I read an article about how static typing does not prevent bugs being added to software. The article is appropriately named: The broken promise of static typing. The author conducted research by generating and comparing ‘bug density’ scores for GitHub repositories. The bug density score was determined by getting the average number of issues labelled ‘bug’ per repository. The results showed that there were not any less bugs in statically typed languages vs dynamically typed languages. The author concludes on the results:


19 Apr 2017

Add file/directory auto-completion to user input in Bash

A small guide on how to add path auto-completion to Bash scripts

02 Jan 2017

A Look Back at 2016 and Plans For 2017

2016 was a huge year for me. I finished my Bachelor of Computer Science (although my graduation ceremony isn't until April), got a job, wrote a few blog posts, and made my first contribution to open source.

20 Aug 2016

Three Ways To Add an ActionListener In Java

When building GUI’s, the interface needs a way to listen and respond to events. Events are triggered when the user interacts with the GUI, such as pressing buttons and inserting text. One of these types of events in Java Swing is the ActionEvent. A commonly used component that generates a ActionEvent is a JButton, which is simply a button that produces an event when pressed. This article serves to explain three different ways an ActionListener can be added to a component.


28 Jul 2016

What Tools I Use

In this post, I wanted to share what tools I use regularly. I believe that every developer should have a small 'go-to' selection of tools on their tool belt.

14 Apr 2016

Vim 8.0 Changelog Is Here

Vim, the modal text editor and the catalyst of many arguments between developers is nearing it's next major update, 8.0. Here are my favourite features that this update will include.

18 Feb 2016

An update on what I have been working on

Long time no post! I thought I would give an update on how I’m spending my (rapidly decreasing) holidays.


04 Jan 2016

Another Zipline Finished: Quote Generator

Another zipline down! How I developed the Quote Generator.

17 Dec 2015

Finished My First FreeCodeCamp Zipline!

Thoughts on finishing my first FreeCodeCamp Zipline

01 Dec 2015

First!

Hello and welcome to the first blog post. This blog will be covering programming topics such as personal projects, online projects and things learnt from my Computer Science course.