|
You last visited: Today at 18:44
Advertisement
Programming for Idiots (C#) - Take 2
Discussion on Programming for Idiots (C#) - Take 2 within the CO2 Programming forum part of the Conquer Online 2 category.
12/14/2010, 13:30
|
#16
|
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
|
Interesting tutorials. In my opinion there's no need to tell more about dowhile-loop since It's basically (like you stated) just the same as while-loop except for the fact that it always runs at least once.
[Last part]
It's also questionable whether to teach pointers for beginners (or as you call, idiots). There's really no point since they've picked C# where you're not really supposed to work with pointers. IMO the memory part should've been at the beginning with introduction to variables (how much they take space, their types etc.). PInvoke is always good, if you wish to extend the standard .net library.
Good tutorial(s) nevertheless.
|
|
|
12/14/2010, 15:12
|
#17
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
Quote:
Originally Posted by tanelipe
Interesting tutorials. In my opinion there's no need to tell more about dowhile-loop since It's basically (like you stated) just the same as while-loop except for the fact that it always runs at least once.
[Last part]
It's also questionable whether to teach pointers for beginners (or as you call, idiots). There's really no point since they've picked C# where you're not really supposed to work with pointers. IMO the memory part should've been at the beginning with introduction to variables (how much they take space, their types etc.). PInvoke is always good, if you wish to extend the standard .net library.
Good tutorial(s) nevertheless.
|
The way I looked at it was by the time I get down to that point, they should have a fairly fluently understanding of the general language itself. Hence forth, this is why I call it the "dark-side" of C#. As it can be avoided, but that isn't to be said that it should. More or less I'm trying to build a foundation from bottom-up to the "pro" level.
|
|
|
12/14/2010, 19:56
|
#18
|
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
|
im curious, your planning on doing tutorials on threading?
maybe crossthreading and thread safety?
|
|
|
12/14/2010, 21:28
|
#19
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
Threading will be covered in Unit 3 (Frequently used classes). It will rely heavily upon material from Unit 2 (delegates, anonymous methods, procedures). I think I'll have to break threading up into two sections, which will just be -- how it works, and the dangers of it (i.e. deadlocking). Once I run out of material to talk about (i.e. after Unit 5) I'll likely start talking about stuff like the AppDomain, BigInteger (.NET 4.0), and so on -- In other words likely something titled "Uncommon Classes".
|
|
|
12/14/2010, 21:43
|
#20
|
elite*gold: 20
Join Date: Jun 2006
Posts: 3,296
Received Thanks: 925
|
But what if you get bored before you even get there? With the videos you just stopped.
|
|
|
12/14/2010, 21:56
|
#21
|
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
|
Quote:
Originally Posted by Kiyono
But what if you get bored before you even get there? With the videos you just stopped.
|
Don't be negative<3
Lets hope he dosn't.
 
|
|
|
12/15/2010, 05:04
|
#22
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
Quote:
Originally Posted by Kiyono
But what if you get bored before you even get there? With the videos you just stopped.
|
Like I said with the before. With the videos it was more like; I had to do everything at once. Each lesson had to be recorded in one go -- and if I ****** up, I might have to even re-record. This was a real negative aspect to using videos.
By using Word documents, I can work on half a unit now; and then the other half a couple hours later and nobody would be able to tell. Winter break is coming up for me which means even more spare time too.
Edit: Added Lesson Two - Classes and the Static-modifier
- lol, I realized I forgot to explain arrays in Unit One, so I'll have to get that done tomorrow.
|
|
|
12/15/2010, 17:22
|
#23
|
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
|
cant seem to download the latest one, is anyone else having problems?
|
|
|
12/15/2010, 20:20
|
#24
|
elite*gold: 0
Join Date: Mar 2008
Posts: 348
Received Thanks: 366
|
hmmmz you have anything about kissing php with C# :P "Soap clients" ?
|
|
|
12/16/2010, 00:24
|
#25
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
Quote:
Originally Posted by E.M.E
hmmmz you have anything about kissing php with C# :P "Soap clients" ?
|
I don't (nor do I particularly intend at this time to at this time). Sorry.
Added Lesson Nine - Arrays (Unit One). Also, just realized I'll have to explain multi-dimensional arrays as well, so that's a lesson ten for unit one, haha.
|
|
|
12/16/2010, 22:17
|
#26
|
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
|
could touch on jagged arrays, even though they are hardly ever used.
|
|
|
12/17/2010, 01:06
|
#27
|
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
|
I planned on including jagged arrays when I talked about multi-dimensional arrays, because hey; not all programming languages have multi-dimensional arrays! So it's worth while knowledge.  Will have a guide up by the end of tonight on 'em!
Edit:
Added ( Unit One) Lesson Ten - Arrays(II).
|
|
|
12/17/2010, 10:50
|
#28
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
|
This is looking like a very useful resource, very informative as usual from you inf.
Keep it up
|
|
|
12/17/2010, 14:53
|
#29
|
elite*gold: 0
Join Date: Dec 2006
Posts: 1,039
Received Thanks: 1,335
|
Sticky?
|
|
|
12/17/2010, 19:33
|
#30
|
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,001
|
People don't read stickys (judging by the amount of rule-breakers this forum has) so it's better to just leave it amongst normal threads.
|
|
|
 |
|
Similar Threads
|
Programming For Idiots (Tutorial) - In C#
05/25/2013 - CO2 Programming - 188 Replies
This tutorial has been superseded by: http://www.elitepvpers.com/forum/co2-programming/88 5939-programming-idiots-c-take-2-a.html
Well for the next week (or so) due to being bored, I've started a video-tutorial called C# Programming for Idiots and yeah, by the end of it I'll demonstrate how to make a conquer server (patch 5016 and before) without the need of mysql, or anything like that; all you need is the Visual C# compiler, and WinRAR (To extract the videos).
Visual C# Compiler:...
|
Programming for Idiots (Tutorial) C++
06/11/2012 - CO2 Programming - 20 Replies
Yeah, so in my relation to my C# one (http://www.elitepvpers.com/forum/co2-guides-templa tes/148675-programming-idiots-tutorial-c.html), which wasn't the best I felt I'll *try* make for it with this one. I've also got some spare time in between school, from when exams start, and a new Warlords server comes out... so yeah.
Right, so before I post any links to the videos I'd like to point out, so I don't get bitched at by people saying, "this isn't real C++", most of the things I do will be...
|
[RE-OPENING]"Programming For Idiots (Tutorial) - In C#"
09/17/2009 - CO2 Programming - 20 Replies
At start i want to say THIS IS NOT MY GUIDE , GUIDE WAS MADE BY INFAMOUSNONE!!
|
All times are GMT +1. The time now is 18:45.
|
|