szmer
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
MalikMuaddibSoong@startrek.website to Programmer Humor@lemmy.mlEnglish · 1 month ago

My favorite part of the job

lemmy.ml

message-square
21
fedilink
169

My favorite part of the job

lemmy.ml

MalikMuaddibSoong@startrek.website to Programmer Humor@lemmy.mlEnglish · 1 month ago
message-square
21
fedilink
alert-triangle
You must log in or # to comment.
  • AmazingAwesomator@lemmy.world
    link
    fedilink
    arrow-up
    31
    arrow-down
    3
    ·
    1 month ago

    the fact that these are strings instead of an object that is broken up by country code, area code, and number makes me irrationally angry.

    • wizardbeard@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      27
      ·
      edit-2
      1 month ago

      Could be tests for a parser to convert it from string to object.

      Not like your end users are going to type each piece into a separate field.

    • gandalf_der_12te@discuss.tchncs.de
      link
      fedilink
      arrow-up
      22
      ·
      1 month ago

      i think you think that telephone numbers are well-structured. they are not. they are messy. they do not fit a certain schematic.

      I recommend also the following topic: “people have names”. https://www.kalzumeus.com/2010/06/17/falsehoods-programmers-believe-about-names/

      Names do not in general fit into the schematic “first name, last name”

      • CanadaPlus@lemmy.sdf.org
        link
        fedilink
        arrow-up
        2
        ·
        edit-2
        1 month ago

        Is there not a “falsehoods programmers think about phone numbers” yet?

        Edit: And once again, I’m still confused about some of these. Do we need to expand unicode for names? It’s supposed to be universal. WTF is up with 40?

        • Skull giver@popplesburger.hilciferous.nl
          link
          fedilink
          arrow-up
          4
          ·
          edit-2
          8 days ago

          deleted by creator

        • gandalf_der_12te@discuss.tchncs.de
          link
          fedilink
          arrow-up
          1
          ·
          edit-2
          1 month ago

          WTF is up with 40?

          People have names.

          I suppose that a counterexample to this might be Tibetan children, who get named at puberty, IIRC. Before that, they have no names. They are just referred to as “child” or “somebody’s child”.

          People’s names are all mapped in Unicode code points.

          I suppose a counterexample to that might be cultures which do not use script in general. Then, obviously, there’s no Unicode characters for these non-existant glyphs.

          • CanadaPlus@lemmy.sdf.org
            link
            fedilink
            arrow-up
            1
            ·
            1 month ago

            Ah, so it dovetails with the whole “children get a name reasonably fast” thing. I was interpreting that as “ever, in a natural lifespan”. My bad, haha.

            I suppose a counterexample to that might be cultures which do not use script in general. Then, obviously, there’s no Unicode characters for these non-existant glyphs.

            True, but there’s little risk of a name being entered into a form without some kind of transcription.

    • Skull giver@popplesburger.hilciferous.nl
      link
      fedilink
      arrow-up
      10
      ·
      edit-2
      8 days ago

      deleted by creator

    • MyNameIsRichard@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      1 month ago

      Found the Java programmer…

      • AmazingAwesomator@lemmy.world
        link
        fedilink
        arrow-up
        7
        ·
        1 month ago

        microsoft java :p

    • ddplf
      link
      fedilink
      arrow-up
      5
      arrow-down
      2
      ·
      1 month ago

      You seem to enjoy overengineering your code, don’t you?

    • HiddenLayer555@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 month ago

      Better than an integer at least.

    • Clent@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 month ago

      “The number” is itself two parts hence the dash. The first section being the prefix and the last part being the line number.

  • SubArcticTundra@lemmy.ml
    link
    fedilink
    arrow-up
    7
    ·
    edit-2
    1 month ago

    I think it’s commendable to vertically align code. (Just not with tabs.) It makes it look neater.

  • jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 month ago

    Without monospacing…

  • colournoun@beehaw.org
    link
    fedilink
    arrow-up
    6
    ·
    1 month ago

    Junior devs don’t know Jenny.

    • CanadaPlus@lemmy.sdf.org
      link
      fedilink
      arrow-up
      2
      ·
      1 month ago

      It’s true. Who’s Jenny, for the zoomers in the chat?

      • colournoun@beehaw.org
        link
        fedilink
        arrow-up
        4
        ·
        1 month ago

        It was a very popular song in the 80s. Jenny’s phone number was 867-5309.

        https://en.m.wikipedia.org/wiki/867-5309/Jenny

        If you’re ever at a store and need a frequent shopper card, this number with your local area code is usually registered.

        • CanadaPlus@lemmy.sdf.org
          link
          fedilink
          arrow-up
          2
          ·
          1 month ago

          Interesting how Wikipedia handles slashes in the title.

          Good to know! Although I have to wonder if that’s true for programs more recently set up as well. That was >40 years ago.

          • Crashumbc@lemmy.world
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 month ago

            I suspect most reasonably populated areas it works.

  • phantomwise@lemmy.ml
    link
    fedilink
    English
    arrow-up
    6
    ·
    1 month ago

    Not gonna lie, that vertical alignment is making my brain purr like a kitten

  • sepi@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 month ago

    Tell me you are 40-50 without telling me

  • nautilus@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    Could have stopped the meme at the top text to be honest

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.

  • 390 users / day
  • 691 users / week
  • 2.78K users / month
  • 8.83K users / 6 months
  • 40 local subscribers
  • 37.3K subscribers
  • 1.93K Posts
  • 37.7K Comments
  • Modlog
  • mods:
  • AgreeableLandscape@lemmy.ml
  • cat_programmer@lemmy.ml
  • BE: 0.19.6
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org