in reply to (OT) Where is programming headed?
Are you trying to brush up your C out of curiosity, or a out of a practical need?
Anyway, C is alive and well, as is it's bigger brother C++. Nowdays, programming in C instead of C++ is similar to programming in Perl without Perl's OO constructs. Anything you can do with one you can do with the other. However, if you insist on not using OO in Perl, you have to forgo many a lovingly crafted module. Similarly, if you stick to C and shy away from C++, you have to forgo a range of powerful language constructs, and ready-to-use libraries such as STL.
P.S. The venerable K&R hello.c still compiles under a current C++ compiler (although it draws a double warning)
#include <stdio.h> main() { printf("hello, world\n"); }
'main' : function should return a value; 'void' return type assumed
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
(Ovid) Re: Re: (OT) Where is programming headed?
by Ovid (Cardinal) on Dec 14, 2001 at 03:52 UTC | |
by Rudif (Hermit) on Dec 15, 2001 at 03:47 UTC |