-
Could u buddies plz tell me what is the difference between functional programming language and logic programming language ???0
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a
member of our community. Consider creating an
account or login.
Replies
-
Member • Aug 20, 2012
Logic programming is basically contains the logic(basically as mathematical expressions) e.g PROLOG language used for artifical intelligence which contains rules and facts and on the basis of arguments of predicates(using backtracking) it return either true or false.{Search for monkey banana problem in PROLOG}
While in function programming , it basically contains functions which we know in any lanuguage returns a specific value on the basis of signature of function.Are you sure? This action cannot be undone. -
Member • Aug 20, 2012
I am really not sure about your queastion, do you want to know about System programming versus application programming. Just to clear Functional programming and Logical programming mostly need the same operations, I mean funcation code also have lot of logic, like calcualting income tax for example.
Diffrence between application programming verses System is - Application programming solves business related problems like calculate Income Tax, where as System program talks to hardware or Operating System, like File Management, or varioys Drivers like Mouse , keyboard etc. Hope this helps.. JalajAre you sure? This action cannot be undone. -
Member • Aug 21, 2012
[quote="Jalajpachouly, ponoming versus application programming. Just to clear Functional programming and Logical programming mostly need the same operations, I mean funcation code also have lot of logic, like calcualting income tax for example.
Diffrence between application programming verses System is - Application programming solves business related problems like calculate Income Tax, where as System program talks to hardware or Operating System, like File Management, or varioys Drivers like Mouse , keyboard etc. Hope this helps.. Jalaj[/quote]
no i meant for the difference btwn the logic and functional programming languages....Are you sure? This action cannot be undone. -
Member • Aug 21, 2012
i think my above reply is very much explanatory...in brief
logic programming use predicates(return only true or false)
while functional programming use functions(return output as ur defined signature)...
and hope u see the monkey banana problem in PROLOG for logic programming 😛Are you sure? This action cannot be undone.