Talk:Procedures and functions

From Wikiversity
Jump to navigation Jump to search

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 (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[reply]

Use of C for examples[edit source]

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[reply]