we all have different styles and preferences in everything in life, including how we write code. Imprinting your personality in the code brings originality and a sense of ownership and responsibility for it. This is important to keep us motivated; it makes us feel good (at least I do).
However, is the coding style always just a harmless style? Or does it impact readability and hence maintenance?
For example, during a code review, I often find myself questioning whether I should bring certain ways of coding to discussion or not — is it readable, is it easy to maintain? …
"Hey, you say you don’t like switching between tasks all the time, but apparently you’re quite good at it."
Every single year. In every performance review, that’s what my manager says to me. And when I tell my wife about it, she goes, "Yeah, I agree with him." While I appreciate the compliment, I don’t know if it’s true. Moreover, I don’t know if I want to be good at context switching.
I’m a software engineer working on code, infrastructure, and customer support while also being a leader in some projects. Monitoring emails, debugging code, deploying applications, architecting systems, preparing…
Brain plasticity is the brain’s ability to adapt and reorganize as we interact with the world. In the book Livewired: The Inside Story of the Ever-Changing Brain is a non-fiction book, the neuroscientist and author David Eagleman, gives insight into what happens if someone has half a brain, why we dream and other mind-blowing explanations.
We are accustomed to thinking the areas in the brain are fixed in place, being each one responsible for a specific part of the body. However, it’s rather very dynamic. We are only born with rudimentary neurons, not fully preprogrammed. …
Java Development Kit (JDK) 17 is set to launch in September 2021, and it has four proposals in the pipeline so far.
The JDK will be a long-term support (LTS) version, which means it will have Oracle support for many years to come. Other LTS JDKs are Java 8 and Java 11.
LTS JDKs are released every three years and non-LTS every six months. In comparison, LTS versions' support lasts for several years, whereas the non-LTS JDKs' support lasts only six months, ending when the next non-LTS is released.
Here are the details of the four JDK Enhancements Proposals (JEP)…
It’s time to take two steps back in my machine learning journey and dive into the math, algorithms, and intuition behind the scenes. It’s been fun to learn frameworks such as PyTorch, TensorFlow, and the Python language itself. But I realize I’m always getting stuck and having to circle back to understand things better. I want to close this gap.
I’ll begin with writing about linear regression. I won’t cover the various calculations and formulas too deeply. Instead, I want to focus on building intuition and teaching the basics.
Linear regression is a modeling approach and algorithm used in machine…
Great article on Reflectionless.
Introduction to Reflectionless: Discover the New Trend in the Java World.
By the way, is this a good way of using Medium, what do you think?
…
I bought a house second-hand in the outskirts of Dublin, Ireland, and moved in not so long ago. To be exact, two months and eleven days. I live with my wife and our two sons, one with three years old and the youngest six months old. We’ve been enjoying the place, the neighbourhood, it’s a beautiful area. There is a school nearby, lots of green as usual. It rains a lot too, as usual.
Something in the house has been bothering me a bit to the point of losing my sleep. In the shed, in the back garden, right after…
Documentation is crucial for any REST Web Service application. It’s how users can obtain information and thus interface with it. Many frameworks facilitate this job—for example, SpringDoc and SpringFox Swagger2. From the code, at build time, they auto-generate OpenAPI specification in JSON/YAML format and support Swagger UI for displaying in the browser.
SpringDoc is the one I prefer. It supports OpenAPI version 3 and to get started it only requires to include the dependency in the pom.xml (Maven) and no other code. If you need extra documentation, such as the title of the page or to explain some logic, it’s…
Wouldn’t it be cool if we could easily select features to build our own programming language? Imagine when you buy a car or a computer, for example — you select a base model/something to start with, and then add or remove options. I work with Java for a few good years, and I like it — it’s not dead for sure (not for me at least). But I’d wish I could quickly start coding in the terminal, as you can do with Python. Am I asking for too much?
I don’t want to move to Python completely. Overall, I don’t…
I recently worked in a project that required to create a Spring Boot application and use it from another application, by configuring a dependency in pom.xml. It contained a controller and web content such as js, HTML and image files. The structure and functionality were simple. The controller, when called, would read values from the application.property file and invoke an HTML passing them as parameters.
When doing this work, I encountered some challenges I would like to share with you. They were far from rocket science, but still, it took me a few hours of research and trial and error…