The online racing simulator
Coding: Where do i start?
1
(42 posts, started )
Coding: Where do i start?
I need help with c#! Where do I start learning? lol
Here?
Attached images
csharp_book_96bpi.jpg
#3 - Woz
Quote from master_lfs.5101 :I need help with c#! Where do I start learning? lol

Do you have ANY coding experience at all or are you new to it. If you are new a Dummies book is your best bet.

A quick word of warning. Be prepared to read a LOT of information before you can really do ANYTHING at all. You need to have the right sort of brain for development as well or you are in for a world of pain. You need to be good at lateral thinking, like more abstract types of maths (formula based etc)

If you get problems be prepared to step away and leave the code to read and re-read more books. You see many people here trying to learn and they end up asking for help on every tiny problem. In reality you need to actually understand what you are doing or you will not be able to do anything.

Finally remember that some bugs will not even be in places anywhere near where the code finally goes bang

Have fun
Don't bother, its all a pain in the ass anyway

I've decided to give C++ a proper go and see where it takes me and so far I've built one tool and its been frustrating the whole way.

Google for C# tutorials, I'm sure there are like a million and one, also download source and just try and work it out, most of it has loads of comments that explain everything nicely anyway.

Good luck!



I also downloaded the DirectX SDK to try and help me create something that will allow me look behind when I press both of the G25 red buttons, turns out that the input is only picked up when the window is actually active.
#5 - Dac
of the languages ive used so far id recommend Java, the syntax is pretty much identicle to C but doing higher level things with it are made MUCH easier.

i agree with the dummies book, i started with the C++ book and it couldnt have made it any easier. literally a dummy could have used it :P
Oh please, don't get me started on Java's shortcomings as a language...
#7 - MR_B
Quote from JamesF1 :Oh please, don't get me started on Java's shortcomings as a language...

-
Attached images
orlyqi9.gif
Quote from Dac :of the languages ive used so far id recommend Java, the syntax is pretty much identicle to C but doing higher level things with it are made MUCH easier.

I'd have said it was the other way round to be honest, but I guess it's apples and pears. In my limited mind, C# is better designed, has better tools, better support, and most importantly, a more promising future. Aside from cross-platform support, I'd struggle to think of anything Java actually does better. But hey, both have their good points and both have their flaws. Probably just down to personal taste.

Edit: Sorry, it's late at night and I'm kinda drunk, I thought you were comparing Java to C#, but you weren't. Still, I'm right about the Java vs C# thing, so I leave my post unmolested.
Quote from MR_B :-

I really recommend people click on that post, as it's funny as shit!

Quote from JamesF1 :Oh please, don't get me started on Java's shortcomings as a language...

Or as a general concept! I hated Java when I took computer programming at school! I hated the long names for everything!

language.java.sucks.toScreen.wait(5); // Returns TRUE after 5 seconds

Yes, I know you could alias that, but still why?
Quote from MR_B :-

Be honest, you were dying to use that image in a post, weren't you?

