C is too old? opinions?
- From: Lasse Espeholt
- Date: Wed, 12 Jul 2006 23:26:08 +0200
Hi...
I am relativ new to the impressive and powerfull C language, but i thinks it is obsolete...
The idea with header/source files where methods can clash into eachother i don't like... Look at C# which is much cleaner with namespaces.
Why has C not namespaces and a "area idea" where some methods and fields could be hidden from the outside?
Something like:
a_source_file.c:
namespace SomeName(.SomeName)
{
area Stack
{
private int[] myStack;
private void someMethod() {};
public void push(int i) {};
public int pop() {};
}
}
another_source_file.c:
using SomeName(.SomeName);
int main(int argc, char[] *argv)
{
Stack.push(10);
System.printf(Stack.pop());
}
I'm really annoyed ;) Is im the only own with that point of view?
If i was a really good programmer (which i'm not... yet! ;)) i would developed a compiler and a much more simple (but still impressive and powerfull) c...
Best and kindest regards
Lasse Espeholt
.
- Follow-Ups:
- Re: C is too old? opinions?
- From: WaterWalk
- Re: C is too old? opinions?
- From: Dann Corbit
- Re: C is too old? opinions?
- From: John Bode
- Re: C is too old? opinions?
- From: Jack Klein
- Re: C is too old? opinions?
- From: goose
- Re: C is too old? opinions?
- From: Lasse Espeholt
- Re: C is too old? opinions?
- From: Fred Kleinschmidt
- Re: C is too old? opinions?
- From: Default User
- Re: C is too old? opinions?
- From: Richard Heathfield
- Re: C is too old? opinions?
- From: Andrew Poelstra
- Re: C is too old? opinions?
- From: Walter Roberson
- Re: C is too old? opinions?
- From: Ben Pfaff
- Re: C is too old? opinions?
- Prev by Date: Question on Static Global variable
- Next by Date: Re: C is too old? opinions?
- Previous by thread: Question on Static Global variable
- Next by thread: Re: C is too old? opinions?
- Index(es):
Relevant Pages
|