Blog

The curious case of byte as int in Java InputStreams

Published on

The curious case of byte as int in Java InputStreams
Why does InputStream.read() returns an int instead of a byte in Java? It’s a small detail that sometimes puzzles developers, especially those new to Java’s I/O API. In this article, we break down the reasoning behind this design choice and explain why it actually makes the Java API more robust and developer friendly.




5 Java coding beginner tips

Published on

In this article I am trying to touch on just a few pointers that I feel will help Java beginner programmers to smooth their code writing abilities and to become a proficient coder faster.

Legacy code — keep your sanity

Published on

Legacy code — keep your sanity
In this article, I am not trying to provide any technical tips for handling an old project. It aims to offer a few ideas to follow if you want to keep your sanity while being assigned a legacy project. We are going to take a look at what roughly makes up a legacy and try to find why it may not be as bad as it looks at the first glance.

A software developer mentor’s advice to mentees

Published on

A software developer mentor’s advice to mentees
As a software developer, there is a high possibility of finding yourself in a mentoring relationship. Whether it is a formal or informal one, mentorship might be overwhelming especially if it is the first one you are engaged in. In this article, I am trying to give some pointers on easily navigating this experience and getting as much as possible from it.