Questions tagged [interrogative-programming]

3 questions
3
votes
3 answers

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?
2
votes
2 answers

Imperative vs interrogative methods

When implementing a class, is it better practice to return a value for methods (interrogative) or to simply manipulate class attributes directly within the method (imperative). For example, I have a class which builds a string to be output to a CSV…
Andrew
  • 11,068
  • 17
  • 52
  • 62
0
votes
2 answers

Bash programming, interrogating ttyUSB port

I'm new in this of bash programming in linux, basically what I want to do is to program a bash file that can open the port ttyUSB0 and then I need to interrogate it with AT commands (like "0100") and then assign the response to a variable, I've been…
antalbokor
  • 33
  • 5