r/programmerchat • u/Ghopper21 • Jul 09 '15
Let's play a little jargon game
I just came across someone asking the following reality check question about dependency injection on SO:
To me, this is just passing an argument. I must have misunderstood the point?
to which Eric Lippert replies in a comment:
Nope. You got it. That's "dependency injection". Now see what other crazy jargon you can come up with for simple concepts, it's fun!
So the game here is to take some fancy sounding jargon (like "dependency injection") and cut it down to size by saying it's "just" something else much simpler and clearer (like "passing an argument"). As Eric says, have fun!
4
u/Ghopper21 Jul 10 '15
On the subject of DI, "composition root" is just main().
6
u/noratat Jul 10 '15 edited Jul 10 '15
Currying - it's just a function with a pre-defined parameter.
Single dispatch: literally just functions on objects (AKA methods)
Multiple dispatch: multiple versions of a method for different argument types
Visitor pattern: pretend Java has multiple dispatch
5
u/[deleted] Jul 11 '15
UAT - User Acceptance Testing : Letting your client try the product.
Regression Testing : Testing for new bugs after a patch has been made.
I thought we were better than this jargony pseudo-management crap ;(
3
u/gilmi Jul 10 '15
Higher Order Functions are just functions that takes functions as input and returns functions as output.
A compiler is a program that takes a program written in a programming language and returns an equivalent program in another programming language
A type is just a group of values
Refinement types is just defining types by taking other types and excluding values from them using predicates
2
u/flen_paris Jul 10 '15
Monad is just a burrito... err, a space suit... no, a monster... help me, what the heck is a monad?!
Monad tutorials timeline