federate.cc
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@unlawfulbooger@lemmy.blahaj.zone to Programmer Humor@lemmy.ml • 2 years ago

On this deserted island I could use some help()

lemmy.blahaj.zone

message-square
30
fedilink
1.15K

On this deserted island I could use some help()

lemmy.blahaj.zone

@unlawfulbooger@lemmy.blahaj.zone to Programmer Humor@lemmy.ml • 2 years ago
message-square
30
fedilink
  • @WhiskyTangoFoxtrot@lemmy.world
    link
    fedilink
    13•2 years ago

    Guessing at what the programmer wants instead of implementing consistent behaviour is what Javascript does. Do you want Python to become Javascript?

    • @tetris11@lemmy.ml
      link
      fedilink
      5•2 years ago

      Just once I want '1' + '2' to equal '3'. Is that so much to ask?

      • Metype
        link
        fedilink
        English
        7•2 years ago

        You want to remove the string concatenation operator? Cause that’ll do it

        • @tetris11@lemmy.ml
          link
          fedilink
          9•2 years ago

          I think every language needs a please operator, which acts to enforce human expectation of a statement:

          '1'  + '1'            ## evaluates to '11'
          please '1' + '1' ## evaluates to '2'
          
          • @PlexSheep@feddit.de
            link
            fedilink
            4•2 years ago

            I kinda like that

      • @wewbull@feddit.uk
        link
        fedilink
        English
        5•2 years ago

        Yes. Yes it is.

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.
  • 181 users / day
  • 994 users / week
  • 3.17K users / month
  • 9.52K users / 6 months
  • 37K subscribers
  • 1.78K Posts
  • 35.6K Comments
  • Modlog
  • mods:
  • @cat_programmer@lemmy.ml
  • @AgreeableLandscape@lemmy.ml
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org