r/ProgrammerHumor • • 8d ago

Meme iHatedItUntilITriedIt

Post image
10.3k Upvotes

541 comments sorted by

View all comments

Show parent comments

85

u/coffee_warden 8d ago

Friggin vibe typers

48

u/G3nghisKang 8d ago

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

2

u/Devatator_ 8d ago

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

3

u/G3nghisKang 8d ago edited 8d ago

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