0

This is a somewhat general question about the architecture of programming languages and software.

I'm working on a human operating system and I'm using terminology from software development to talk about various "functions" and "procedures" that could be applicable to human behavior.

The question is: what do you usually call a procedure, which is made from other procedures when you're talking about programming languages or software?

jodag
  • 19,885
  • 5
  • 47
  • 66
Aerodynamika
  • 7,883
  • 16
  • 78
  • 137
  • 1
    I don't think there's a specific term for a procedure that calls other procedures, but a general term for that architecture would be _procedural programming_ – Eric Petroelje Aug 09 '17 at 18:14
  • 1
    What do you mean `made of other procedures`? I think you may be thinking of `leaf` vs `non-leaf` procedures. – jodag Aug 09 '17 at 18:14
  • 2
    A procedure that calls other procedures in order to break a task in to smaller isolated parts is an example of [Functional Decomposition](https://stackoverflow.com/questions/947874/what-is-functional-decomposition). – Alex K. Aug 09 '17 at 18:16
  • I would call it 'normal'....? – Martin James Aug 11 '17 at 09:33

1 Answers1

1

A leaf function is a function which doesn't call any other functions.

A non-leaf function is a function which calls at least one other function.

jodag
  • 19,885
  • 5
  • 47
  • 66