DEV Community

le0nidas profile picture

le0nidas

404 bio not found

Location Athens, Greece Joined Joined on  Personal website https://le0nidas.gr github website
The “Tell, don’t ask” principle

The “Tell, don’t ask” principle

4
Comments
1 min read

Want to connect with le0nidas?

Create an account to connect with le0nidas. You can also sign in below to proceed if you already have an account.

Already have an account? Sign in
LSP and ISP: The LI of SOLID

LSP and ISP: The LI of SOLID

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

Avoid primitive obsession and build your own context

1
Comments
3 min read
IoC: Inversion of Control principle

IoC: Inversion of Control principle

3
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

35
Comments
3 min read
SLAP: Single Level of Abstraction Principle

SLAP: Single Level of Abstraction Principle

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

I prefer not to use the keyword “it”

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

Don’t share constants between production and test code

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

Your tests can also be your documentation

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

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

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

Know your tools: $SELECTION$ in Intellij IDEA

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

5
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

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

I wrote a GitHub Action using Kotlin

27
Comments 2
4 min read
Introduction to GitHub Actions

Introduction to GitHub Actions

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

Know your tools: scratch files in IntelliJ IDEA

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

TIL: vararg in Kotlin is never nullable

7
Comments
1 min read
kscript from docker

kscript from docker

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

Readable codebase: extract conditions / predicates

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

Write comments only when they answer the “Why?”

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

Code review: don’t just request a change

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

Cherry pick all the commits from a merged branch

2
Comments
3 min read
Null object pattern and sealed classes

Null object pattern and sealed classes

4
Comments
3 min read
Git alias with parameters

Git alias with parameters

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

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

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

Use sealed classes for better domain representation

7
Comments
3 min read
loading...