As far as ReadKey() goes, it is the accepted practice of preventing a console application of immediately closing. I tried Read(), and of course there wasn't any significant difference in the memory footprint. Maybe they load similar buffers, or don't load any until the key is actually pressed and the method returns, that I do not know.
What inspired this in the 1st place was reading this statement on stackoverflow: The .Net framework takes anywhere from 5-15 megabytes of RAM just to load up enough code to execute "Hello World".
Obviously C# was going to fail in this. It's JIT'ed, which means that it's an inefficient waste of crap language designed solely for the purpose of treating ignorant software programmers as fodder for applications developed on a Microsoft platform. I don't care how easy it is to program in; there's no way in hell I'll use a language which doesn't put forth the idea of "flexibility" and "control" as important. C# was designed to make Microsoft money, and to provide businesses the ability to write generic, lame, CRUD applications.
But after seeing all of this I'm reaffirmed and glad I switched to Qt years ago and never looked back.
__________________
In your unfailing love, silence my enemies; destroy all my foes, for I am your servant.
Blessed be the LORD my strength, who teaches my hands for war, and my fingers to fight. (Psalms 143:12-144:1)
Quote:
Originally Posted by Harrison
To be fair he is making $$, which I can't fault him for. If cheating gets you real money, go for it. Real money > pixels.
|
[10:53] <@Amelinda> he grabbed my ass and then i broke his nose.
|