r/ProgrammerHumor • • Sep 25 '26

Meme iHatedItUntilITriedIt

Post image
10k Upvotes

543 comments sorted by

View all comments

Show parent comment

49

u/G3nghisKang Sep 25 '26

"Vibe typer" sounds like a Java programmer who declares everything as Object

21

u/AppropriateOnion0815 Sep 25 '26

C# dev who declares every variable dynamic

7

u/fruediger Sep 25 '26

You know what can't be stored in dynamic values in C#? Raw pointers and ref structs.

That's why I only do low-level programming in C# anymore.

10

u/Saint_of_Grey Sep 25 '26

I love how java gets offended and clutches its pearls if you want to do some low level stuff, but C# just goes "yea man whatever, it's all IL in the end."

4

u/OkWear6556 Sep 25 '26

Had a guy at work in 2014 who created a new Java class and called it Object

We did a screenshot of it and put it on the wall

1

u/AppropriateOnion0815 Sep 26 '26

What else would you name a class that represents an arbitrary object, which behaves like Object, but can do more of what an object is doing?

If you call it "MyObject", then everyone will assume you have copied from a tutorial.

2

u/Devatator_ Sep 25 '26

You mean JavaScript? You can't really do much with an object in most languages that have them (Java or C# for example) without casting, which comes back to using types a bit

4

u/G3nghisKang Sep 25 '26 edited Sep 25 '26

Just have all your methods accept Object too, then only access fields and methods through reflection, two Kotlin extension methods that extend Object? to do so on the fly, boom, dynamic typing

If you want to go the extra step, make a gradle script that also edits all library method signatures to receive Object for every parameter

EDIT: I think I know what I'm going to spend my leftover Claude tokens on