LibreTechni.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Sphks@jlai.lu to Programmer Humor@programming.dev · 6 hours ago

< :-( >

jlai.lu

message-square
31
fedilink
473

< :-( >

jlai.lu

Sphks@jlai.lu to Programmer Humor@programming.dev · 6 hours ago
message-square
31
fedilink
alert-triangle
You must log in or register to comment.
  • yetAnotherUser@lemmy.ca
    link
    fedilink
    arrow-up
    12
    ·
    2 hours ago

    Uncaffeinated needs Lisp in their life. The programming language doesn’t have a feature you need? Implement it yourself 👍

  • apftwb@lemmy.world
    link
    fedilink
    arrow-up
    66
    ·
    edit-2
    4 hours ago

    <>

    These are angle brackets

    ᐸᐳ

    These are Canadian Aboriginal Syntax Blocks

    • boonhet@sopuli.xyz
      link
      fedilink
      arrow-up
      2
      ·
      33 minutes ago

      Most compilers tell you what’s up these days, but

      ;

      Greek question mark

      ;

      Semicolon

    • raspberriesareyummy@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      1 hour ago

      Corporate needs you to find…

    • ruuster13@lemmy.zip
      link
      fedilink
      arrow-up
      2
      ·
      1 hour ago

      There’s room for my mom and your mom in programming.

  • Australis13@fedia.io
    link
    fedilink
    arrow-up
    77
    ·
    5 hours ago

    I don’t know whether to be impressed or horrified.

    • obelisk_complex@piefed.ca
      link
      fedilink
      English
      arrow-up
      51
      ·
      5 hours ago

      “Both” is also acceptable.

    • bitjunkie@lemmy.world
      link
      fedilink
      arrow-up
      11
      ·
      5 hours ago

      Yes.

  • azuth@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 hours ago

    ;;;;;;;;

  • trem@lemmy.blahaj.zone
    link
    fedilink
    English
    arrow-up
    25
    ·
    5 hours ago

    I had to start reading that three times over, because I saw they mentioned “Canadian” and just assumed the angle brackets are a joke in reference to the Canadians in South Park:

    Drawn characters with angles for their mouths.

  • pooberbee (she/her)@lemmy.ml
    link
    fedilink
    arrow-up
    50
    ·
    5 hours ago

    My old job legitimately did this in C++ with a Perl script because we had to be able to build on some weird, old systems and couldn’t use C++ templates.

  • slazer2au@lemmy.world
    link
    fedilink
    English
    arrow-up
    92
    ·
    6 hours ago

    Unicode truly is amazing.

    Like that fake apple site that uses the Cyrillic A instead of the Latin A.

    Or the Greek question mark being a different code to Latin question marks.

    • gkak.laₛ@lemmy.zip
      link
      fedilink
      English
      arrow-up
      33
      ·
      edit-2
      5 hours ago

      Greek-Latin question marks

      Actually the Greek question mark (;) looks like the Latin semi-colon (;)!

      Last time I looked it up I think I found they are the same characters, and I tried compiling C with a Greek question mark instead of a semi-colon and it compiled fine! But I’m curious if it was because of something else, like my computer’s keyboard layout, or the compiler simply being able to handle them 🤔

      • VindictiveJudge@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 hours ago

        Wait, does C read like valley girl speech in Greek?

        • raspberriesareyummy@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          1 hour ago

          Shit - the next five weeks I’ll read C++ lines in upspeak in my head :(

      • palordrolap@fedia.io
        link
        fedilink
        arrow-up
        24
        ·
        5 hours ago

        Something somewhere was definitely doing the conversion for you, but it could have been your editor, the compiler or something in between like a C preprocessor directive getting loaded in by your configuration.

        • 418_im_a_teapot@sh.itjust.works
          link
          fedilink
          arrow-up
          1
          ·
          2 hours ago

          I’d be pissed if it was my editor. A compiler used on a global scale would make sense.

          • raspberriesareyummy@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            1 hour ago

            Nah, I would absolutely want my compiler to error out hard on characters that are not allowed per the standard.

  • poopsmith@lemmy.ml
    link
    fedilink
    English
    arrow-up
    23
    ·
    5 hours ago

    The OOP goons eventually won and Go added generics a few years back.

    • gnutrino@programming.dev
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 hours ago

      Generics aren’t really OOP, OOP tends to use run time dynamic dispatch through inheritance. Generics come from functional programming type constructors.

    • Corbin@programming.dev
      link
      fedilink
      English
      arrow-up
      8
      ·
      3 hours ago

      You’re thinking of architecture astronauts when talking about generics. The biggest win of the object-oriented folks was to get a garbage collector included by default; compare and contrast with Rust, which ended up not having garbage collection.

    • ripcord@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      3 hours ago

      Huh.

      https://go.dev/doc/tutorial/generics

  • Lucy :3@feddit.org
    link
    fedilink
    arrow-up
    40
    ·
    6 hours ago

    It’s fucking genius

    • einkorn@feddit.org
      link
      fedilink
      arrow-up
      33
      ·
      6 hours ago

      They were too preoccupied with whether they could instead of asking whether they should.

    • Deebster@infosec.pub
      link
      fedilink
      arrow-up
      15
      ·
      6 hours ago

      I wonder if you could write a valid program in two different languages using this technique.

      • 9point6@lemmy.world
        link
        fedilink
        arrow-up
        31
        ·
        6 hours ago

        You can do it with any language where whitespace doesn’t matter and Whitespace

        • 𝕊𝕞𝕒𝕔𝕜𝕖𝕞 𝕎𝕚𝕥𝕥𝕒𝕕𝕚𝕔 🇵🇸@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          4 hours ago

          That’s what I use to show people the exact message I sent before. It gets around any app that doesn’t let you send blank messages. I have it saved on my clipboard for this

          • 𝕊𝕞𝕒𝕔𝕜𝕖𝕞 𝕎𝕚𝕥𝕥𝕒𝕕𝕚𝕔 🇵🇸@lemmy.world
            link
            fedilink
            arrow-up
            2
            ·
            4 hours ago

      • Natanael@slrpnk.net
        link
        fedilink
        arrow-up
        15
        ·
        6 hours ago

        Absolutely, that’s a polyglot file

        • vrek@programming.dev
          link
          fedilink
          English
          arrow-up
          21
          ·
          5 hours ago

          Not quite this exact case but I love showing people https://github.com/mame/quine-relay

          It has 128 languages, it starts with ruby which prints out its own source code in Scala, then the Scala program executes to generate the next source code, repeat for 128 languages and eventually returns to the original ruby code.

          For extra fun, look at the source code on a large monitor.

          • Arthur Besse@lemmy.ml
            link
            fedilink
            English
            arrow-up
            2
            ·
            4 hours ago

            amazing! it’s great to see that is still being maintained after so many years.

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.

  • 1.08K users / day
  • 4.49K users / week
  • 7.97K users / month
  • 17.6K users / 6 months
  • 1 local subscriber
  • 31.3K subscribers
  • 1.22K Posts
  • 23.2K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org