Talk:Inversion of control

Code example
The example is incomplete. While it does show how to refactor a facade into a proxy, it does not show a proper application of IoC (or SOLID in a broader sense). A proper example will use at least a couple classes and interfaces. A class diagram will be required to show readers the structure of the example. — Preceding unsigned comment added by 195.241.142.45 (talk) 09:51, 23 May 2014 (UTC)

What is good faith, and why is it negated?
Hey, just curious -- I attempted an edit of a section that was not only poorly written but contained two outside links to PDFs and places that no longer exist. This was rolled back by someone named Diego immediately with the description "good faith edit" and no explanation whatsoever. Now I'm just a random person who's found something in Wikipedia that they thought could be improved, and certainly opinions as to the quality of my edit can vary. Notwithstanding the links to nowhere, it's clear the paragraph in question was not written by a native English speaker because its syntax is muddled and its meaning is unclear (and may not even illuminate the ostensible subject; can't tell because the content linked to is no longer there). It should be fixed or deleted. I've read that the number of quality contributors to Wikipedia has been crashing in recent years, and if my experience today is any example, I think I may know why. 97.126.4.240 (talk) 05:13, 15 August 2016 (UTC)


 * I'm sorry that I have given you a bad first impression, I pride myself to try hard to not bite newcomers, but I have little internet time these days. You should expect that any edit you make may be reverted by other editor; it comes with the territory of an encyclopedia that anyone can edit, where anyone can disagree with what you did. It's even more likely if you edit without a user account, since we have to deal with lots of anonymous vandalism.
 * That a reference is not immediately available I'd not a reason to remove the content right there; as it's likely that there may be other sources supporting it. In the case of broken links, they get archived at archive. org and other services, so the proper way of action is to link to the archive. If you know how to fix the grammar, by all means do it. Diego (talk) 06:41, 16 August 2016 (UTC)
 * Since neither authors are citing Diff's to highlight the relevant edits, a neutral suggestion in this discussion would be to keep available references while deleting or correcting deadlinks. The situation faced by the first author is called a Link Rot and guidance on handling this is provided at WP:ROT. --Wikishagnik (talk) 12:24, 19 August 2017 (UTC)

External links modified
Hello fellow Wikipedians,

I have just modified one external link on Inversion of control. Please take a moment to review my edit. If you have any questions, or need the bot to ignore the links, or the page altogether, please visit this simple FaQ for additional information. I made the following changes:
 * Added archive https://web.archive.org/web/20090615045650/http://docs.codehaus.org/display/PICO/IoC+Types to http://docs.codehaus.org/display/PICO/IoC+Types

When you have finished reviewing my changes, you may follow the instructions on the template below to fix any issues with the URLs.

Cheers.— InternetArchiveBot  (Report bug) 23:21, 15 November 2017 (UTC)

Lead paragraph
Can we come to some understanding about what needs fixing and how that should happen? “Calls into” is a normal idiom in programming, distinct from “calls”. When one says “calls”, one means to invoke a function. When one says “calls into”, one implies that there is a body of code with entry points, and the caller makes use of those entry points (which might be a function from a table, for example). The call may get routed opaquely into some part of the code being called that the calling code has no notion of. Any particular instance of “calling into” is a “call”, but in aggregate, they are “calling into”. Strebe (talk) 22:05, 14 August 2023 (UTC)


 * Overall this article is unnecessarily verbose and jargon heavy, I was hoping for simple agreeable changes bit by bit as I get time but obviously failed at that.
 * Used in this sense "calls into" might be used by some but "calls" alone in reference to library code is also fine and has usage even in technical documents. You can call functions but you can also call other code, libraries and APIs, the benefit removing "into" here is it is also common in non-jargon grammar e.g. "I'm going to call my friend in France", "I'm going to call France", but most wouldn't say "I'm going to call into France"
 * We could simply say "uses libraries" for the first part though which would be both simpler and less contentious and maybe "makes calls to" for the second, which is also legitimate in both the common and jargon senses
 * Side note do you have an objection to changing "the code that expresses the purpose of the program" to just "the custom code"? Licriss (talk) 21:11, 23 August 2023 (UTC)
 * I wonder if we come out of different cultures of English idioms in programming. “Call a library” actually sounds wrong to me, which is interesting, because we do say “call France”. I don’t think anyone would be confused by removing “into”, although I also don’t think anyone would be confused by leaving it. “The custom code” is pithy and probably generally understandable, so I am fine with it, but this article has a history of squabbles over that explanation, and I think it used to be “custom code”. Strebe (talk) 00:59, 24 August 2023 (UTC)
 * @Strebe I can see it was "domain specific" and before that mentioned "compile time" vs "runtime" profiling, which would be understood by a much narrower audience than its current state.
 * I was tempted to put that the custom code "calls out" to the libraries in procedural and with inversion the libraries call into the custom code, for its illustrative effect, but I think the main idea is that the library controls the custom code, although this phrasing seems too casual and probably not clearer either i.e. "custom code uses generic code from external libraries, but with inversion the libraries are given control of the custom code"
 * I really think this comparison deserves a diagram but I'm not sure what would be an appropriate format for this page Licriss (talk) 20:27, 3 September 2023 (UTC)

Usage of technical jargon as libraries and frameworks.
I re-read this article from the perspective of a non-technical person, If y'all could contribute a summary highlighting the essential points while maintaining the technical language, but also boiling down the concepts for anybody to read that would be great. Lamaoaj (talk) 15:29, 4 July 2024 (UTC)