3 ms·
A function returns a value. https://stackoverflow.com/questions/721090/what-is-the-difference-between-a-function-and-a-procedure https://stackoverflow.com/ques
by Clubber 2y ago
A function returns a value.
https://stackoverflow.com/questions/721090/what-is-the-difference-between-a-function-and-a-procedure https://stackoverflow.com/questions/721090/what-is-the-diffe...
- aleph_minus_one 2y ago> A function returns a value ... in Pascal/Delphi.
- Clubber 2y agoYup, it was for a Delphi job in 1998.
- vips7L 2y agoIsn't this something the compiler is going to enforce anyway? Why does it matter? If that's the only difference it's kind of inconsequential isn't it?
- Clubber 2y agoIt's a question to filter out people who don't know a lick of Delphi for a position where the person was coding Delphi. It's like level 2 after the hello world chapter. It's easier than asking a database developer the difference between a query and a view. It's a bonehead simple question that 70% of applicants couldn't answer. You would be surprised how many bad applicants interviewers get. It's only gotten worse over the last 20 years.