Watch Video
Showing posts with label Programming Paradigms. Show all posts
Showing posts with label Programming Paradigms. Show all posts
Thursday, August 14, 2008
computer architecture function call and returns in relation to C code.
Labels: computer architecture, function call and returns in relation to C code., Programming Paradigms, Programming Paradigms lectureComputer architecture and the Assembly programming language
Posted by
Julian
at
5:01 PM
0
comments
Heap segments and their use in the C programming language
Posted by
Julian
at
4:56 PM
0
comments
HEap Swgment is a segment of memory claimed by a program. Within the heap, pieces of memory can be used and freed as needed. Depending on usage, heaps can become fragmented as small pieces of memory are used and freed. In formal computer science terms, a heap is the same as a partially ordered tree.
Watch Video
C programming language and generic stacks
Posted by
Julian
at
4:53 PM
0
comments
Programming Paradigms-C language programming by focusing on different forms of stack.
Posted by
Julian
at
4:51 PM
0
comments
Wednesday, July 30, 2008
Programming Paradigms
Labels: computer programming, computer science, computer science lecture, programming lectures, Programming Paradigms, software engineeringA programming paradigm is a fundamental style of computer programming. (Compare with a methodology, which is a style of solving specific software engineering problems).
A programming language can support multiple paradigms. For example programs written in C++ or Object Pascal can be purely procedural, or purely object-oriented, or contain elements of both paradigms. Software designers and programmers decide how to use those paradigm elements.
Lecture 1
In object-oriented programming, programmers can think of a program as a collection of interacting objects, while in functional programming a program can be thought of as a sequence of stateless function evaluations. When programming computers or systems with many processors, process-oriented programming allows programmers to think about applications as sets of concurrent processes acting upon logically shared data structures.
Just as different groups in software engineering advocate different methodologies, different programming languages advocate different programming paradigms. Some languages are designed to support one particular paradigm (Smalltalk supports object-oriented programming, Haskell supports functional programming), while other programming languages support multiple paradigms (such as Object Pascal, C++, C#, Visual Basic, Common Lisp, Scheme, Python, Ruby and Oz).
Many programming paradigms are as well known for what techniques they forbid as for what they enable. For instance, pure functional programming disallows the use of side-effects; structured programming disallows the use of the goto statement. Partly for this reason, new paradigms are often regarded as doctrinaire or overly rigid by those accustomed to earlier styles. Avoiding certain techniques can make it easier to prove theorems about a program's correctness—or simply to understand its behavior.
Lecture 2
Lecture 3
Lecture 4
Lecture 5
Watch Video
Subscribe to:
Comments (Atom)