Re: how relevant is C today?

2006-04-11 Thread Lawrence D'Oliveiro
In article [EMAIL PROTECTED], Thomas Bellman [EMAIL PROTECTED] wrote: Lawrence D'Oliveiro [EMAIL PROTECTED] writes: const is in C89/C90. Although with slightly different semantics from in C++... For instance: static const int n = 5; double a[n]; is valid C++, but not valid C.

Re: how relevant is C today?

2006-04-11 Thread bruno at modulix
Lawrence D'Oliveiro wrote: In article [EMAIL PROTECTED], bruno at modulix [EMAIL PROTECTED] wrote: gregarican wrote: Here are a few languages I recommend most programmers should at least have a peek at: (snip) 2) Lisp - Along with FORTRAN, one of the oldest programming languages still

Re: how relevant is C today?

2006-04-11 Thread gregarican
bruno wrote: Err... And ? It's the snide, curt replies such as your recent ones in this thread that reinforce the generalization that the Python community can be rude. -- http://mail.python.org/mailman/listinfo/python-list

Re: how relevant is C today?

2006-04-11 Thread bruno at modulix
gregarican wrote: bruno wrote: Err... And ? It's the snide, curt replies such as your recent ones in this thread that reinforce the generalization that the Python community can be rude. I'm afraid you're right, at least for the second one, and I do apologise NB : the fist one

Re: how relevant is C today?

2006-04-11 Thread Burton Samograd
bruno at modulix [EMAIL PROTECTED] writes: Lawrence D'Oliveiro wrote: It _can_ be used as a pure functional language. An interpreter for a pure-functional subset of LISP can be written And ? You will have a functionally pure dialect of a very useful language that makes it impossible to

Re: how relevant is C today?

2006-04-10 Thread Lawrence D'Oliveiro
In article [EMAIL PROTECTED], David Rasmussen [EMAIL PROTECTED] wrote: In my everyday work, I am forced to use a C90 only compiler, and everyday I miss some C++ feature that wouldn't make my program any more complex, quite the opposite. These are features like const, no default extern

Re: how relevant is C today?

2006-04-10 Thread Lawrence D'Oliveiro
In article [EMAIL PROTECTED], Daniel Nogradi [EMAIL PROTECTED] wrote: Can anyone shed some light on the secret of Java? Java and C#/CLR I class as instant-software-bloat-just-add-water technologies. That is, they are very popular in corporate circles, where the users don't get to choose what

Re: how relevant is C today?

2006-04-10 Thread Thomas Bellman
Lawrence D'Oliveiro [EMAIL PROTECTED] writes: const is in C89/C90. Although with slightly different semantics from in C++... For instance: static const int n = 5; double a[n]; is valid C++, but not valid C. -- Thomas Bellman, Lysator Computer Club, Linköping University,

Re: how relevant is C today?

2006-04-10 Thread Azolex
Daniel Nogradi wrote: The Dice (find tech jobs) has offerings (last 7 days, U.S. + unrestricted) for: *SQL 14,322 C/C++11,968 Java 10,143 ... Can anyone shed some light on the secret of Java? How is it that they are so high on this list? Sun invented a roundabout

Re: how relevant is C today?

2006-04-10 Thread bruno at modulix
gregarican wrote: Here are a few languages I recommend most programmers should at least have a peek at: (snip) 2) Lisp - Along with FORTRAN, one of the oldest programming languages still in use. Pure functional programming model Err... Even if Lisp is the father of functional programming,

Re: how relevant is C today?

2006-04-10 Thread gregarican
bruno wrote: Err... Even if Lisp is the father of functional programming, it is definitively not a 'pure' FPL. True. I couldn't referred to something like Haskell as being pure FP. My bad :-) -- http://mail.python.org/mailman/listinfo/python-list

Re: how relevant is C today?

2006-04-10 Thread Rune Strand
gregarican wrote: 1) Smalltalk - The original object oriented programming language. Influenced anything from Mac/Windows GUI to Java language. No. Simula is the original object oriented programming language. -- http://mail.python.org/mailman/listinfo/python-list

Re: how relevant is C today?

2006-04-10 Thread John Salerno
Ray wrote: John Salerno wrote: At which level in the 'python challenge' did you get stuck - and why? Ugh, don't remind me! :) I'm stuck on level 12, which is yet another image processing puzzle. I'm getting tired of those, and I think it's really a shame that there is a This is EXACTLY

Re: how relevant is C today?

2006-04-10 Thread Philippe Martin
Hi, It is very hard to avoid C in embedded/low-level/industrial programming. Philippe John Salerno wrote: Because of my 'novice-ness' in programming, I had always thought that C was replaced by C++ and wasn't really used anymore today. I know that's not the case at all now, but I'm still

Re: how relevant is C today?

2006-04-10 Thread Scott David Daniels
gregarican wrote: Here are a few languages I recommend most programmers should at least have a peek at: 1) Smalltalk - The original object oriented programming language. Influenced anything from Mac/Windows GUI to Java language. Terse, clean syntax. IDE rolled into an operating system

