Search code examples
programming-languagesimperative-programminginterrogative-programming

What is meant by imperative and interrogative code


My Manager asked me to code in ASP.net. What is meant my imperative and interrogative code. How it related to programmers?


Solution

  • Although I'm not sure its a "popular" way of programming, interrogative-programming is basically summed up by this:

    Domain specific programming languages tend to be rigid in capability and dependent on either a graphical interface or a scripting language. We present a question-oriented approach that requires no prior knowledge of programming and can be easily adapted to a wide range ofdomains. Interrogative programming works by "parsing" the user's intent using the responses to a series of closed-ended questions. Questions are guided by a context free grammar specified in an external file. -Quote

    While imperative programming is the way most procedural code is written (C style).