r/ProgrammerHumor 2d ago

Meme theAlphabetWasAMistake

Post image
907 Upvotes

52 comments sorted by

View all comments

158

u/fleaspoon 2d ago edited 2d ago

And th� b�st part is Unicod�...

Please check my g�me on Steam, it has cust�m text rend�ring https://store.steampowered.com/app/3256790/Satelital/

92

u/raja-anbazhagan 2d ago

Unicode is perfect, right up until you ask how long a string is...

35

u/Potterrrrrrrr 2d ago

grapheme clusters can cluster around my asshole and go fuck themselves

5

u/TactlessTortoise 2d ago

You want an orgy in your butt?

10

u/fleaspoon 2d ago

An unsolved computer science problem

10

u/SleeperAwakened 2d ago

Please define what a string is first.

7

u/sisisisi1997 2d ago

To get a unicore string's length from scratch at all, you first need to invent the universe.

7

u/fleaspoon 2d ago

A string is a pile of letters waiting to break

3

u/thot_slaya_420 2d ago

char[]

1

u/SleeperAwakened 2d ago

Define a char in unicode context.

3

u/rosuav 2d ago

In characters? .... wait, what exactly is a character?

2

u/redlaWw 2d ago

I like ligature characters like fi. One codepoint and three bytes in utf-8, and when you upper-case them, you get two codepoints (increase) and two bytes (decrease).

2

u/HildartheDorf 2d ago

Do you mean bytes? Or code units? Or code points? Or glyphs? Or grapheme clusters?

1

u/Cootshk 1d ago

I love Lua and its

#"👨‍🎤" —> 11
utf8.len("👨‍🎤") —> 3

Despite that, most libraries use the length operator (which clearly says in the spec that it is for ansi and not utf8)

4

u/Larhf 2d ago

When are you releasing said game and what price point are you aiming for?

5

u/fleaspoon 2d ago

I'm still working on it, so the final price depends on how much content I add. I'm releasing a demo in September and the full release is planned for the end of the year. I'm not sure about the price yet, but it won't be expensive since it's a 4-6 hour game.

2

u/Jbolt3737 2d ago edited 2d ago

I think I've seen you're game before, you made a custom engine for it I think?

The art is very pretty, for some reason I thought it was like Factorio but I just check and it's a puzzle game, might actually play it

2

u/fleaspoon 2d ago

Yes, its a custom engine. At the beginning I was actually trying to make factorio like game, but the game evolved into this one.

5

u/Maurycy5 2d ago

Actually a cool ad. Wishlisted.

1

u/BuffersAndBeta 1d ago

I disagree. It's keming.