String length Memes

Posts tagged with String length

Brevity Is The Soul Of Wit

Brevity Is The Soul Of Wit
Someone asked the simplest question in the universe: "How do I get the length of a string in C#?" and Microsoft Community decided to write the entire Lord of the Rings trilogy as a response. Meanwhile, Stack Overflow just drops "str.Length" like a mic drop and walks away. Microsoft Community out here with the "Hello, my name is Blake" energy, writing three paragraphs about the .NET Framework's "efficient and intuitive built-in property" when literally two words would've done the job. It's like asking someone what time it is and they explain how watches are manufactured. This is why developers have trust issues with official documentation. Sometimes you just need the answer, not a dissertation on string manipulation theory.

Playtesters Quickly Discovered There Is No Explicit Cap To Display Names

Playtesters Quickly Discovered There Is No Explicit Cap To Display Names
The first rule of game development: always sanitize your inputs . Some poor dev just learned that VARCHAR(255) isn't enough when players can create display names like "ConundrumSupercalifragilisticexpusVortexWhimsicalWhisperXenodochialXyloglyphyYesteryearYggdrasilZanyZephyrZigguratZillionaireZenithZealotZiplineZigzaggingZephyrine" while flying spaceships and making terrible tuna puns. The database admin is probably having a nervous breakdown right now while the QA team is laughing hysterically. And somewhere, a junior dev is frantically writing a regex at 2 AM that they'll eventually copy-paste from Stack Overflow anyway.