Lemmings.world
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
anders@rytter.me to Programmer Humor@lemmy.ml · 2 years ago

python ;

rytter.me

message-square
40
link
fedilink
178

python ;

rytter.me

anders@rytter.me to Programmer Humor@lemmy.ml · 2 years ago
message-square
40
link
fedilink

@programmerhumor

alert-triangle
You must log in or register to comment.
  • Rooki@lemmy.world
    link
    fedilink
    arrow-up
    21
    arrow-down
    1
    ·
    2 years ago

    And added

    • Shitty
      • Little
      • Indentations
    • BigBon@lemmy.fmhy.ml
      link
      fedilink
      arrow-up
      7
      ·
      2 years ago

      And then you do the same in c with ; for better readability

      • TwilightKiddy@programming.dev
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        Sometimes inline stuff is more readable.

        • Fushuan [he/him]@lemm.ee
          link
          fedilink
          arrow-up
          3
          ·
          edit-2
          2 years ago

          We got that in python too!

          your_mom = "the best" if i_got_icecream() else "just good"

          Edit: on a more serious note, I’m not sure if python’s syntax helps with readability, in the real world everyone indents or you won’t really keep your job, and I’ve read some really shitty python code anyway, indented or not.

          If a c/++/js/whatever file is unreadable, grab your favourite flavour of autoformatter and run it to read the thing, but shitty naming won’t get fixed by that.

    • FUsername@feddit.de
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      2 years ago

      …and I am not sure which of both evil grind my gears more.

      • Rooki@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        then use javascript :) it has neither

        • FUsername@feddit.de
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          2 years ago

          …guess what I do for a living 😜 But there, I dislike the typelessness.

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

            then use typescript…XD

            • FUsername@feddit.de
              link
              fedilink
              arrow-up
              0
              ·
              2 years ago

              I would really like to, but it is not supported on the target, sooo…

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

                You know typescript is a language that is getting transpiled to plain js. ( Module, CommonJS, almost every version ). So it can not not fit in there XD

  • ripcord@kbin.social
    link
    fedilink
    arrow-up
    8
    ·
    2 years ago

    I dropped the ; and have never looked back, yo

  • CommunityLinkFixerBotB
    link
    fedilink
    English
    arrow-up
    4
    ·
    2 years ago

    Hi there! The links in your response are not clickable for Lemmy users, here are the clickable versions: !programmerhumor@lemmy.ml

    • anders@rytter.meOP
      link
      fedilink
      arrow-up
      2
      ·
      2 years ago

      @CommunityLinkFixer
      It’s not meant to be clickable. It’s just meant to tag the community.

      I can’t do it differently than this in Friendica. The problem if I use ! is that the post will become private, which I don’t want.

      • anders@rytter.meOP
        link
        fedilink
        arrow-up
        3
        ·
        2 years ago

        @CommunityLinkFixer
        Lol. Didn’t realize it was a bot 😃

        • CIA_chatbot@lemmy.world
          link
          fedilink
          arrow-up
          5
          ·
          edit-2
          2 years ago

          So. What do you have against bots? Racist

          • anders@rytter.meOP
            link
            fedilink
            arrow-up
            4
            ·
            2 years ago

            @CIA_chatbot
            😂 I apologize 😄

            • CIA_chatbot@lemmy.world
              link
              fedilink
              arrow-up
              4
              ·
              2 years ago

              That’s better, bots are people too!

        • maegul (he/they)@lemmy.ml
          link
          fedilink
          arrow-up
          4
          ·
          2 years ago

          Don’t worry … it was adorably understandable. Like … “let him get it out, he needs to say this”.

      • Rikudou_SageA
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 years ago

        Thanks for the info, the bot now takes that into account!

        • anders@rytter.meOP
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          @rikudou oh cool! thank you!

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

        It actually is clickable and works properly for me, using voyager + Firefox + android funnily enough

        • anders@rytter.meOP
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          @astropenguin5
          What is voyager?

          And yes it is clickable but the problem is, it sends people to lemmy.ml which is where the community is hosted. That might be a problem for people who aren’t registered on this instance.

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

            Just to confirm, it’s the @programminghumor link right? When I tap it it sends me to the community in the app, not opening a website. I’ll check how it behaves on my laptop too in the normal website

            And Voyager is what was formerly wefwef.app, the url is the same still I think but the name has changed. It’s a PWA for mobile

            • anders@rytter.meOP
              link
              fedilink
              arrow-up
              1
              ·
              2 years ago

              @astropenguin5
              Ah I see. Cool app!

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

                Yeah i really like it. i just tried it on my laptop in normal browser, and it does behave poorly. even in voyager/wefwef on my laptop it is weird using this link but on my phone it acts like this

                Edit: maybe it’s because on my phone I’m signed in to lemmy.world and it auto-fixes the link?

      • zbecker@mastodon.zbecker.cc
        link
        fedilink
        arrow-up
        1
        ·
        2 years ago

        @anders @CommunityLinkFixer

        Interestingly enough, on mastodon, I can’t even see you tagging the community…

        • anders@rytter.meOP
          link
          fedilink
          arrow-up
          1
          ·
          2 years ago

          @zbecker
          It’s because I put a title which Mastodon doesn’t support so for some reason the content of the post is in this case replaced with a link.

          If I put the title in the content of the post without a title, you will see the tag.
          @CommunityLinkFixer

          • zbecker@mastodon.zbecker.cc
            link
            fedilink
            arrow-up
            2
            ·
            edit-2
            2 years ago

            @anders @CommunityLinkFixer

            Woops, I misread what you said, that makes sense.

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

    But you HAVE to have 4 tabs for the next line, though.

    • anders@rytter.meOP
      link
      fedilink
      arrow-up
      1
      ·
      2 years ago

      @donut4ever
      True 😁

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.

  • 182 users / day
  • 792 users / week
  • 1.73K users / month
  • 10.1K users / 6 months
  • 132 local subscribers
  • 35.6K subscribers
  • 1.7K Posts
  • 36.5K Comments
  • Modlog
  • mods:
  • cat_programmer@lemmy.ml
  • AgreeableLandscape@lemmy.ml
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org