I'm learning C# at school now. Kind of annoying when they tell you to do an exercise and it turns out that one minute they're telling you to program in C# and the next they give you a butt load of VB code.
[QUOTE=TamTamJam;24893337]That looks badass.[/QUOTE]
I actually have one of those. The loading/saving system is amazing.
All the code is saved to an audio cassette in a form of beeps with different frequencies.
I'm doing a "enrichment" thing (extra-curricular activity, you know), in which we're gonna make a strategy web game with ASP.NET
I was pretty much the only one (apart from the teacher) who'd actually touched a programming language before, and he was teaching everyone VB code
I was sneakily converting it all to C# and using that instead :3:
[editline]01:01PM[/editline]
Guy next to me said "Are you using the same program as us"? :eng99:
At my collage we are learning Visual basic I would prefer to have learned C++ tho.
We use VB.NET, probably because anything else would be too complicated for the teachers to teach. My teacher claims he knows c++, but I don't believe him.
[QUOTE=thomasfn;24921463]We use VB.NET, probably because anything else would be too complicated for the teachers to teach. [B]My teacher claims he knows c++, but I don't believe him.[/B][/QUOTE]
Made me lol.
Mine teaches C++ and doesn't know it XD
I'm in my first year of Computer Science, and we're doing Python. Seems like I've got it easy compared to you guys.
[QUOTE=Darwin226;24922184]Made me lol.
Mine teaches C++ and doesn't know it XD[/QUOTE]
The Java class that the OP was talking about(We apparently go to the same school, would you know) doesn't have a teacher. The C++ and Qbasic teacher tells them to go by the book, and all they do is read+fuck around after a test.
[QUOTE=PvtCupcakes;24855330]My teacher thinks the same group of people made C, C++, C#, and Java. And she claims that those languages were produced in that order. :smith:
Also, she keeps ranting about how great Pascal is. And she hates my usage of printf() in Java because "it's not the Java way".
Honestly, all computer classes in schools are garbage. I've yet to see one even partially bearable. The instructors typically have no real world experience because if they did they sure as hell wouldn't be teaching.
My teacher tried to tell me that commenting your braces like so:
[cpp]
int main()
{ //begin main
return 0;
} //end main
[/cpp]
was how you write "professional" code. When I didn't do that, she took 10 points off each of my 3 programs in the assignment. I called her out on that and said it was stupid and pointless and that in fact nobody does it. After she blew my argument off, I asked her if she had ever looked at anyone else's code other than her own. At that point she ignored my question and just yelled "Just do it because I said so."
:saddowns:[/QUOTE]
If you're writing large programs with many methods and classes then I may be useful to get into the habit of doing that. She's just trying to help you get into a good habit, companies like to buy programs that are written neatly and are easy to identify.
Of course there's a difference between good habit and good results. My old Business Applications teacher forced us to type with the home-row keys even after I proved I type much faster and better with my style of typing. v:v:v
My Computer Programming class teacher actually knows what he is doing, but unfortunately he refuses to listen about anything that isn't Java. He talked for an hour and a half about how Java is the future, how the standard libraries make writing code very easy and simple, and how no other language has them.
After class, I went up and told him about the C, C++, C#, Haskell, etc standard libraries and he responded that they are poorly implemented and that Java is the only language that has a standards committee- Because it's made by one company.
Of course, first we "learned" HTML, then we started on Java, but programming in Java after having used C, C++, C#, Haskell, etc just seems really clunky.
[editline]I have to put something here for some reason[/editline]
Wyzard, its not me that thinks they are poorly implemented, or not available, its him.
Wait, but C# doesn't even compile without it's standard library (so to speak)
[QUOTE=Whitewater;24926894]My Computer Programming class teacher actually knows what he is doing, but unfortunately he refuses to listen about anything that isn't Java. He talked for an hour and a half about how Java is the future, how the standard libraries make writing code very easy and simple, and how no other language has them.[/QUOTE]
He has a point about the libraries — Java's extensive standard libraries, and the wealth of additional third-party libraries available, are the real strength of the platform. (The language itself isn't particularly outstanding.) However, .NET has a similarly-large standard library, and if it lacks the breadth of third-party libraries Java has, that's largely because it's a younger platform, still growing.
[QUOTE=Whitewater;24926894]After class, I went up and told him about the C, C++, C#, Haskell, etc standard libraries and he responded that they are poorly implemented and that Java is the only language that has a standards committee- Because it's made by one company.[/QUOTE]
They're not poorly-implemented, they're just smaller in scope (with the exception of C#, as noted above). The C++ standard library, for example, provides core essential stuff that just about [i]any[/i] type of program is going to need — a string class, standard containers and algorithms — but doesn't cater to specific application domains like GUIs or web apps, as Java does, because those facilities can be provided just as well by third-party libraries that are pulled in only by the people who actually need them.
I've actually run into dependency problems caused by Java's kitchen-sink library strategy: Sun pulls third-party libraries like Xerces into the Java platform, leading to [url=http://stackoverflow.com/questions/2898793/xerces-serialization-in-java-6]conflicts between the standalone version and the "standardized" version[/url]. I've had to put exclusions in Maven POMs to suppress dependencies on Xerces-the-standalone-library, because otherwise I'd get some objects being instantiated from one copy of Xerces and others being instantiated from the other copy, leading to ClassCastExceptions when something passes an instance of one to a method of the other.
BTW, Java does not have a standards committee! The fact that it's "made by one company" means it's a proprietary language, and although it's steered by a community of experts via the [url=http://jcp.org/]JCP[/url], ultimately Sun has the final say in where Java goes. Languages that are actually standardized, like C++ ([url=http://www-d0.fnal.gov/~dladams/cxx_standard.pdf]ISO 14882[/url]), have standards committees.
[QUOTE=VeryNiceGuy;24925140]Of course there's a difference between good habit and good results. My old Business Applications teacher forced us to type with the home-row keys even after I proved I type much faster and better with my style of typing. v:v:v[/QUOTE]
Do you type 60 WPM with "your" style?
I'd be suprised if you do. I was absolutely convinced I could type fine in my old "two fingers on each hand that hover around the entire board" style until I was forced to learn the "proper" method in school. Now I know how wrong I was.
I do type around 50 - 60 WPM with my way of typing. I've been typing that way for many years and I've grown close to it.. <3
[B]Edit:[/B] I don't type with two fingers, I just press the buttons as I need them..it's hard to explain it but I type fast and without errors. :)
I used to type about 40 WPM. I actually got pretty fast with it. My technique kind of developed because I played a lot of FPS games and didn't have time to find the home row or move my left hand far from WASD. Also, programming. The home row is great for english words, but it sucks hard for numbers and symbols. I type 55-65 pretty consistently with the proper method, limited mostly by mistakes I make when reaching with my pinky or that useless adjacent finger that moves with the pinky.
I learned to type from playing games too. I can't stand the home rows, and I feel like a secretary if I use them.
[QUOTE=VeryNiceGuy;24929764]I don't type with two fingers, I just press the buttons as I need them..it's hard to explain it but I type fast and without errors. :)[/QUOTE]
Do you look at the keys while you type? I used to type as you do, ad-hoc but fairly quicky, but had to look at the keys while typing. I took a keyboarding class in high school and learned to type properly, and 14 years later as a professional software engineer who types (mostly code and shell commands) all day, I can say it's definitely a valuable skill. If you have to look at the keys you're forced to alternate between typing and looking up to read what you just typed; if you can do both at the same time, it gets to be like using a mouse, where you don't really have to think much about what your hand is doing so you can stay focused on what's happening on the screen.
(If you want to be different, though, you can learn the [url=http://en.wikipedia.org/wiki/Dvorak_Simplified_Keyboard]Dvorak[/url] layout instead of the more common QWERTY layout. It's said to be more efficient, and I switched to it once and found that it only took me a week or two to reach the same level of proficiency I'd had on QWERTY. I ended up switching back, though, because while accustomed to Dvorak I couldn't type effectively on QWERTY, and I needed to be able to use computers that I didn't have the option of configuring to suit my preferences.)
No, I don't look at the keys. I used to but I've gotten away from that. I've done alot of typing in the dark to the point of where I don't need to think about my typing or look at the keyboard.
Ey man I feel your pain. Teacher who taught us QBasic didn't tell us about B :argh:
So at first, we had to do [code]LINE (x1,y1)-(x2,y2)[/code] 4 times to draw a box.
Then he told us about B and a box took 1 line
[code]LINE (x1,y1)-(x2,y2),color,B[/code] and that drew a box. :wtf:
I also type with my "own" sort of method. I haven't bothered measuring how fast it is but I don't really care all that much; it's more than fast enough for me :P
From what I've seen of touch typing or whatever, I basically just do the same thing with a few differences
I use the two finger typing method, just with more fingers.
I see no point learning to type faster, since I can't think that fast anyway.
I type at a fairly average speed of 110 WPM, but my peak has been 130 WPM. It hasn't all been all that difficult for me - I just picked it up and now I have people asking me how I learnt to type that fast. I blame my obsessive GMod playing (the last 4 years).
[QUOTE=Nipa;24935397]I type at a fairly average speed of 110 WPM, but my peak has been 130 WPM. It hasn't all been all that difficult for me - I just picked it up and now I have people asking me how I learnt to type that fast. I blame my obsessive GMod playing (the last 4 years).[/QUOTE]
Average? fastest typer on typeracer is 174 WPM and number 4 is 121 wpm (average typing)
I'm currently typing with only two fingers and my average speed is 95 WPM. But I don't think learning to type faster will be that useful for programming.
[QUOTE=esalaka;24841031]What the christ are you on? First of all, there is no single language called BASIC - there's Yabasic, QBasic (and QuickBasic), Visual Basic (Not so much the .NET-versions), CoolBasic (meh), Blitz...[/QUOTE]
I didn't know there was a difference between ya and Q basic.
I learned YA Basic, and I think I made a snake game..
Pretty simple, but yeah.
With programming, you can be faster than someone who can only type fast, providing you make good use of keyboard shortcuts
Like shift+home or shift+end to select a whole line, and some editors have ctrl+D or something to duplicate lines as well
Of course, utilising those well as WELL as typing fast is great
[QUOTE=Chris220;24938899]— —some editors have ctrl+D or something to duplicate lines as well[/QUOTE]
:cop++ :smile:
Anyway, ^D seems to be the *NIX shortcut for line cutting/removing. Can't remember which.
[editline]06:05PM[/editline]
The only editor I've seen where ^D duplicates lines is Notepad++
I thought ^D was EOF. >_>
^C is EOF. But it's not like it closes text editors...
Sorry, you need to Log In to post a reply to this thread.