Language with most keywords ?
-
I think it is VB.NET, what with VB6 keywords + things like Inherits, MustOveride, Shared etc. From what I have seen C# too has few weird things like params, out,ref !!!. Why cannot we stick to a small set ?!!! Is the .NET Framework classes built on top of Win32 API ?
You will get better answers if you re-post this on the C# or .NET forums. The Lounge is were us slackers hang out, hard questions are out of the question :) regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001
-
I think it is VB.NET, what with VB6 keywords + things like Inherits, MustOveride, Shared etc. From what I have seen C# too has few weird things like params, out,ref !!!. Why cannot we stick to a small set ?!!! Is the .NET Framework classes built on top of Win32 API ?
If you want to translate a Polish Poem, do you first count the words in the Polish dictionary? C# is sure more verbose than C++ but even the C++ maniac in me considers this worth the typing. And don't mix up "Keywords" with "Run time library" or "API". Many keywords are not a bad thing as such. Minimizing the number of keywords doesn't make a language better, easier to use. You might be faster in learning the entire language, but what for, if it ends up that weak? keywords make a big part of the difference beetween "implemented in the language" (can be done, like basic OO in raw C), or is "supported by the language" (comfortable and safe to use everyday, like encapsulation, inheritance and polymorphism in C++) A simple instruction based language could get along with an conditional jump (goto label), unconditional jump, function declaration, variable declaration/type keywords. This language would have the power of C (depending on the available types & operations), however, you would soon cringe for more comfortable execution flow control statements, like for, while, switch, if/else. For an OO language you need keywords to model objects, encapsulation, inheritance, polymorphism. What about a safe and consistent error handling? Entering try/throw/catch/finally. C# adds some keywords that help in resolving scope and version conflicts, a major problem in large-scale software development nowadays, especially since the advent of "distributed development". Additionally, you need might need keywords for some "technical" thingies (like the register keyword in C) - either you treat them, or they are missing. -------------- >> Is the .NET Framework classes built on top of Win32 API ? Hm, .NET is a framework, Win32 API is a library. .NET is built *around* the CLR. Surprisingly, there is a CLR implementation available that is based on the Win32 API.
-
If you want to translate a Polish Poem, do you first count the words in the Polish dictionary? C# is sure more verbose than C++ but even the C++ maniac in me considers this worth the typing. And don't mix up "Keywords" with "Run time library" or "API". Many keywords are not a bad thing as such. Minimizing the number of keywords doesn't make a language better, easier to use. You might be faster in learning the entire language, but what for, if it ends up that weak? keywords make a big part of the difference beetween "implemented in the language" (can be done, like basic OO in raw C), or is "supported by the language" (comfortable and safe to use everyday, like encapsulation, inheritance and polymorphism in C++) A simple instruction based language could get along with an conditional jump (goto label), unconditional jump, function declaration, variable declaration/type keywords. This language would have the power of C (depending on the available types & operations), however, you would soon cringe for more comfortable execution flow control statements, like for, while, switch, if/else. For an OO language you need keywords to model objects, encapsulation, inheritance, polymorphism. What about a safe and consistent error handling? Entering try/throw/catch/finally. C# adds some keywords that help in resolving scope and version conflicts, a major problem in large-scale software development nowadays, especially since the advent of "distributed development". Additionally, you need might need keywords for some "technical" thingies (like the register keyword in C) - either you treat them, or they are missing. -------------- >> Is the .NET Framework classes built on top of Win32 API ? Hm, .NET is a framework, Win32 API is a library. .NET is built *around* the CLR. Surprisingly, there is a CLR implementation available that is based on the Win32 API.
Well said peterchen. Seeing as you are obviously of the Mensa category of people :) what does the CLR tap into in Windows? Does it directly "affect" Windows or does it sit ontop of the Win32 API? Seeing as the CLR is sort of like the Java VM this means that all one really needs is a CLR for each platform and then the .NET framework will run on any platform without modification, right? I am just curious and have not reached such levels of development depth yet :) regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001
-
Well said peterchen. Seeing as you are obviously of the Mensa category of people :) what does the CLR tap into in Windows? Does it directly "affect" Windows or does it sit ontop of the Win32 API? Seeing as the CLR is sort of like the Java VM this means that all one really needs is a CLR for each platform and then the .NET framework will run on any platform without modification, right? I am just curious and have not reached such levels of development depth yet :) regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001
by look and smell, the CLR implementation sits on top of the Win32 API - at least there's no reason to delve in deeper. The most that might have happened is that MS fine tuned some API implementations in XP for better performance with the CLR. In principle, yes, just imlement the CLR and you can run your spreadsheet app on a toaster. But the CLR was designed with wndows in mind, so it might be inferior on other systems. What is the "Mensa" category of people?
-
by look and smell, the CLR implementation sits on top of the Win32 API - at least there's no reason to delve in deeper. The most that might have happened is that MS fine tuned some API implementations in XP for better performance with the CLR. In principle, yes, just imlement the CLR and you can run your spreadsheet app on a toaster. But the CLR was designed with wndows in mind, so it might be inferior on other systems. What is the "Mensa" category of people?
What is the "Mensa" category of people? It is an organisation for people with high IQs. I think you have to have an IQ of 150 or higher to be in Mensa. So basically a Genius Only Club. Discrimination I tell you! Sharon Stone is a Mensa member, not that that is a ringing endorsement for Mensa :-D I was just commenting that you show distinct signs of high intelligence in your posts :) the CLR and you can run your spreadsheet app on a toaster Woohoo! My daily spreadsheet on a slice of burnt bread. Wonderful idea :) thanks peterchen regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001
-
What is the "Mensa" category of people? It is an organisation for people with high IQs. I think you have to have an IQ of 150 or higher to be in Mensa. So basically a Genius Only Club. Discrimination I tell you! Sharon Stone is a Mensa member, not that that is a ringing endorsement for Mensa :-D I was just commenting that you show distinct signs of high intelligence in your posts :) the CLR and you can run your spreadsheet app on a toaster Woohoo! My daily spreadsheet on a slice of burnt bread. Wonderful idea :) thanks peterchen regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001
:-O Paul, I don't know what to say However, I'm fairly bad at IQ tests. If they were required to getting laid, I would.... no, this doesn't work out. I flunked university, And if I wouldn't be a good coder, I'd probably serve beers in a pub. I was always considered very intelligent when I grew up, but it looks like the only place where it really works out are computers. Sharon Stone: Everytime I see a pic of her, I don't believe someone spending so much time of the day on her look could outsmart me. I wonder how it would be talking to her . Some people "feel" very heady even when they are not considered to be genies, and the other wayy round some "super smart all A grades" folks sound rather boring when they don't talk about their latest toy
-
by look and smell, the CLR implementation sits on top of the Win32 API - at least there's no reason to delve in deeper. The most that might have happened is that MS fine tuned some API implementations in XP for better performance with the CLR. In principle, yes, just imlement the CLR and you can run your spreadsheet app on a toaster. But the CLR was designed with wndows in mind, so it might be inferior on other systems. What is the "Mensa" category of people?
...implement the CLR and you can run your spreadsheet app on a toaster. Maybe, but a waffle maker produces a better grid to poke your numbers into... ;P Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I'm just another 'S' bend in the internet. A ton of stuff goes through my system, and some of the hairer, stickier and lumpier stuff sticks." - Chris Maunder (I just couldn't let that one past ;))
-
:-O Paul, I don't know what to say However, I'm fairly bad at IQ tests. If they were required to getting laid, I would.... no, this doesn't work out. I flunked university, And if I wouldn't be a good coder, I'd probably serve beers in a pub. I was always considered very intelligent when I grew up, but it looks like the only place where it really works out are computers. Sharon Stone: Everytime I see a pic of her, I don't believe someone spending so much time of the day on her look could outsmart me. I wonder how it would be talking to her . Some people "feel" very heady even when they are not considered to be genies, and the other wayy round some "super smart all A grades" folks sound rather boring when they don't talk about their latest toy
I don't believe someone spending so much time of the day on her look could outsmart me Hey Woody Allen spends all his time cracking jokes but I will bet he is smarter than me :) Looks and mannerisms can be very deceiving. If you met me you would think "wow, what a smart guy", but I am just average. Looks are decieving :) Also they do have high standards and you have to pass the IQ test or you don't get in. No doing sexual favours for the dean of Mensa to get in. regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001
-
...implement the CLR and you can run your spreadsheet app on a toaster. Maybe, but a waffle maker produces a better grid to poke your numbers into... ;P Andy Metcalfe - Sonardyne International Ltd
(andy.metcalfe@lineone.net)
http://www.resorg.co.uk"I'm just another 'S' bend in the internet. A ton of stuff goes through my system, and some of the hairer, stickier and lumpier stuff sticks." - Chris Maunder (I just couldn't let that one past ;))
Maybe, but a waffle maker produces a better grid to poke your numbers into... Plus waffles taste way better than toast. Good point Andy. CLR embedded Waffle iron, woot! regards, Paul Watson Bluegrass Cape Town, South Africa "The greatest thing you will ever learn is to love, and be loved in return" - Moulin Rouge "In other words, the developer is dealing with an elephant, the accountant is dealing with a bunny rabbit." by Stan Shannon - 16/10/2001
-
I think it is VB.NET, what with VB6 keywords + things like Inherits, MustOveride, Shared etc. From what I have seen C# too has few weird things like params, out,ref !!!. Why cannot we stick to a small set ?!!! Is the .NET Framework classes built on top of Win32 API ?
If you prefer a small set of keywords, you should check out the following: http://koeln.ccc.de/projekte/brainfuck/index-e.html The URL might be mangled by the filter on this site, but I'm sure you can fix that ;)