Activity Forums Salesforce® Discussions What is the difference between Wire and Imperative function?

  • Laveena

    Member
    September 30, 2019 at 1:36 pm

    Hi Saddam,

    The functional programming paradigm was explicitly created to support a pure functional approach to problem solving. Functional programming is a form of declarative programming. In contrast, most mainstream languages, including object-oriented programming (OOP) languages such as C#, Visual Basic, C++, and Java, were designed to primarily support imperative (procedural) programming.

    With an imperative approach, a developer writes code that describes in exacting detail the steps that the computer must take to accomplish the goal. This is sometimes referred to as algorithmic programming. In contrast, a functional approach involves composing the problem as a set of functions to be executed. You define carefully the input to each function, and what each function returns. The following table describes some of the general differences between these two approaches.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos