Author |
Message |
|
Spencer
Advanced Newbie
Joined: 06 Nov 2005 Posts: 99
|
Posted: 04 May 2006 01:09:26 am Post subject: |
|
|
What's the difference between procedural and functional?
Functional languages are quite elegant, but I don't care for the abstractness. I dabbled in Scheme for a while, but it wasn't worth wearing out my parentheses keys.
Last edited by Guest on 04 May 2006 01:09:42 am; edited 1 time in total |
|
Back to top |
|
|
CoBB
Active Member
Joined: 30 Jun 2003 Posts: 720
|
Posted: 04 May 2006 03:25:48 am Post subject: |
|
|
I don't think there's a meaningful notion of difference between the two. They are simply different ways of describing tasks. I'm not a big fan of Lisp-derived languages, to be honest, I prefer something that's easier on the eyes. And I don't believe in silver bullets either; always the right tool for the right task. |
|
Back to top |
|
|
Spencer
Advanced Newbie
Joined: 06 Nov 2005 Posts: 99
|
Posted: 04 May 2006 02:55:45 pm Post subject: |
|
|
Silver bullets, no, but everyone has their own pet language. There's always a computing-time vs human-time tradeoff and the question of which do you consider more valuable. For the most part, programmer's time, but all of the projects I do (z80 and utilities, and the like), I skew towards machine's time. I have a feeling I'm going to miss counting clocks once I get a real job.
It seems that in general you're a C junky, so your openness towards other languages surprises me, especially coming from an assembly background. |
|
Back to top |
|
|
CoBB
Active Member
Joined: 30 Jun 2003 Posts: 720
|
Posted: 05 May 2006 09:10:41 am Post subject: |
|
|
I do like C, there's no doubt, because it's efficient and trustworthy. However, unless we count my first Basic-only C64 era I was always active in at least two or three languages. I started with the usual BP7+x86 combination cherished by so many teens in my age , and later I switched to C from Pascal. Nowadays I can also appreciate the features of C++, no matter how much of a mess it can be, but it's not really a substitute for C. And declarative languages are again a completely different category with lots of valuable lessons for the open mind. |
|
Back to top |
|
|
Harq
Newbie
Joined: 29 May 2006 Posts: 1
|
Posted: 29 May 2006 11:16:18 am Post subject: |
|
|
CoBB wrote: trigkid213 wrote: I'm about to start learning C++ as my first computer programming language. Should I learn C too?
Definitely yes. Don't start with C++, it's a very hard language, and it can bite you at the most unexpected places. C is simpler and much more 'transparent', and a solid knowledge of C will help you through many difficulties later, especially a good understanding of pointers.
[post="76066"]<{POST_SNAPBACK}>[/post]
THis is untrue, i am in 7th grade and have tought myself a basic knowledge of c++ with ease. I am also starting the OOP area of the language now.
Last edited by Guest on 29 May 2006 11:29:44 am; edited 1 time in total |
|
Back to top |
|
|
CoBB
Active Member
Joined: 30 Jun 2003 Posts: 720
|
Posted: 29 May 2006 11:48:28 am Post subject: |
|
|
There is a difference between a basic and a solid knowledge. Any language can be learnt at a basic level without too much effort. If you care to read some advanced books on C++, you'll discover a lot of depth in it and can learn about many pitfalls. The same can't be said about C; it's simple and straightforward, and trains your brain to understand the machine. |
|
Back to top |
|
|
c_plus_plus My Face Hertz
Active Member
Joined: 30 Jan 2006 Posts: 575
|
Posted: 29 May 2006 12:08:02 pm Post subject: |
|
|
C PLUS PLUS RULES
Sory, I had to do that. |
|
Back to top |
|
|
sgm
Calc Guru
Joined: 04 Sep 2003 Posts: 1265
|
Posted: 29 May 2006 12:18:17 pm Post subject: |
|
|
Why the hell hasn't anyone mentioned Python or Ruby yet?
Last edited by Guest on 29 May 2006 12:19:12 pm; edited 1 time in total |
|
Back to top |
|
|
c_plus_plus My Face Hertz
Active Member
Joined: 30 Jan 2006 Posts: 575
|
Posted: 29 May 2006 12:37:01 pm Post subject: |
|
|
I have heard of python but not ruby. I thought Python was similar to Java.
Edit: spelling rub
Last edited by Guest on 29 May 2006 12:37:32 pm; edited 1 time in total |
|
Back to top |
|
|
Tiberious726
Advanced Member
Joined: 07 Oct 2005 Posts: 284
|
Posted: 30 May 2006 07:16:10 pm Post subject: |
|
|
nah, its a scripting language; clostest to perl; it isn't free form tho, i much prefer free form languages
EDIT: does anyone have a recamendation for an advanced book on C? i have K&R and C: a reference manual
Last edited by Guest on 30 May 2006 07:17:03 pm; edited 1 time in total |
|
Back to top |
|
|
CoBB
Active Member
Joined: 30 Jun 2003 Posts: 720
|
Posted: 04 Jun 2006 12:12:53 pm Post subject: |
|
|
That's what I'm saying. There isn't much to learn about C, since you can pick up everything by practicing. Anyway, here's one you might find interesting. |
|
Back to top |
|
|
|