this post was submitted on 08 Jul 2023
501 points (97.4% liked)

Programmer Humor

26121 readers
1005 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
[–] bjornsno@lemm.ee 12 points 2 years ago (7 children)

My brother in Christ, that is dependency injection. Just because you don't want to call the spade a spade anymore doesn't make it not so.

[–] philm@programming.dev -2 points 2 years ago (6 children)

Yeah I guess you can call it like that, I'll just call it function invocation...

[–] dudinax@programming.dev 1 points 2 years ago* (last edited 2 years ago) (1 children)

Di is just good functional practice. I'm not sure it's a super importent idea to someone who knows how to write a good function.

Edit: "a function do one thing and its operands should be passed as arguments" for the OO world.

[–] MrShankles@reddthat.com 1 points 2 years ago

I'm just lurking around, so don't mind me. But I gotta say, it really does sound like y'all are just making shit up sometimes lol. Like a mechanic trying to charge you an extra 50 bucks because your jindle shaft needed an alignment

load more comments (4 replies)
load more comments (4 replies)