Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Programming Paradigms
s243a
post Jan 16 2005, 06:29 AM
Post #1


Super Member
*********

Group: Members
Posts: 408
Joined: 7-December 04
From: Nova Scoita, Canada
Member No.: 2,604



This discussion is created to discuss current programming paradigms and propose new programming paradigms.

First Some thoughts:


Functional programming is often used in AI languages because it allows a top down design approaches. The program can begin by describing the high level functionality and later flesh out the low level details. This is in contrast to procedural programming in which the problem is first broken down into smaller problems. The smaller problems are solved and then put together to solve the larger problem. One functional programming is called lisp. Lisp stands for list processing. A list is just an ordered set of items that can either be literals or a link to another list. This data structure is well suited for mathematical expressions. In the functional programming language MAPLE the first element of the list is the operator and the following elements are the arguments. Because elements in a list are linked to another list the structure can be represented as a tree.

The representation of a list is not a unique way to structure the data but it is well suited to recursive processing. It also avoids the need for parsing which makes it easier for the compiler to quickly compile the code at runtime. MATLAB represents mathematical symbolic expressions as an object where one of the field is a string that contains the symbolic expression. It evaluates them by calling the maple Kernal with the expression specified by the string. The representation as a string makes the expression quick to read by a human user and allows string processing functions to be applied to the expression. There are many other ways to represent expressions. A polynomial can be represented purely by its coefficients. An object oriented paradigm could represent each different representation of data with a unique object. Each object could override the method used to perform an operation for advantages of speed.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. A Question About C++ Programming Under Linux(7)
  2. What Is A T_string?(13)
  3. What Is Neuro Linguistic Programming(19)
  4. Good Books On C++ Game Programming(2)
  5. What Programming Languages Should I Choose?(17)
  6. How Can I Learn Assembly(14)
  7. Life In Programming?(11)
  8. Free Tutorial (web Programming) + Free Web Hosting(10)
  9. Win32: Dialog Box And Accelerator(2)
  10. What Is Programming Language Of Google Etc.?(22)
  11. Java Helpdesk(8)
  12. Tutorial: Help About C & C++ Programming Langauge(2)
  13. How Many of You Use the C Programming language?(23)
  14. C Programming Video Tutorials(3)
  15. Programming In Glut (lesson 6)(2)
  1. Alright, I'm Taking Computer Programming As A Class In School.(10)
  2. I'm Looking For Help With Programming (i Think)(3)
  3. Recommended Server-side Programming Language(7)
  4. Python(8)
  5. Learn Java Programming Language Online Step By Step(1)
  6. What Is Genetic Programming?(3)
  7. A Prelude To Programming(10)
  8. Best Programming Language For Win Vista?(3)
  9. Making A Picture Viewer Website(3)
  10. Project Euler(1)
  11. Acm South Pacific Region(0)
  12. Finding The Rgb Color Of An Image(3)
  13. Sphere Online Judge (spoj)(0)


 



- Lo-Fi Version Time is now: 12th October 2008 - 07:21 AM