Lemmy.one
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago

True Story

lemmy.world

message-square
32
fedilink
241

True Story

lemmy.world

𝔻𝔼𝕍𝕀𝕃𝕀𝕊ℍ@lemmy.world to Programmer Humor@lemmy.ml · 1 year ago
message-square
32
fedilink
  • 🇨🇦 tunetardis@lemmy.ca
    link
    fedilink
    arrow-up
    35
    ·
    1 year ago

    Looks like we’ve got a Java programmer here taking C++ for a spin.

    • BeigeAgenda@lemmy.ca
      link
      fedilink
      arrow-up
      5
      ·
      1 year ago

      Yep, first thing that comes to mind is that header only classes need to use inline functions.

      • brisk@aussie.zone
        link
        fedilink
        arrow-up
        5
        ·
        edit-2
        1 year ago

        Member functions that are defined within a class definition are implicitly inline

        • BeigeAgenda@lemmy.ca
          link
          fedilink
          arrow-up
          3
          ·
          1 year ago

          Ah I see now that I mixed it up with classless functions in a header.

Programmer Humor@lemmy.ml

programmerhumor@lemmy.ml

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: !programmerhumor@lemmy.ml

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
Visibility: Public
globe

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

  • 109 users / day
  • 866 users / week
  • 3.53K users / month
  • 8.65K users / 6 months
  • 440 local subscribers
  • 37.9K subscribers
  • 1.85K Posts
  • 39.2K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.7
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org