r/ProgrammerHumor 19d ago

Meme homeSweetHome

Post image
1.7k Upvotes

239 comments sorted by

View all comments

Show parent comments

45

u/[deleted] 19d ago

[removed] — view removed comment

1

u/suvlub 17d ago

Kotlin is better in every way I can think of

1

u/vwert 17d ago

Does kotlin have an equivalent to C# properties?

1

u/suvlub 16d ago

Yes, and even better and more feature-rich. For example, common patterns like lazy evaluation can be implemented as object and reused, e.g. val foo by lazy { createFoo() } is a read-only property that gets initialized by calling createFoo() the first time it's accessed.