On-topic, though, even though DarkTimes was drunk, I'd agree with him - C# is a far superior language to Java... and if you code carefully (granted, you're all but forced into making GTK interfaces), it'll run cross-platform adequately using Mono.
#11 - Dac
im not comparing the two languages! all i was saying was its far easier to do higher level work in Java (due to its OO nature and libraries) than it is in C++ - which is the only C variant ive used. anybody care to disagree with that?
Yes. C++ is also an OO language (though, not entirely in the strictest sense - but it's OO-supportive), and also has libraries... in addition, it's a mid-level language, combining both high-level and low-level aspects. As it can do the same as Java, your point of Java being 'easier' is moot... as it's a point of view.

There we go, both of your points are at least matched, without going into any further detail (and we could go from syntax, to function naming, to execution times, to memory footprints...).

Java isn't the most appalling example of a programming language that I've ever seen, but it's remarkably close - and there are a decent number of languages that are just plainly superior to it. Coming from several years of (somewhat forced) experience with Java, and many optional years of experience with many other languages, I can say that without making huge assumptions. Java is horrid - and I have to stop myself from launching into a large rant (which I'm sure I've posted somewhere in this forum before) about how inadequate it is as a language.
A proposition
-
(MonkOnHotTinRoof) DELETED by MonkOnHotTinRoof
master_lfs.5101, i will say as Forcemagic told you , come see DLFSS Project, who is openSource and as primary goal! meet new Commer! and Learn, and is c# as you requested first!

To comment other post into this Thread! did you really intend to help the author of this thread! or start a fight on witch girl is the more beautiful?

Chosing a Coding Language, is a personal question.
So, no Wrong no Good.

If you feel Joy, inside, that mean this is your Truly you!


On this i really hope! you start somewhere, master_lfs.5101 and don't be d ... e, all will go in place!
Personally, I would advise against using an in-development project to learn a language. You need to learn from tried-and-tested code from 'experts' (though, that term is hard to define), rather than using just anybody's code - that's how you develop bad practices.

No offence intended, Greenseed.
What ever!

When your tired of searching...

Im free to help you with the best i can gave! on DLFSS Project


JamesF1, i see no ofence, at the moment you taked the time to really look at my work, and that answer is == to your opinion!


P.S. i learned codding with: www.mangosproject.org and was the best thing ever for me! a in-developement project so as i say before no good no wrong really depend on the person!

And totaly agree with: JamesF1 starting with some more experienced then you is far then good for all the question you may have!

Will you have a bad style or good , cause your teacher, in the beggin for sure! but when you start thinking on your own! maybe you will learn to the teacher!

Do we have make the circle around that question... i really don't think so haha! But me i think i have! so on this! hope you, start some where!

And other see ya into another thread!


P.S. when im reading my post, i look cold.. but english is not well know by me! so im limited the way i presente my view! hope you understand!
that reminds me. I used to have a book named Beginning Visual C# Express.
This book actually quite helped me.

ahh... found it
its quite food, it tells you simple program programming and may help in what you need. I think there's also an advanced book buy i highly recommend it.

http://www.lsl.com.au/images/i ... ing-visual-cs-express.jpg - beginer
hmm. will the touririals that microsoft provides in the visual studio c# 2008 edition help me at all? or not? I really need to begin righting insim.
i'm not too sure if it covers exactly what you need, but it covers the basics of C# of which you'll probably most need when codin InSim

All i can say is, good luck!
javascript.

i'm not shitting you.
JavaScript is an absolutely terrible place to start learning. Why on Earth would you go for an incredibly limited, inconsistent, scripting language as your starting point!? The mind boggles. JS is a perfectly valid solution for various client-side additions to web interfaces, but it's not a good place to start with programming - especially as it's dynamic and weakly-typed (not to mention that a polymorphic language is a terrible way to learn).
because you don't have to download NOTHING to start coding, you can see results from the first line (important when you cut your teeth at something), it is OS agnostic, it is documented like hell, it is used everywhere, is flexible, practical and if you tie it to this, it gets even more interesting.
Quote from JamesF1 :JavaScript is an absolutely terrible place to start learning. Why on Earth would you go for an incredibly limited, inconsistent, scripting language as your starting point!? The mind boggles. JS is a perfectly valid solution for various client-side additions to web interfaces, but it's not a good place to start with programming - especially as it's dynamic and weakly-typed (not to mention that a polymorphic language is a terrible way to learn).

lol, so what do u suggest to him for start learning ?

Personnaly I think each language is a good start, there are something to learn in each of them. Anyway, the important thing is to learn how to code, the language doesn't have a so important part in the decision. When you know coding you can use every languages.
Quote from george_tsiros :because you don't have to download NOTHING to start coding, you can see results from the first line (important when you cut your teeth at something), it is OS agnostic, it is documented like hell, it is used everywhere, is flexible, practical and if you tie it to this, it gets even more interesting.

None of those even begin to compete with the fundamental problems with using it as a first language, that I mentioned above. As for Processing.js, you do realise that's just a port of Processing itself - and is, therefore, an entirely moot point, rather than a benefit to learning JavaScript?

Quote from ForceMagic :lol, so what do u suggest to him for start learning ?

If you care to read my earlier posts in this thread, you'll find out

Quote :Anyway, the important thing is to learn how to code, the language doesn't have a so important part in the decision. When you know coding you can use every languages.

Wow... two incredibly incorrect statements there. All languages are not equal - some encourage sloppy coding style, and give a false impression of what programming actually is, whilst others promote good structure, readability and encourage useful, functional thinking.

In addition, just because you understand one language, doesn't mean you can understand others more easily - only languages derived from the same root (and, even then, the subtle differences may cause huge confusion, rather than be of benefit). For example, show me how learning C# would benefit you when learning PROLOG... if anything it's a hindrance (speaking from experience, here). As an example of the other point, learning C doesn't make you any good at C++ and, in fact, may prove detrimental to a first-time programmer.

If the programmer doesn't first understand the basis, theory and structure of the language they're starting out with, they have no hope elsewhere - but, just because they understand it, doesn't mean they have all languages figured out. That would be like saying that English is a Latin-derived language, and Italian is a Latin-derived language... so, because I can speak English, I can speak Italian. It just doesn't work like that. Likewise, from experience of speaking three Germanic languages (Afrikaans, Dutch and German), there is definitely a hinderance to be found in similar languages when there aspects are only subtly different (the majorly different aspects aren't that much of a problem).

I still lose track of the number of times I go to use malloc in C++, instead of new in certain circumstances...
Quote from JamesF1 :None of those even begin to compete with the fundamental problems with using it as a first language, that I mentioned above. As for Processing.js, you do realise that's just a port of Processing itself - and is, therefore, an entirely moot point, rather than a benefit to learning JavaScript?

did i say Processing is exclusive to js, therefore js has an advantage over other languages, solely because of Processing?

i will skip most of your post (its not a rant. i am ranting, though). you have a beginner in front of you. do you really want to put him through the minced meat machine that is the learning of subtle programming issues... like... the difference between declaration and definition?

i consider a beginner like someone who still can't see what's the point of programming. what does it mean to 'program' ?

anyway i am not going to even try and prove why js is a good choice to start learning programming. you seem to have greater technical knowledge on the matter of programming than i do, but you need to consider that you have someone with very little knowledge in front of you. if he cant see an immediate result of the small examples that you give him, he will lose interest. if he has to spend line after line after line, defining classes (objects if you are pascal guy), instantiating them, callocing stuff, juggling pointers and learning about the 100 different APIs below your code without even getting to the nitty gritty of what does it all equate to... you've lost him.

if learning a language is as you present it, just shove k&r in his hands and spit 'read' in his face. or worse, the x86 ISA reference

i don't think it works that way

much like when you start learning racing you don't jump in the sauber. you start with the UF1. on a parking lot. alone.
1

Coding: Where do i start?
(42 posts, started )
FGED GREDG RDFGDR GSFDG