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

Is this a Nut?

media.gehirneimer.de

message-square
51
fedilink
1.05K

Is this a Nut?

media.gehirneimer.de

Sjmarf@sh.itjust.works to Programmer Humor@programming.dev · 2 years ago
message-square
51
fedilink
  • bruhduh@lemmy.world
    link
    fedilink
    arrow-up
    31
    ·
    edit-2
    2 years ago

    C can STRUCTurise classes tho

    • NoFun4You@lemmy.world
      link
      fedilink
      arrow-up
      14
      ·
      2 years ago

      I want my vs code to look like this

      • bruhduh@lemmy.world
        link
        fedilink
        arrow-up
        21
        ·
        2 years ago

    • Rose@lemmy.world
      link
      fedilink
      arrow-up
      12
      ·
      2 years ago

      Yeah, you can technically write object oriented code in C. Or any other language. Just that actual OOP languages provide a nicer syntax and compile time checks.

      Rust is kind of a good example of this. It’s technically not an object oriented language, but the trait system brings it close.

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

      But, why?

      • force@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        most C programs are just C++ programs with extra steps if you look at them close enough

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

      Ah yes, what C needs is VTABLEs.

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.

  • 107 users / day
  • 2.75K users / week
  • 5.89K users / month
  • 13.5K users / 6 months
  • 1 local subscriber
  • 28K subscribers
  • 1.71K Posts
  • 44.1K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org