tag:blogger.com,1999:blog-6628985022531866193.post221463196800526051..comments2024-02-12T17:37:05.629+00:00Comments on The OldWood Thing: Terminology OverdoseChris Oldwoodhttp://www.blogger.com/profile/18183909440298909448noreply@blogger.comBlogger3125tag:blogger.com,1999:blog-6628985022531866193.post-70410074384041015012016-08-05T23:50:58.307+01:002016-08-05T23:50:58.307+01:00Injection was probably a j2ee term in the "go...Injection was probably a j2ee term in the "good" old days of corporate development.Indrit Selimihttps://www.blogger.com/profile/00258618073806409568noreply@blogger.comtag:blogger.com,1999:blog-6628985022531866193.post-34355484744637927742015-05-18T10:04:44.893+01:002015-05-18T10:04:44.893+01:00The term "injection" is intended as a me...The term "injection" is intended as a metaphor, but for this to be useful if should have some relation to the real world term. But it doesn't, at least not any more. That makes it confusing at best and dangerous at worst as developers get the wrong idea about what good programming practices look like.<br /><br />As an aside "passing arguments" is not about calling a procedure per-se it's about how you vary the behaviour of that procedure. It is a specific term that explains which of the following options was taken:<br /><br />- Mutating a public member variable<br />- Pass a value as a procedure argument<br />- Setting a global variable used by the procedure<br />- Mutating a private member by reflection<br />- Using inheritance and overriding a query method<br />- Specializing the template/generic procedure<br />- etc.<br />Chris Oldwoodhttps://www.blogger.com/profile/18183909440298909448noreply@blogger.comtag:blogger.com,1999:blog-6628985022531866193.post-44210786674058110862015-05-17T16:27:39.010+01:002015-05-17T16:27:39.010+01:00I've never really been a fan of the term '...I've never really been a fan of the term 'passing arguments'. Why use such a specific term when you can say 'invoke procedures', or 'process instructions'?<br /><br />Seriously, we have precise terminology because sometimes we need that precision. Not always, which is the reason that we also have the general terms.<br /><br />The fact that a more general term exists, isn't a valid argument against more specific terminology. <br /><br />Fair argument that the term 'Injection' is logically off, but even if you don't like it, a lot of people will understand what you mean if you use it. That alone makes the terminology valuable in my opinion. ploehhttps://www.blogger.com/profile/08123428416238770895noreply@blogger.com