Friday, February 17, 2023

Kotlin Day

One of my personal growth projects for 2023 is to become fluent in a new programming language. I've spent the past few weeks immersed in Kotlin by solving old Advent of Code puzzles.

I like what I've used so far -- Kotlin gets away from the unnecessary strictness of Java boilerplate without straying too far into the "by convention" magic of a language like Ruby. When I need to do something new, the docs are clear and the end result looks logical. And when I'm in a hurry or don't want to reinvent the wheel, I can always fall back on the whole Java ecosystem of 3rd-party libraries called from within Kotlin code.

Here are three features I'm really enjoying (which may be old hat for aficionados of other modern languages).

1. Dramatically reducing boilerplate code with the use of data classes.

2. Adding code to existing classes with mix-in extensions instead of heavy inheritance or static utility classes.

3. Cleanly incorporating functional lambdas in procedural code without the stilted method chaining required in Java.

tagged as programming | permalink | 0 comments
day in history


Previous Post: Data Day: Real Estate Assessment


Next Post: Easy Photos Day

 

You are currently viewing a single post from the annals of URI! Zone history. The entire URI! Zone is © 1996 - 2024 by Brian Uri!. Please see the About page for further information.

Jump to Top
Jump to the Front Page


February 2023
SMTWHFS
1234
567891011
12131415161718
19202122232425
262728
OLD POSTS
Old News Years J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
J F M A M J
J A S O N D
visitors since November 2003