Re: how relevant is C today?

2006-04-10 Thread gregarican
Rune wrote: No. Simula is the original object oriented programming language. Thanks for pointing this out. I had read about references to Simula but never looked beyond the term itself. Interesting stuff. Especially since it was developed so long ago. Very interesting... --

Re: how relevant is C today?

2006-04-10 Thread David Rasmussen
Lawrence D'Oliveiro wrote: In article [EMAIL PROTECTED], David Rasmussen [EMAIL PROTECTED] wrote: In my everyday work, I am forced to use a C90 only compiler, and everyday I miss some C++ feature that wouldn't make my program any more complex, quite the opposite. These are features like

Re: how relevant is C today?

2006-04-10 Thread David Rasmussen
Thomas Bellman wrote: Lawrence D'Oliveiro [EMAIL PROTECTED] writes: const is in C89/C90. Although with slightly different semantics from in C++... For instance: static const int n = 5; double a[n]; is valid C++, but not valid C. There are other differences as well. In C,

Re: how relevant is C today?

2006-04-10 Thread Lawrence D'Oliveiro
In article [EMAIL PROTECTED], bruno at modulix [EMAIL PROTECTED] wrote: gregarican wrote: Here are a few languages I recommend most programmers should at least have a peek at: (snip) 2) Lisp - Along with FORTRAN, one of the oldest programming languages still in use. Pure functional

Re: how relevant is C today?

2006-04-10 Thread Lawrence D'Oliveiro
In article [EMAIL PROTECTED], Roy Smith [EMAIL PROTECTED] wrote: I would add to that list PostScript. Most people think of it as just format for print files, but it's a a real general-purpose programming language, and a cool one at that (with an clear similarity to FORTH). Having used both

Re: how relevant is C today?

2006-04-09 Thread Carl Friedrich Bolz
Grant Edwards wrote: On 2006-04-08, Martin v. Löwis [EMAIL PROTECTED] wrote: As for *learning* the languages: never learn a language without a specific inducement. That's silly. Learning (weather a computer language, a natural language, or anything else) is never a bad thing. The more

Re: how relevant is C today?

2006-04-09 Thread Martin v. Löwis
John Zenger wrote: Your message makes me sad, as if I heard someone say never read a book without a specific inducement; if you know someone is going to ask you about the book, start reading it today, but if you don't know what you are going to use the book for, reading it will be a waste of

Re: how relevant is C today?

2006-04-09 Thread Martin v. Löwis
Grant Edwards wrote: As for *learning* the languages: never learn a language without a specific inducement. That's silly. Learning (weather a computer language, a natural language, or anything else) is never a bad thing. The more languages you know, the more you understand about languages

Re: how relevant is C today?

2006-04-09 Thread Martin v. Löwis
Carl Friedrich Bolz wrote: I don't exactly see why this is a contradiction. Specific inducement does not necessarily mean that you have to have an external cause to learn a language -- be it your job or whatever. Nobody hinders you from creating that inducement yourself. It's just very hard to

Re: how relevant is C today?

2006-04-09 Thread Scott David Daniels
Sandra-24 wrote: C/C++ is used for a lot of things and not going anywhere. I recommend you learn it not because you should create applications in C or C++, but because it will increase your skills and value as a programmer. I recommend you even spend a few weeks with an assembly language,

Re: how relevant is C today?

2006-04-09 Thread John Salerno
Martin v. Löwis wrote: As for *learning* the languages: never learn a language without a specific inducement. If you know you are going to write a Python extension, an Apache module, or a Linux kernel module in the near future, start learning C today. If you don't know what you want to use

How Relevant is C Today? I still need it for Writing!

2006-04-09 Thread Casey Hawthorne
How Relevant is C Today? I still need it for Writing! -- Regards, Casey -- http://mail.python.org/mailman/listinfo/python-list

Re: how relevant is C today?

2006-04-09 Thread Mirco Wahab
Hi John It's just that I obessively like to learn new things, and I keep moving on to new subjects once I've 'learned' something well enough. Ha! So learn 'Perl' then - you'll never ever get over this point ... ;-)) And if you, against all odds, think you master it now - zon, a new

Re: how relevant is C today?

2006-04-09 Thread Mirco Wahab
Hi Scott your summary looks very concise and good to read. I'd like to make some minor additions, C can express neither exceptions nor coroutines (nor their fancy cousin, continuations), which could be and were expressed in assembly. Nor does C provide memory management. A few library

Re: how relevant is C today?

2006-04-09 Thread David Rasmussen
Mirco Wahab wrote: I would say, from my own experience, that you wouldn't use all C++ features in all C++ projects. Most people I know would write C programs 'camouflaged' as C++, that is: write clean simple C - and use some C++ features e.g, class bound methods for interfaces - but no

Re: how relevant is C today?

