Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 Is functional programming difficult to learn/teach?
Index -> Programming, General Programming -> Functional Programming
Goto page Previous  1, 2
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
Drakain Zeil




PostPosted: Mon Jan 02, 2006 10:51 am   Post subject: (No subject)

I would say it depends on the person's background knowledge. For example, explaining a programming function is much easier if you have a background knowledge of things like...

f(x)=20x+x/10
g(x)=10
h(x)=109*f(x)/g(x)

...for example.

Chances are, if you know what those mean, and can easily make use of them, you'll be better capable of understanding how functions work (even ones with more than one argument, since that concept is easily transferable).

However, if the sight of those compleatly flabergast you, you would have a harder time understanding it.
Sponsor
Sponsor
Sponsor
sponsor
wtd




PostPosted: Mon Jan 02, 2006 2:04 pm   Post subject: (No subject)

Well, it also depends on how you explain functions to students.

Are functions names for some place in memory that you can execute, optionally pushing arguments onto the stack which can be popped off and used?

Well, of course it is. But... is that how you explain it?

Or, do you explain that a function is a relationship which maps its arguments onto a new value, and may be implemented as mentioned above?
Display posts from previous:   
   Index -> Programming, General Programming -> Functional Programming
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 2 of 2  [ 17 Posts ]
Goto page Previous  1, 2
Jump to:   


Style:  
Search: