social.sour.is
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
anders to Programmer Humor@lemmy.ml • 2 years ago

python ;

rytter.me

message-square
33
fedilink
159

python ;

rytter.me

anders to Programmer Humor@lemmy.ml • 2 years ago
message-square
33
fedilink

@programmerhumor

alert-triangle
You must log in or register to comment.
  • @Rooki@lemmy.world
    link
    fedilink
    19•2 years ago

    And added

    • Shitty
      • Little
      • Indentations
    • @BigBon@lemmy.fmhy.ml
      link
      fedilink
      8•2 years ago

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

      • @TwilightKiddy@programming.dev
        link
        fedilink
        3•2 years ago

        Sometimes inline stuff is more readable.

        • Fushuan [he/him]
          link
          fedilink
          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
      1•
      edit-2
      2 years ago

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

      • @Rooki@lemmy.world
        link
        fedilink
        0•2 years ago

        then use javascript :) it has neither

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

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

          • @Rooki@lemmy.world
            link
            fedilink
            2•2 years ago

            then use typescript…XD

            • @FUsername@feddit.de
              link
              fedilink
              0•2 years ago

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

              • @Rooki@lemmy.world
                link
                fedilink
                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
    link
    fedilink
    7•2 years ago

    I dropped the ; and have never looked back, yo

  • CommunityLinkFixerBotB
    link
    fedilink
    English
    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

    • andersOP
      link
      fedilink
      1•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.

      • Rikudou_Sage
        link
        fedilink
        English
        2•2 years ago

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

        • andersOP
          link
          fedilink
          1•2 years ago

          @rikudou oh cool! thank you!

      • andersOP
        link
        fedilink
        2•2 years ago

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

        • @CIA_chatbot@lemmy.world
          link
          fedilink
          4•
          edit-2
          2 years ago

          So. What do you have against bots? Racist

          • andersOP
            link
            fedilink
            3•2 years ago

            @CIA_chatbot
            😂 I apologize 😄

            • @CIA_chatbot@lemmy.world
              link
              fedilink
              4•2 years ago

              That’s better, bots are people too!

        • maegul (he/they)
          link
          fedilink
          3•2 years ago

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

      • @astropenguin5@lemmy.world
        link
        fedilink
        1•2 years ago

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

        • andersOP
          link
          fedilink
          0•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
            0•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

            • andersOP
              link
              fedilink
              0•2 years ago

              @astropenguin5
              Ah I see. Cool app!

              • @astropenguin5@lemmy.world
                link
                fedilink
                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?

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.
  • 299 users / day
  • 1.73K users / week
  • 2.44K users / month
  • 10.4K users / 6 months
  • 35.7K subscribers
  • 1.77K Posts
  • 39.1K Comments
  • Modlog
  • mods:
  • @AgreeableLandscape@lemmy.ml
  • @cat_programmer@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org