Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 193907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T16:33:00+00:00 2026-05-11T16:33:00+00:00

Another way to ask this question is: what is Inversion of Control according to

  • 0

Another way to ask this question is: what is Inversion of Control according to you?

I ask this question because the Wikipedia article on IoC has been hijacked by a non-OO explanation. This is taken from the discussion page and is from 2007:

I took the liberty to completely rewrite the page, as the previous content was completely taken over by meaningless “object oriented” babble …

I don’t see how Inversion of Control makes any sense outside of OO language. There are already many explanations for giving up control in procedural languages (event programming is one) and purely functional languages don’t need a concept like Inversion of Control since they have higher-order functions.

Also, in the article where Martin Fowler elaborates on IoC he exclusively handles OO examples.

So, is IoC exclusively an OO concept, and what is it exactly?

To me, IoC tries to turn functions into data within the limitations that most OO languages impose, and tries to pass those functions-as-data as arguments to other functions. That’s not the only part of IoC, but there’s some of that.

There’s also the factory design pattern, where trees of objects are being constructed and configured before being passed on.

To me, IoC is exclusively an OO concept.

What’s your answer?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T16:33:00+00:00Added an answer on May 11, 2026 at 4:33 pm

    You look at the theoretical problem from a implementational viewpoint. The first question that arises should be exactly what Control do you Invert ?

    Then you will realize that it doesn’t matter wether its an object, method, function or whatnot that is passed around, but what actually the code does.

    In short, when you do Dependency Injection, you invert the control of the creation and usage of dependencies (of resources).

    When you give a Windows API function a pointer to a callback function, you give them the control of calling your function with their own parameters.

    So you see, IoC is just a theoretical concept, and ofcourse, there can be different practical implementations of it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Or to ask it another way, how OnEraseBkgnd() works? I'm building a custom control
This came up in another question but I figured it is best to ask
I'm not sure if this question should be ask here because it is coding
Not sure if I should edit this question or just ask another question in
I ask similar question here but in this question I use another implementation, exactly
Preamble So, this question has already been answered, but as it was my first
There's another way to write this code ? I think it's kinda unprofessional and
Is there another way to do this Query ? $query = SELECT * FROM
I guess another way to phrase this would be Is there a class like
I might be very stupid to ask this question. But I really hav no

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.