LibreTechni.ca
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Dispassionate@quokk.au to Programmer Humor@programming.devEnglish · 1 day ago

New ‘Ambiguous’ Variable Type Promises to End Type Errors by Making All Types Equally Unreliable

disreport.com

external-link
message-square
50
fedilink
37
external-link

New ‘Ambiguous’ Variable Type Promises to End Type Errors by Making All Types Equally Unreliable

disreport.com

Dispassionate@quokk.au to Programmer Humor@programming.devEnglish · 1 day ago
message-square
50
fedilink
Developers warn the new standard could introduce unprecedented uncertainty, while executives praise its flexibility and reduced documentation requirements.
  • unalivejoy@piefed.social
    link
    fedilink
    English
    arrow-up
    44
    ·
    1 day ago

    JavaScript’s dangerously permissive any

    Excuse me? JavaScript doesn’t have any. They’re thinking of TypeScript’s any.

    • call_me_xale@lemmy.zip
      link
      fedilink
      arrow-up
      36
      ·
      1 day ago

      I mean, technically all JavaScript variables are typed any

      • 0xDREADBEEF@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        9
        ·
        23 hours ago

        you are forgetting the [object Object] type

        • Dispassionate@quokk.auOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          41 minutes ago

          Have you heard of the new [objective Object] it’s an impartial

        • DangerNooble@lemmy.world
          link
          fedilink
          arrow-up
          11
          ·
          20 hours ago

          If you’re ever feeling a little mischievous, that’s also great placeholder text to hide in language files

          • Feathercrown@lemmy.world
            link
            fedilink
            English
            arrow-up
            6
            ·
            16 hours ago

      • unalivejoy@piefed.social
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        They’re typed as any only when you use typescript.

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.

  • 709 users / day
  • 2.35K users / week
  • 7.02K users / month
  • 15.1K users / 6 months
  • 1 local subscriber
  • 34K subscribers
  • 1.76K Posts
  • 39.1K Comments
  • Modlog
  • mods:
  • adr1an@programming.dev
  • Feyter@programming.dev
  • BurningTurtle@programming.dev
  • Pierre-Yves Lapersonne@programming.dev
  • BE: 0.19.5
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org