SKBLu
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
ElCanut@jlai.lu to Programmer Humor@programming.dev · 1 year ago

Asking the real questions

jlai.lu

message-square
73
link
fedilink
727

Asking the real questions

jlai.lu

ElCanut@jlai.lu to Programmer Humor@programming.dev · 1 year ago
message-square
73
link
fedilink
  • Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    24
    ·
    1 year ago

    Easy, John\nDoe

    • Nomecks@lemmy.ca
      link
      fedilink
      arrow-up
      2
      arrow-down
      6
      ·
      1 year ago

      Probably have to escape it so it will work properly: John\/nDoe

      • Andromxda 🇺🇦🇵🇸🇹🇼@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        21
        ·
        1 year ago

        \n already is an escape sequence, consisting of \, the escape character, and n, the code that is responsible for the new line. Together they form an escape sequence.

        • Bldck@beehaw.org
          link
          fedilink
          English
          arrow-up
          5
          ·
          1 year ago

          This person unicodes

        • Nomecks@lemmy.ca
          link
          fedilink
          arrow-up
          1
          ·
          1 year ago

          Sure, but if you don’t escape the \ then you likely won’t even be able to get the name into the first system. You need the name to contain \n so that it gets passed correctly to other systems, otherwise his name may wind up just being “John” .

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.04K users / day
  • 4.95K users / week
  • 8.93K users / month
  • 18.8K users / 6 months
  • 1 local subscriber
  • 27.2K subscribers
  • 1.68K Posts
  • 45K Comments
  • Modlog
  • mods:
  • Feyter@programming.dev
  • adr1an@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.13
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org