this post was submitted on 26 Nov 2025
493 points (99.4% liked)

Programmer Humor

27512 readers
1029 users here now

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

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] moosetwin@lemmy.dbzer0.com 15 points 21 hours ago* (last edited 21 hours ago) (1 children)

fuck me c# - is this how we compare paths

hahaha I've done this exact thing before, with windows formatting folder paths as x/y/z and file paths as x\y\z.ext, especially since some modules would only accept one format or another

[โ€“] ulterno@programming.dev -1 points 11 hours ago

Why don't they just have a FilePath class with an == operator?
I've never felt so elated for taking up Qt instead of going with the .NET C# route.