yonatan_karp Profile Banner
Yonatan Karp-Rudin Profile
Yonatan Karp-Rudin

@yonatan_karp

Followers
17
Following
108
Media
10
Statuses
239

backend developer by day β˜€οΈ terrible gamer and blogger by πŸŒ™ big advocator of Kotlin

Berlin, Germany
Joined January 2023
Don't wanna be here? Send us removal request.
@yonatan_karp
Yonatan Karp-Rudin
1 year
RT @funcode_mag: A small part of the fun code() Magazine team at @kotlinconf! πŸŽ‰.An unofficial magazine for @kotlin developers, from the Kot….
0
8
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
I just read this really nice article about ports & adopters article, highly recommend for people who want a deep dive into the topic!.
Tweet card summary image
happycoders.eu
What is Hexagonal Architecture (Ports & Adapters)? – Advantages over Layered Architecture – Hexagonal Architecture, Microservices and DDD
0
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
I’m excited to share my latest article on adding #observability to your service is on this week @KotlinWeekly! Check it out! 😊 #Kotlin #Development #Tech #Article
0
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
It was a pleasure to talk at #KUGBerlin about code smells ❀️.
1
0
4
@yonatan_karp
Yonatan Karp-Rudin
2 years
6/ 🏁 Conclusion: Don't be too clever for your own good. Smart developers write clean code. Clear beats clever every time!.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
5/ πŸ“Œ Exceptions where cleverness might be okay:. Optimized code for low-level operations.1-liner code functions.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
4/ πŸ§ͺ Examples of too-clever code include:. Optimized loops that sacrifice readability.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
3/ βœ… Solutions to avoid these problems:. - Refactor the code.- Use better names for variables and functions.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
2/ 🚫 Problems with being too clever in code:. - Readability issues.- Harder to maintain.- Code quality suffers.- Premature optimization.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
1/ 🧠 Being too clever with your code can backfire! Clean code requires readability and simplicity. Here's a thread on Kotlin Code Smell - Too Clever For Your Own Good.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
RT @ramtop: Finally the printed version is ready!.Waiting for getting a physical one!.
0
3
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
7/ πŸ“š Want to learn more about Kotlin code smells and how to avoid them?. Read my full article on the blog and level up your Kotlin game! πŸš€.
yonatankarp.com
A blog with tutorials around spring boot, kotlin & java languages, and code samples. The blog focuses on, but is not limited to, backend topics in the JVM world
0
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
6/ 🏁 Conclusion:. Don't let strings take over your code! Prioritize actual objects and establish clear protocols to differentiate them from strings.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
5/ πŸ“ Sample Code:. Check out the full article for examples of wrong and right code snippets to help you avoid string abuse in your Kotlin projects.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
4/ 🌟 Examples: Serializers and Parsers. These are just two examples of how you can replace strings with more appropriate abstractions.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
3/ βœ… Solution 2: Replace strings with data structures that handle object relations. This will allow you to better manage your code and avoid bijection problems between real objects and strings.
1
0
0
@yonatan_karp
Yonatan Karp-Rudin
2 years
2/ βœ… Solution 1: Utilize objects instead of strings. By using actual objects, you can simplify your code and make it more readable.
1
0
0