mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#cleancode

5 posts5 participants1 post today

Write tests not because you don’t trust your code — but because you do.

Testing isn’t a chore.
It’s a sign of care and confidence.

✅ Catch bugs before users do
✅ Document expected behavior
✅ Refactor without fear
✅ Build with peace of mind

Good tests make great code sustainable.

———
♻ Share to help others level up their software engineering career.
➕ Join My WhatsApp Channel: lnkd.in/g62_G8Gr
———

Tack för feedbacken, alla. Nu finns en ny version på test.trainfo.eu med "Länder"-meny

fortfarande en del som skall göras, men att jobba med filer och kunna göra sök-ersätt och se skillnader efter ändring underlättar mycket.

Jag använder även en linter (program som kollar att markdown-strukturen är korrekt) vilket förhoppningsvis gör risken mindre att det blir problem. #cleancode

Även användbarhets-problem uppmärksammas och skall fixas.

test.trainfo.euStart - Interrailinfo på svenska - testversionSpåret till #Tågskryt

I'm reading The Devil Never Sleeps (Kayyem). Juliette introduced me to the Normalization of Deviance, which describes how unacceptable practices gradually become acceptable over time and repetition.

She is talking disasters, but I see real lessons for software development. When I have to refactor, and leave the code 'good enough' I normalize the Deviance of quality that is expected because it is "better than it was before."

I need to write a blog post on this. It's a fascinating way to look at a well understood problem.

Dear Gradle, Why So Stubborn?
Do I do something wrong?

Watching juniors try to set up a project and being greeted by cryptic stack traces like it's some kind of initiation ritual.

`Unsupported class file major version 61`
`invalid CEN header zip64 no access package`, ...

Java can compile code for older versions just fine.
It's literally designed for that.
Oh why, must Gradle behave like a bitter librarian who refuses to hand over a book unless I whisper the exact Dewey Decimal Code?
Every other Language will laugh again at java, seeing this.

💡 Why is Gradle bound to a java version? And if Gradle knows it needs Java 11… why doesn't it just do this for me?
Like using `/usr/libexec/java_home -v 11` in background?

🤖 Is there a clean way to force Gradle into submission without adding another tool like SDKMAN or jabba or YunaBraska/gradle-java-fix or whatever the trendy painkiller of the week is?