 |
|  |
 |
|  |
 |
|  |
 |
|
Urban Ranger
|
|
Apolyton Duke of Off-Topic
|
|
quote: Originally posted by Asher
I'm beginning to think you don't know much about what C# really is -- in what way is C# not a real high level programming language like Java? Is it because you have the OPTION of using unsafe and pointer operations? By default, and what they recommend you use, is very similar to Java. It compiles to an intermediate language, the runtime environment executes the program, has garbage collection, etc -- in what way is that form of it not a high level language? C# is great because you can use the high level language, or if you need to (for speed purposes), you can make it a native mid-level language like C++. |
Glonkie,
One of the properties of real high level languages is it hides the details. Doing pointer arithematic is not hiding the details. Compiling to an intermediate code is not a property of a high level language, and neither having some kind of run time library for execution. Garbage collection can be, but it is not a sufficient one.
Just look at Pascal, would you?
|
|
|  |
 |
|
Urban Ranger
|
|
Apolyton Duke of Off-Topic
|
|
quote: Originally posted by yaroslav
In fact, I was on a debate with a friend that study Computer Science (I study Telecommunications Engineering) about it's better
1) To forbide unsafe operations (as you say, the can be more effeciente) and sacrify efficency on security altar
2) To allow unsafe operations (but It can translate on a longer writing and test time, because programer will use the unsafe operations when they don't need) After all, you know that programs always missused the language features 
What do you think about that? |
Other than as loin pointed out, it will also depend on the task on hand. Clearly choosing Java to write an OS or microcontroller control code is completely inappropiate, but you can use it to write a compiler. On the other hand, you are wacky if you want to write any high level applications in assembly and C - I view C as a preprocessor for assembly.
For the same task where you can choose a safe and an unsafe language, I will always choose the safe one. For one thing, even if you have some kind of wizard writing the original code, you can't hope to have some wizard doing the maintenace and everything else down the road. Who knows what the next person will add to it?
So, unless the task absolutely demands an unsafe language, which are really few and far between, my take is you should always use a safe langauge.
|
|
|  |
 |
|
Thue
|
|
Copenhagen, Denmark
Jan 1970 time: 06:22
|
|
I needed to use ML for a project today - remended me how much I like that language. It feels so natural to make recursive code and it has a very mathematical feel to it. And it's type system is excellent - once I got it to compile it worked at once. Compare that to C...
(Guess who made that one vote on ML...)
|
|
|  |
 |
|
Asher
|
 |
Calgary, Alberta
Nov 1999 time: 22:22
|
|
I think Carmack codes in a mix of C++, C, and assembler (which covers DOOM 1, 2, 3, Quake 1, 2, 3, etc).
I think Windows XP and Office XP were both written in C++ too, actually, or perhaps a mixture.
The new versions of MS software coming out use a mixture of VB, C++, and C#, with the emphasisis being on C#.
|
|
|  |
All times are GMT. The time now is 05:22. Apolyton Time is 00:22. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|