Menu
Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C Programming
C as first language?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="David Brown" data-source="post: 5160935"><p>Of course there are language-independent algorithms and program designs,</p><p>but it is also true that the algorithms and design you use is likely to</p><p>be strongly influenced by the programming language targeted.</p><p></p><p>It often makes sense to think in terms of programming paradigms rather</p><p>than programming languages. The way you design an algorithm in C and in</p><p>Haskell is likely to be significantly different, but the algorithm in C</p><p>and Pascal is likely to be very similar (both are imperative languages)</p><p>while the algorithm in Haskell and OCaml will be similar (both are</p><p>functional programming languages). In each case, however, the</p><p>beginnings of the design are the same - you start with pencil and paper,</p><p>or a whiteboard, with a combination of maths, natural language and lines</p><p>and arrows rather than any programming language.</p></blockquote><p></p>
[QUOTE="David Brown, post: 5160935"] Of course there are language-independent algorithms and program designs, but it is also true that the algorithms and design you use is likely to be strongly influenced by the programming language targeted. It often makes sense to think in terms of programming paradigms rather than programming languages. The way you design an algorithm in C and in Haskell is likely to be significantly different, but the algorithm in C and Pascal is likely to be very similar (both are imperative languages) while the algorithm in Haskell and OCaml will be similar (both are functional programming languages). In each case, however, the beginnings of the design are the same - you start with pencil and paper, or a whiteboard, with a combination of maths, natural language and lines and arrows rather than any programming language. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C Programming
C as first language?
Top