2006-04-09 Thread John Salerno
Mirco Wahab wrote: At which level in the 'python challenge' did you get stuck - and why? Ugh, don't remind me! :) I'm stuck on level 12, which is yet another image processing puzzle. I'm getting tired of those, and I think it's really a shame that there is a reliance on image puzzles rather

Re: how relevant is C today?

2006-04-09 Thread gregarican
Here are a few languages I recommend most programmers should at least have a peek at: 1) Smalltalk - The original object oriented programming language. Influenced anything from Mac/Windows GUI to Java language. Terse, clean syntax. IDE rolled into an operating system rolled into a set of core

Re: how relevant is C today?

2006-04-09 Thread Roy Smith
In article [EMAIL PROTECTED], gregarican [EMAIL PROTECTED] wrote: Here are a few languages I recommend most programmers should at least have a peek at: 1) Smalltalk - The original object oriented programming language. Influenced anything from Mac/Windows GUI to Java language. Terse, clean

Re: how relevant is C today?

2006-04-09 Thread Ray
John Salerno wrote: At which level in the 'python challenge' did you get stuck - and why? Ugh, don't remind me! :) I'm stuck on level 12, which is yet another image processing puzzle. I'm getting tired of those, and I think it's really a shame that there is a This is EXACTLY why I am

how relevant is C today?

2006-04-08 Thread John Salerno
Because of my 'novice-ness' in programming, I had always thought that C was replaced by C++ and wasn't really used anymore today. I know that's not the case at all now, but I'm still curious how much C is used anymore in programming today, and what purpose it serves. Is it used for actual

Re: how relevant is C today?

2006-04-08 Thread Martin v. Löwis
John Salerno wrote: Because of my 'novice-ness' in programming, I had always thought that C was replaced by C++ and wasn't really used anymore today. I know that's not the case at all now, but I'm still curious how much C is used anymore in programming today, and what purpose it serves. Is it

Re: how relevant is C today?

2006-04-08 Thread Mirco Wahab
Hi John Because of my 'novice-ness' in programming, I had always thought that C was replaced by C++ and wasn't really used anymore today. I know that's not the case at all now, but I'm still curious how much C is used anymore in programming today, and what purpose it serves. There is a

Re: how relevant is C today?

2006-04-08 Thread Daniel Nogradi
The Dice (find tech jobs) has offerings (last 7 days, U.S. + unrestricted) for: *SQL 14,322 C/C++11,968 Java 10,143 ... Perl 3,332 PHP 730 *Python* 503 Fortran 119 Ruby108 open*gl 66 Can anyone shed some light

Re: how relevant is C today?

2006-04-08 Thread Jorge Godoy
Daniel Nogradi [EMAIL PROTECTED] writes: Can anyone shed some light on the secret of Java? How is it that they are so high on this list? Marketing? Hype? :-) -- Jorge Godoy [EMAIL PROTECTED] Quidquid latine dictum sit, altum sonatur. - Qualquer coisa dita em latim soa profundo. -

Re: how relevant is C today?

2006-04-08 Thread Jorge Godoy
Mirco Wahab [EMAIL PROTECTED] writes: The Dice (find tech jobs) has offerings (last 7 days, U.S. + unrestricted) for: *SQL 14,322 C/C++11,968 Java 10,143 ... Perl 3,332 PHP 730 *Python* 503 Fortran 119 Ruby108 open*gl 66

Re: how relevant is C today?

2006-04-08 Thread David Reed
On Apr 8, 2006, at 6:35 PM, Jorge Godoy wrote: Mirco Wahab [EMAIL PROTECTED] writes: The Dice (find tech jobs) has offerings (last 7 days, U.S. + unrestricted) for: *SQL 14,322 C/C++11,968 Java 10,143 ... Perl 3,332 PHP 730 *Python* 503

Re: how relevant is C today?

2006-04-08 Thread Sybren Stuvel
John Salerno enlightened us with: Because of my 'novice-ness' in programming, I had always thought that C was replaced by C++ and wasn't really used anymore today. C is used in many, many programs. The Linux kernel is perhaps one of the best known. IIRC Apache is written inC too. The default

Re: how relevant is C today?

2006-04-08 Thread Sandra-24
C/C++ is used for a lot of things and not going anywhere. I recommend you learn it not because you should create applications in C or C++, but because it will increase your skills and value as a programmer. I recommend you even spend a few weeks with an assembly language, for the same reason.

Re: how relevant is C today?

2006-04-08 Thread John Zenger
Martin v. Löwis wrote: As for *learning* the languages: never learn a language without a specific inducement. If you know you are going to write a Python extension, an Apache module, or a Linux kernel module in the near future, start learning C today. If you don't know what you want to use

Re: how relevant is C today?

2006-04-08 Thread Grant Edwards
On 2006-04-08, Martin v. Löwis [EMAIL PROTECTED] wrote: As for *learning* the languages: never learn a language without a specific inducement. That's silly. Learning (weather a computer language, a natural language, or anything else) is never a bad thing. The more languages you know, the