We all partake in software creation, as developers, architects, analysts…
This category covers topics for all these people and probably more, from coding tools and best practices to architecture and management recommendations.
In the past, we advised using the constructor to inject dependencies with Spring, and we introduced Lombok.
Guess what?
Those go quite well along together, except maybe for a little trick to known when you wish to use Spring’s @Value
.
We’ll cover all that in this post.
Read moreA few months back, a new guy joined our team and the Java world after a few years of being a .NET programmer.
He had many reactions like, “What, you need to write that yourself in Java? In .NET, the compiler does it for you!”
It’s true that, in Java, the language and conventions drive you to write a non-negligible amount of low-value code.
But don’t fear!
Lombok aims at simplifying that task for you.
Read moreTime to answer the Regex Quiz #1.
The regex was:
\[(#[a-fA-F0-9]{3,6}|[a-zA-Z]+)\](.+)\[\/\1\]
What can it be used for?
This is what we’ll explain in this post.
Read moreI like regular expressions, very much.
A bit too much, probably, but I’m aware of that and I don’t use them that much.
That doesn’t prevent me from trying some funny patterns, and I’ll be sharing some of them here for the sake of learning.
Read moreWhen working with VSCodium, it’s possible you can’t find an extension you’ve seen in the marketplace.
Here’s why.
Read moreMicrosoft publishing its tools under an open-source license did quite an effect.
Thing is, the MIT-license applies to the source code, but not to the binary they distribute.
Here are some explanation on this, and two possible alternatives.
Read moreWe won’t discuss the merits of testing today, I’ll just suggest a library that helps them write differently and, according to me, makes them more comprehensible.
Read moreWhen designing a website, we’re often tempted to use custom webfonts to make it stand out.
Yet, the French collective for a responsible design of digital services provides one simple rule in their referential for web ecodesign:
Use standard typefaces
translated from
Référentiel d'écoconception web (FR),
Collectif Conception responsable de service numérique
Let’s have a look at what’s behind this rule.
Read moreA few weeks back, I reviewed code from a young developer.
It was impressive work for a topic he didn’t know beforehand, except on one aspect: every output used System.out.println()
.
That’s understandable: that’s how Java developers learn to code, just like Python developers do their first tests with print
.
But that’s not something that’ll be handy for a live application.
Read moreWhen I started this website, I wanted my personal illustrations to feel handdrawn.
After two years, those illustrations were a collection of charts and graphs.
There are more precise ways to convey that type of information.
SVG is one of them, with a generally lighter footprint and better accessibility, so I went for it.
Read moreIn my not-so-long career, I’ve often been at odds with one of my directors about one topic: quality.
We’re both of the mind that it’s a necessary thing in our projects but, basically, our perception of what’s “good enough” is different.
Here are some thoughts.
Read moreYou may or may not have noticed it, but I try to avoid the terms “developer,” “coder” and “programming” on Keyboard Playing, except maybe when I’m focusing on the activity of writing code.
There’s a reason to it: in our field, it’s common to use these words to describe a variety of jobs.
Actually, about anyone who writes or edits code may be called a developer.
Read moreThere’s an image I like when I speak about software development: the construction of a house.
Like any metaphor, it has limits, but it helps non-technical people understand what their requests mean to us by comparing them with something they can understand.
Read moreSocial and share buttons seem to be a must-have nowadays, but following the official docs for these may not be the best option for an efficient solution.
Read moreIf you’ve been using Spring for a while, or copy-pasting some web tutorials or examples, you’ve probably put some @Autowired
annotations on private fields.
This does work, but it’s not the best way to do it.
Read moreSometimes, I don’t understand something, so I search the answer and sharing it is natural.
Sometimes, I don’t think sharing it will be any use, until I realize that some people, even in my team, struggle with the same thing.
This post is in the second category.
If you use NPM regularly, you must have noticed it adds tildes (~
) or carets (^
) in front of your dependencies’ version number.
You may also have noticed it creates a package-lock.json
file.
If you don’t know what any of these are, this post will shed some light.
Read moreLast week,
Tony asked me about the technological stack behind my website.
It’s a subject I wanted to write about once the website was stable, but I keep tinkering with it.
As such, it’s far from finished and I still have many ideas, but let’s talk about it now nonetheless.
Read moreWhen you develop a Java program that accesses a database, you’re likely to need a JDBC driver.
When that database is an Oracle product, you keep that O for OJDBC.
For years, I just used the version an architect had selected.
Then, I became the architect and I had to understand which version to choose.
It’s not that complicated, just not really well explained.
Let me try to contribute…
Read moreToday’s Valentine’s day, the best day in the year to tell you how I fell in love with editorconfig.
Read moreTo conclude this series about sustainable IT, I wanted to write a bit about some impacts of software creation that we rarely think about.
We’ve all seen movies where a mad scientist creates something that they think is awesome until it escapes their control and threatens life as we know it.
Everybody’s a mad scientist, and life is their lab.
We’re all trying to experiment to find a way to live, to solve problems, to fend off madness and chaos.
David Cronenberg
That’s especially true about us software creators: we innovate, create new technologies for thousands or millions of people.
If we’re not careful about those creations, they may transform the whole society, though not necessarily in the way we assumed they would.
Read more