halubilo.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
@[email protected] to Programmer [email protected] • 1 year ago

On this deserted island I could use some help()

lemmy.blahaj.zone

message-square
32
fedilink
1.17K

On this deserted island I could use some help()

lemmy.blahaj.zone

@[email protected] to Programmer [email protected] • 1 year ago
message-square
32
fedilink
  • @[email protected]
    link
    fedilink
    14•1 year ago

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

    • @[email protected]
      link
      fedilink
      5•1 year ago

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

      • Metype
        link
        fedilink
        English
        7•1 year ago

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

        • @[email protected]
          link
          fedilink
          9•1 year 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'
          
          • @[email protected]
            link
            fedilink
            4•1 year ago

            I kinda like that

      • @[email protected]
        link
        fedilink
        English
        5•1 year ago

        Yes. Yes it is.

Programmer [email protected]

[email protected]

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: [email protected]

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.
  • 277 users / day
  • 1.99K users / week
  • 3.22K users / month
  • 9.65K users / 6 months
  • 36K subscribers
  • 1.74K Posts
  • 37.5K Comments
  • Modlog
  • mods:
  • @[email protected]
  • @[email protected]
  • BE: 0.19.3
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org