Freewill Tiger
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Mac@programming.dev to Programming Horror@programming.dev · 2 years ago

string.lower implementation

programming.dev

message-square
10
link
fedilink
1

string.lower implementation

programming.dev

Mac@programming.dev to Programming Horror@programming.dev · 2 years ago
message-square
10
link
fedilink
alert-triangle
You must log in or register to comment.
  • SzethFriendOfNimi@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    But… does it pass all the tests?

    • _stranger_@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      If it does, they don’t have enough of the right tests.

      • madcaesar@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        2 years ago

        Elaborate

        • 48954246@lemmy.world
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 years ago

          What would the output be for the following:

          99 Beers on the Wall!

          • AnUnusualRelic@lemmy.world
            link
            fedilink
            arrow-up
            0
            ·
            2 years ago

            Or for “CAFÉ”?

  • earmuff@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    Now please publish it as a Node.js module and in 3 weeks, it will be in Top 10 most used modules, being used in 90% of Fortune 500 corporations.

  • Binette@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    2 years ago

    I hope this is O(n!)

  • jet@hackertalks.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    2 years ago

    This will not work on Unicode

    Greek and Arabic have cases as well

    • MoSal@lemm.ee
      link
      fedilink
      arrow-up
      0
      ·
      2 years ago

      This will not work on Unicode

      Correct.

      Greek and Arabic have cases as well

      Who told you that?

      • jet@hackertalks.com
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 years ago

        Brain fart, I meant Cyrillic but I wrote the wrong word! Good catch thanks!

Programming Horror@programming.dev

programming_horror@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: !programming_horror@programming.dev

Welcome to Programming Horror!

This is a place to share strange or terrible code you come across.

For more general memes about programming there’s also Programmer Humor.

Looking for mods. If youre interested in moderating the community feel free to dm @Ategon@programming.dev

Rules

  • Keep content in english
  • No advertisements (this includes both code in advertisements and advertisement in posts)
  • No generated code (a person has to have made it)

Credits

  • Icon base made by Lorc under CC BY 3.0 with modifications to add a gradient
Visibility: Public
globe

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

  • 1 user / day
  • 1 user / week
  • 1 user / month
  • 10 users / 6 months
  • 0 local subscribers
  • 2.42K subscribers
  • 44 Posts
  • 102 Comments
  • Modlog
  • mods:
  • Vacant@programming.dev
  • BE: 0.19.20
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org