rmict.nl
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago

Is this a Nut?

sh.itjust.works

message-square
9
link
fedilink
2

Is this a Nut?

sh.itjust.works

Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago
message-square
9
link
fedilink
alert-triangle
You must log in or # to comment.
  • bruhduh@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    2 years ago

    C can STRUCTurise classes tho

  • Cosmic Cleric@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    2 years ago

    “What Java said.”

    Okay, that one made me chuckle.

  • AVincentInSpace@pawb.social
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 years ago

    Java: “Sorry, but the developers of Peanut didn’t declare it to implement the Crackable interface, even though it has all the relevant methods, so if you want to treat it like a nut your choices are write a wrapper class or call those methods using Reflections”

    • Sjmarf@sh.itjust.worksOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

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

      • loutr@sh.itjust.works
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

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

  • ArbitraryValue@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    2 years ago

    I am static_casting the nut_t*. Pray I don’t static_cast it any further.

    • corroded@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      reinterpret_cast<int*>(&a_nut)

      I like to live dangerously.

  • pewgar_seemsimandroid@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    wheres scala?

    • humbletightband@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      It’s incompatible with the version of this meme

Programmer Humor@programming.dev

programmer_humor@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !programmer_humor@programming.dev

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
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 749 users / day
  • 3.98K users / week
  • 7.69K users / month
  • 10.7K users / 6 months
  • 1 local subscriber
  • 26.4K subscribers
  • 449 Posts
  • 7.04K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.12
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org