Lemmy
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
cm0002@lemy.lol to Programmer Humor@programming.dev · 2 months ago

;;;;;;

lemy.lol

message-square
142
link
fedilink
911

;;;;;;

lemy.lol

cm0002@lemy.lol to Programmer Humor@programming.dev · 2 months ago
message-square
142
link
fedilink
  • LeFrog@discuss.tchncs.de
    link
    fedilink
    arrow-up
    42
    arrow-down
    1
    ·
    2 months ago

    as a fellow Python user, I fucking hate significant whitespace. Also YAML. WTF they where thinking

    • TwilightKiddy@scribe.disroot.org
      link
      fedilink
      English
      arrow-up
      23
      ·
      2 months ago

      There were plenty of blanks in their thoughts.

      • SwooshBakery624 [they/them]@programming.dev
        link
        fedilink
        English
        arrow-up
        7
        ·
        2 months ago

        You could even say they had plenty of space in their heads.

    • Get_Off_My_WLAN@fedia.io
      link
      fedilink
      arrow-up
      11
      ·
      2 months ago

      I will take YAML’s string blocks where I don’t have to escape special characters over JSON any day.

      • Err(()).unwrap()@lemmy.world
        link
        fedilink
        arrow-up
        3
        ·
        2 months ago

        I will take a hammer to my balls if it means I never have to use <![CDATA[ again.

    • Sibbo@sopuli.xyz
      link
      fedilink
      arrow-up
      9
      ·
      2 months ago

      It’s to make students actually format their code correctly

    • Err(()).unwrap()@lemmy.world
      link
      fedilink
      arrow-up
      8
      arrow-down
      3
      ·
      2 months ago

      …that modern systems should stop sucking at parsing leading whitespaces.

    • esc@piefed.social
      link
      fedilink
      English
      arrow-up
      5
      arrow-down
      1
      ·
      2 months ago

      They are alright, yaml problems are overblown, significant whitespace as well.

      • we_need_more_dwellings@piefed.world
        link
        fedilink
        English
        arrow-up
        5
        ·
        2 months ago

        Whitespaces are not problem at all. But YAML values parsing rules, uh boy…

        • esc@piefed.social
          link
          fedilink
          English
          arrow-up
          3
          arrow-down
          1
          ·
          2 months ago

          There is pyyaml, probably other libraries, that take the pain away.

    • rockSlayer@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 months ago

      I don’t really have a solution for the whitespace issue, but you could always switch to TOML

    • rumschlumpel@feddit.org
      link
      fedilink
      arrow-up
      4
      arrow-down
      2
      ·
      2 months ago

      Significant whitespace is the best! I don’t understand why so many people have issues with it.

    • MalReynolds@slrpnk.net
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 months ago

      Fussy.

      DWIM

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
    • If the mod doesn’t find it funny, you’re banned. Ha-ha!.. For real: do not use the community for “statements”. There are other places for such content. Keep it chill and funny.
Visibility: Public
globe

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

  • 1.21K users / day
  • 3.82K users / week
  • 8.46K users / month
  • 16.4K users / 6 months
  • 1 local subscriber
  • 34.3K subscribers
  • 2.05K Posts
  • 57K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.21
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org