Talk:Procedures and functions

Latest comment: 11 years ago by Bkconrad in topic Use of C for examples

As part of a beginner's lesson, these examples should use more description as to what part of the code is doing exactly what.

Also, author does not clearly define 'calling' or 'returning' to a reader that is unfamiliar with the correct context of these terms. (The preceding unsigned comment was added by 204.101.241.2 (talkcontribs) 22:26, 12 January 2008)

Thank you very much for your comment. What do you say, do you want to optimize it ? Just be Be bold, ----Erkan Yilmaz (Wikiversity:Chat, wiki blog) 22:36, 12 January 2008 (UTC)Reply

Use of C for examples edit

I've tried to reduce the example's complexity, but I still think that C is unnecessarily complicated for this lesson. However, I see the benefit of showing that in some languages arguments have specified types, and functions have specified return types. Would it be better to use some pseudocode with type declaration, or perhaps some other real-world language? Bkconrad (talk) 19:33, 29 July 2012 (UTC)Reply

Return to "Procedures and functions" page.