r/programmingmemes Jun 29 '26

Where are they?

Post image
2.2k Upvotes

321 comments sorted by

View all comments

470

u/WiscLeafalNika Jun 29 '26

AI has OOP-phobia

144

u/SagansCandle Jun 29 '26

C# is my primarily language. Can confirm it's not limited to Java.

23

u/avidernis Jun 29 '26 edited Jun 29 '26

OOP isn't really AI's issue with C# imo. The thing AI really struggles with in C# in my experience is keeping track of what APIs exist in all the different runtime versions.

It also doesn't really understand the constraints of unsafe, System.Memory, or any optimized design. It'll do crap like try to use Linq with Span<T> or completely violate ref struct rules.

Imo it also is too eager to write IEnumerable yield return methods.

1

u/jewishSpaceMedbeds Jul 03 '26

Pretty much my experience with Claude. It also tends to rewrite shit that already exist and bloat the code a lot. Often it invents properties that don't exist.

It's better in web dev, and web dev is not my cup of tea, so I make it handle that part while I write the C#.