[rant]
I was going to try and do some simple coding in C# to see if I wanted to use it to program.
I attempt to read a txt file in and after googling for about 10 minutes, I find a combination that reads the file in (after having like 10 options to choose from). This isn't so bad I guess. It gives lots of options for buffered reading, etc, etc. Ok, now to see if this is faster with C#.
So I google around to see how to read the next integer from a file... and i google.... and i google..... WHAT THE HELL?! You can't just type someinteger = file.readInteger() or anything like that. Hell, C++ even lets you do file >> someinteger. Isn't this language supposed to be better?! So I'm sitting here and I have the choice to either read every damn line one at a time from the file and sift through that crap to get my integers out or I can read every damn character one at a time. What the hell is the point in this?
Here's how I want this crap to work .NET :
- I want the choice to read in whatever damn data type I want and I want you to take out whitespace and other standard delimiters just like C++, OK?!
- I want to be able to read in these data types WITHOUT specifying exactly how many bytes I want to read in because this is a huge pain in the ass when they're all different types
Jesus christ, you think this kind of crap would be standard on a language that's supposed to kick ass. I hope I'm just being a huge moron and couldn't find it after about 20 minutes of googling. If that is the case, I will gladly proclaim myself a moron and continue coding, but until then .NET can kiss my ass and take its crappy file I/O with it.
:|:|:|
[/END RANT]
-silver
I was going to try and do some simple coding in C# to see if I wanted to use it to program.
I attempt to read a txt file in and after googling for about 10 minutes, I find a combination that reads the file in (after having like 10 options to choose from). This isn't so bad I guess. It gives lots of options for buffered reading, etc, etc. Ok, now to see if this is faster with C#.
So I google around to see how to read the next integer from a file... and i google.... and i google..... WHAT THE HELL?! You can't just type someinteger = file.readInteger() or anything like that. Hell, C++ even lets you do file >> someinteger. Isn't this language supposed to be better?! So I'm sitting here and I have the choice to either read every damn line one at a time from the file and sift through that crap to get my integers out or I can read every damn character one at a time. What the hell is the point in this?
Here's how I want this crap to work .NET :
- I want the choice to read in whatever damn data type I want and I want you to take out whitespace and other standard delimiters just like C++, OK?!
- I want to be able to read in these data types WITHOUT specifying exactly how many bytes I want to read in because this is a huge pain in the ass when they're all different types
Jesus christ, you think this kind of crap would be standard on a language that's supposed to kick ass. I hope I'm just being a huge moron and couldn't find it after about 20 minutes of googling. If that is the case, I will gladly proclaim myself a moron and continue coding, but until then .NET can kiss my ass and take its crappy file I/O with it.
:|:|:|
[/END RANT]
-silver