You are viewing a single thread.
View all comments View context
20 points

Swift’s extensions system has spoiled me, and I feel the pain of this whenever I have to write Java

permalink
report
parent
reply
12 points

You should take a look at kotlin, pretty similar to swift and fully interoperable with java.

permalink
report
parent
reply
6 points
*

Ditto, but Rust’s traits. God those are so fun. It’s like duck typing a la Python but you can just slap whatever methods you want on a foreign type without worrying about breaking anything because they’re only visible to the current crate (or other crates that import the Trait)

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.2K

    Monthly active users

  • 1K

    Posts

  • 37K

    Comments