DEV Community

loading...
le0nidas profile picture

le0nidas

404 bio not found

Location Athens, Greece Joined Joined on  Github logo Website logo
The “Tell, don’t ask” principle

The “Tell, don’t ask” principle

Reactions 2 Comments
1 min read
LSP and ISP: The LI of SOLID

LSP and ISP: The LI of SOLID

Reactions 3 Comments
2 min read
Avoid primitive obsession and build your own context

Avoid primitive obsession and build your own context

Reactions 1 Comments
3 min read
IoC: Inversion of Control principle

IoC: Inversion of Control principle

Reactions 2 Comments
2 min read
The memento design pattern in Kotlin

The memento design pattern in Kotlin

Comments
3 min read
Test doubles: dummies, stubs, mocks, fakes

Test doubles: dummies, stubs, mocks, fakes

Reactions 34 Comments
3 min read
SLAP: Single Level of Abstraction Principle

SLAP: Single Level of Abstraction Principle

Reactions 6 Comments
1 min read
I prefer not to use the keyword “it”

I prefer not to use the keyword “it”

Reactions 1 Comments 1
1 min read
Don’t share constants between production and test code

Don’t share constants between production and test code

Reactions 4 Comments
2 min read
Your tests can also be your documentation

Your tests can also be your documentation

Reactions 4 Comments
1 min read
Two reasons why you should add a return type in your functions in Kotlin

Two reasons why you should add a return type in your functions in Kotlin

Reactions 4 Comments
2 min read
Don’t force your objects to construct what they need

Don’t force your objects to construct what they need

Reactions 4 Comments 1
1 min read
Know your tools: $SELECTION$ in Intellij IDEA

Know your tools: $SELECTION$ in Intellij IDEA

Reactions 1 Comments
1 min read
Good practices: First write the test then fix the bug

Good practices: First write the test then fix the bug

Reactions 4 Comments
1 min read
TIL: @NullAndEmptySource in JUnit5

TIL: @NullAndEmptySource in JUnit5

Comments
1 min read
A use case of using chain of responsibility pattern to scale strategy

A use case of using chain of responsibility pattern to scale strategy

Reactions 3 Comments
2 min read
I wrote a GitHub Action using Kotlin

I wrote a GitHub Action using Kotlin

Reactions 27 Comments 2
4 min read
Introduction to GitHub Actions

Introduction to GitHub Actions

Reactions 6 Comments
3 min read
Know your tools: scratch files in IntelliJ IDEA

Know your tools: scratch files in IntelliJ IDEA

Reactions 3 Comments
2 min read
TIL: vararg in Kotlin is never nullable

TIL: vararg in Kotlin is never nullable

Reactions 7 Comments
1 min read
kscript from docker

kscript from docker

Reactions 6 Comments
2 min read
Readable codebase: extract conditions / predicates

Readable codebase: extract conditions / predicates

Reactions 2 Comments
2 min read
Write comments only when they answer the “Why?”

Write comments only when they answer the “Why?”

Reactions 5 Comments
2 min read
Code review: don’t just request a change

Code review: don’t just request a change

Reactions 2 Comments
1 min read
Cherry pick all the commits from a merged branch

Cherry pick all the commits from a merged branch

Reactions 2 Comments
3 min read
Null object pattern and sealed classes

Null object pattern and sealed classes

Reactions 4 Comments
3 min read
Git alias with parameters

Git alias with parameters

Reactions 5 Comments 1
3 min read
A smooth refactor using sealed classes and a factory function

A smooth refactor using sealed classes and a factory function

Reactions 7 Comments
3 min read
A function’s intent should be revealed by its name

A function’s intent should be revealed by its name

Reactions 5 Comments 2
1 min read
Use sealed classes for better domain representation

Use sealed classes for better domain representation

Reactions 7 Comments
3 min read
loading...