wants to learn coding/programming

Anything else. Post a funny site or tell us about yourself. Discuss current events or whatever else you want. Post off topic threads here.
Post Reply
User avatar
penfold1992
Senior Member
Posts: 4059
Joined: Sun Apr 22, 2007 9:48 am
Quick Reply: Yes
Location: Uranus

wants to learn coding/programming

Post by penfold1992 »

so yea, i want to start getting into learning coding and programming. i have tonnes of spare time on my hand and its time to put it into some sort of use so heres my attempt lol.
im not sure whats best to start with or what i should be looking into or what but never the less...
c++ seems like a solid coding language that is most commonly used today however ive heard its not very beginner friendly...
java seems like another good language with android and apps coding from java primarily.

there are others such as c#,python,html and among others but im not really sure whats the best to start with or how to even go about starting to learn. i must admit though, id probably be more intrested in coding something like patches/hotfixes/gui mods or even something like minecraft mods if thats an easy starting point!

i guess im looking for ideas and maybe some hint as to where i should start or prehaps someone here is a coder that could suggest things or could even help tutor with questions i may have.

thanks in advanced from a very bored but keen learner lol
Image

User avatar
Avalanche
Site Contributor
Posts: 3606
Joined: Mon Jan 30, 2006 4:08 am
Quick Reply: Yes
Location: guildwars2

Re: wants to learn coding/programming

Post by Avalanche »

If you want to learn C++, start with basic C then go to C++. What do you want to code? Websites? Programs? Apps? It all depends on what you want to do.

Your best bet is to pick up some books and guides and start from there. There are a LOT of books on programming of all languages.

User avatar
Gaigemasta
Site Contributor
Posts: 4474
Joined: Sun Dec 24, 2006 3:12 pm
Quick Reply: Yes
Location: off topic
Contact:

Re: wants to learn coding/programming

Post by Gaigemasta »

Learn python! It's a powerful and expandable language. Though the structure is a lot like C (which it is programmed in C) it's a language the makes sense. It's easy to learn, open source like none other, great community, and great guides and cookbooks to toy around with.


Edit:

Minecraft modding usually centers around Java and Python
Image

User avatar
Stress
Ex-Staff
Posts: 4599
Joined: Thu Oct 26, 2006 7:42 am
Quick Reply: Yes
Location: Studying Computer Science, Vienna

Re: wants to learn coding/programming

Post by Stress »

More important than knowing a specific programming language, or knowing "how to do X or Y", is to understand the fundamentals of Programming. I would strongly advise against diving right into things like Minecraft Mods or trying to design patches/gui mods straight away. You need to have a good grasp of what is going on underneath, in order to be a proficient programmer. C++ is a good choice for a beginner, in my opinion. It's not as friendly as C# or Python in the sense that you won't see programs with buttons, menus and dialogs at first. However, I believe you need a good low-level foundation, otherwise you can't do anything properly. Look for beginner video tutorials, then try to solve simple (mathematical, if possible) problems in C++, like, for example, "Find the integer with the highest number of distinct divisors in a given range." Move on to data structures. Learn how to use arrays and pointers. Read about binary trees, hash tables, linked lists, stacks, queues. If you decide on C++, you should also become familiar with STL. Video tutorial series should cover all of these. The next step would be to study the Object-Oriented programming paradigm (OOP), as opposed to the sequential one you've gotten used to. Work with Classes in C++. Learn to organize your code, establish sane models for your code and implement them in modular, ordered fashion. From here on, if you've done everything well, you can move on to anything you like, really. C# will be very easy to learn, so will Java, as you will already be familiar with OOP.

IMHO, to be a good programmer, you need to start very low and be very, very patient. Programming is difficult, time-consuming and - initially - not very rewarding. If you decide to take this seriously, message me on SRF whenever you have a question or whenever you need help. Remember to always think about your problems extensively before looking for an answer online or asking someone about it. It's much more rewarding to come to the result yourself, and to see that your code actually does what it's supposed to do.

If you're using Windows, download Microsoft Visual Studio Express. It has all the tools you need to compile and run your programs. You can code in any language you like using VS, C, C++, C#, etc. For Java, download Eclipse or NetBeans. If you're on any *NIX system (Linux, OS X, Solaris, BSD, etc.), you can compile C/C++ code with GCC, and packets for compiling and running Java are available from Sun's website. C# doesn't run on anything other than Windows, though, so keep that in mind.

If there's anything else you'd like to know, ask me, here or through PM. Good luck!
Carry your cross, and I'll carry mine.

User avatar
NuclearSilo
Forum God
Posts: 8834
Joined: Mon Aug 21, 2006 12:00 pm
Quick Reply: Yes
Location: Age of Wushu

Re: wants to learn coding/programming

Post by NuclearSilo »

C#. It's a merge between C++ and Java.
If you concerns more about GUI, take C#.NET
If you concerns more about the mechanism of the program, dealing with memory, take C++.NET
PHP is for website
Playing Age of Wushu, dota IMBA

User avatar
penfold1992
Senior Member
Posts: 4059
Joined: Sun Apr 22, 2007 9:48 am
Quick Reply: Yes
Location: Uranus

Re: wants to learn coding/programming

Post by penfold1992 »

thanks for the replies, what i ment by my previous post about things like minecraft mods is the same as what people do with pk2 editting here... having a base which starts simple and is highly rewarding is such a good step into coding.
changing a line in a text file ment i could appear to have an sox weapon!!!
having someone elses code and then tweaking things is what i thought might be a good idea seeing as you start with a working product already and trying to achieve a slightly different result... things can be slowly increased until you get further but you always can visually see your improvement as you go.

sometimes coding can be a lot of code and a lot of time yet your finish result just fails and doesnt work at all and errors out... this is where not just me but most people are likely to just give up. with no formal training i feel this is likely to happen... more so in c++ or c# to be honest.
python does seem like a good starting point, so does c# but i understand 100% why stress recommends c++.
as for what coding im into doing, really depends on the result... website code doesnt intrest me as much because im not an artist as such...
Image

User avatar
ShiningBow
Active Member
Posts: 895
Joined: Sat Sep 15, 2007 9:27 pm
Quick Reply: Yes
Location: Oasis

Re: wants to learn coding/programming

Post by ShiningBow »

Well I am taking a very beginner computer science course (like totally beginner lol) and we started with QBasic... Its old but its very simple and perfect to learn the functions and stuff then we moved on to Visual Basic. Visual Basic is also easy and simple so I think it would be best for you to start off with Visual Basic.

Not to hijack the thread but for a project I have to make my own program in Visual basic... anyone got any ideas (they have to be relatively simple, but not super simple either lol)
Silkroad Online.
Server:Venus
IGN:KrazyStrong
Level:78
Build:Warrior
Guild:SuddenDeath

Image

User avatar
penfold1992
Senior Member
Posts: 4059
Joined: Sun Apr 22, 2007 9:48 am
Quick Reply: Yes
Location: Uranus

Re: wants to learn coding/programming

Post by penfold1992 »

... make ur own thread... this is mine!

vb scripting, i made a complex excel macro i think that uses vb scripting? (cant remember)
so i would probably do that...
Image

User avatar
Squirt
Forum God
Posts: 8186
Joined: Sat Jan 05, 2008 9:48 pm
Quick Reply: Yes
Location: Off Topic

Re: wants to learn coding/programming

Post by Squirt »

That was pretty rude penfold. Pretty sure its more efficient to just ask in one thread rathe than create another one
Image
Spoiler!

woutR wrote:Squirt, you're a genius when it comes to raping women.

User avatar
penfold1992
Senior Member
Posts: 4059
Joined: Sun Apr 22, 2007 9:48 am
Quick Reply: Yes
Location: Uranus

Re: wants to learn coding/programming

Post by penfold1992 »

Squirt wrote:That was pretty rude penfold. Pretty sure its more efficient to just ask in one thread rathe than create another one


it was a joke...
Image

User avatar
NuclearSilo
Forum God
Posts: 8834
Joined: Mon Aug 21, 2006 12:00 pm
Quick Reply: Yes
Location: Age of Wushu

Re: wants to learn coding/programming

Post by NuclearSilo »

If you want to make macro -> Autoit
If you want pk2 edit, hack, bot stuffs like Drew Benton -> C++.NET
Playing Age of Wushu, dota IMBA

User avatar
Krevidy
Addicted Member
Posts: 2629
Joined: Mon Mar 05, 2007 3:58 pm
Quick Reply: Yes
Location: The Netherlands

Re: wants to learn coding/programming

Post by Krevidy »

Start easy, begin with Java.
~ '' Dulce et decorum est pro patria mori ''

User avatar
penfold1992
Senior Member
Posts: 4059
Joined: Sun Apr 22, 2007 9:48 am
Quick Reply: Yes
Location: Uranus

Re: wants to learn coding/programming

Post by penfold1992 »

everyone recommends everything QQ

c++ python java and c# been recommended xD
Image

User avatar
Avalanche
Site Contributor
Posts: 3606
Joined: Mon Jan 30, 2006 4:08 am
Quick Reply: Yes
Location: guildwars2

Re: wants to learn coding/programming

Post by Avalanche »

Yeah all this stuff is recommended but no way in hell will you learn all these languages with "tonnes of spare time". People who study CS, CE, SIS, all takes 2-4 years of schooling to learn and understand these languages. The best you can do for now is learn the basic level of programming.

User avatar
penfold1992
Senior Member
Posts: 4059
Joined: Sun Apr 22, 2007 9:48 am
Quick Reply: Yes
Location: Uranus

Re: wants to learn coding/programming

Post by penfold1992 »

Avalanche wrote:Yeah all this stuff is recommended but no way in hell will you learn all these languages with "tonnes of spare time". People who study CS, CE, SIS, all takes 2-4 years of schooling to learn and understand these languages. The best you can do for now is learn the basic level of programming.


ive been out of work and education for 2 years now with no intent of doing either in the near future...

the spare time i have would be... all day really.
Image

User avatar
*BlackFox
Forum Legend
Posts: 7921
Joined: Wed Sep 03, 2008 12:55 pm
Quick Reply: Yes
Location: Off Topic

Re: wants to learn coding/programming

Post by *BlackFox »

penfold1992 wrote:with no intent of doing either in the near future...
Why not?
Image

User avatar
penfold1992
Senior Member
Posts: 4059
Joined: Sun Apr 22, 2007 9:48 am
Quick Reply: Yes
Location: Uranus

Re: wants to learn coding/programming

Post by penfold1992 »

severe anxiety issues.. dont see a future to be honest. id rather just stay at home and try to do something from home... make some sort of living of intrest or learning new things for that.
Image

User avatar
*BlackFox
Forum Legend
Posts: 7921
Joined: Wed Sep 03, 2008 12:55 pm
Quick Reply: Yes
Location: Off Topic

Re: wants to learn coding/programming

Post by *BlackFox »

penfold1992 wrote:id rather just stay at home and try to do something from home... make some sort of living of intrest or learning new things for that.
Well, I guess it's better than nothing.
Image

User avatar
Avalanche
Site Contributor
Posts: 3606
Joined: Mon Jan 30, 2006 4:08 am
Quick Reply: Yes
Location: guildwars2

Re: wants to learn coding/programming

Post by Avalanche »

Try taking online courses then. Learning this stuff by yourself isn't easy.

User avatar
SM-Count
Ex-Staff
Posts: 2761
Joined: Sat Jan 12, 2008 7:02 pm
Quick Reply: Yes
Location: /wave

Re: wants to learn coding/programming

Post by SM-Count »

Avalanche wrote:Yeah all this stuff is recommended but no way in hell will you learn all these languages with "tonnes of spare time". People who study CS, CE, SIS, all takes 2-4 years of schooling to learn and understand these languages. The best you can do for now is learn the basic level of programming.

Completely wrong. After your first language it takes only a month or two to learn a new language if you're spending a day or two a week on it. CS majors spend 2-4 years learning algorithms, data structures, computational complexity, digital logic, computer architecture, formal languages, design patterns, AI, assemblers, compilers, network protocols, switching theory etc. Different languages are picked up along the way because certain languages are really good at some jobs (for example matlab for computer imaging) but considering the first lab for new concepts start 3 weeks after the beginning of classes no one's gonna sit around teaching you syntax for a new language. At most the teacher will have a link to the official documentation website but that's usually it.

If all you want to do is learn languages so you can code stuff random shit then it shouldn't be hard at all. Heard newbies like python but don't know how much truth there is to that.

User avatar
Macs
Casual Member
Posts: 56
Joined: Wed Dec 28, 2011 11:48 pm
Quick Reply: Yes
Location: Bannet.

Re: wants to learn coding/programming

Post by Macs »

penfold1992 wrote:thanks for the replies, what i ment by my previous post about things like minecraft mods is the same as what people do with pk2 editting here... having a base which starts simple and is highly rewarding is such a good step into coding.
changing a line in a text file ment i could appear to have an sox weapon!!!
having someone elses code and then tweaking things is what i thought might be a good idea seeing as you start with a working product already and trying to achieve a slightly different result... things can be slowly increased until you get further but you always can visually see your improvement as you go.

sometimes coding can be a lot of code and a lot of time yet your finish result just fails and doesnt work at all and errors out... this is where not just me but most people are likely to just give up. with no formal training i feel this is likely to happen... more so in c++ or c# to be honest.
python does seem like a good starting point, so does c# but i understand 100% why stress recommends c++.
as for what coding im into doing, really depends on the result... website code doesnt intrest me as much because im not an artist as such...


Taking something made and slightly adapting it won't really teach you anything, especially if it's object orientated programming.
Image

User avatar
Azilius
Senior Member
Posts: 4236
Joined: Tue Oct 31, 2006 9:39 pm
Location: CS:GO

Re: wants to learn coding/programming

Post by Azilius »

C is a nice low level language that can help you understand fundamentals pretty easily. I started with visual basic, then very basic c++, then onto C. I learned a lot more about underlying ideas and programming concepts when I used C though. After you learn the basic concepts you should easily learn other languages. I picked up python in a day, and java in a few fairly easily after knowing enough about C.
ImageCrumpets for PresImage

User avatar
Skyve
Forum Legend
Posts: 7320
Joined: Thu Apr 13, 2006 4:42 pm
Quick Reply: Yes
Location: Canada

Re: wants to learn coding/programming

Post by Skyve »

On another note, fabulous Skyve is taking Intro Comp.Sci. as an option next year.
Image

ExSoldier/Skyve/Loki

what is life even

User avatar
Stress
Ex-Staff
Posts: 4599
Joined: Thu Oct 26, 2006 7:42 am
Quick Reply: Yes
Location: Studying Computer Science, Vienna

Re: wants to learn coding/programming

Post by Stress »

Azilius wrote:C is a nice low level language that can help you understand fundamentals pretty easily. I started with visual basic, then very basic c++, then onto C. I learned a lot more about underlying ideas and programming concepts when I used C though. After you learn the basic concepts you should easily learn other languages. I picked up python in a day, and java in a few fairly easily after knowing enough about C.


Yeah, same here. I started with C, when I was 13, and did C only until the end of high school. Then, i picked up C#, Java, C++ and Python as well.

Recently, I've gotten into Go, Google's programming language. Go is awesome; it's basically a 21st century C. I say this wherever I get the chance. For any programmer with some spare time and willingness, Go is an awesome, awesome language to learn. :dope:
Carry your cross, and I'll carry mine.

User avatar
marijnz0r
Active Member
Posts: 824
Joined: Fri Aug 29, 2008 10:17 am
Quick Reply: Yes
Location: Netherlands

Re: wants to learn coding/programming

Post by marijnz0r »

For scripting, check: http://www.w3schools.com

User avatar
EvGa
Addicted Member
Posts: 2612
Joined: Wed Apr 23, 2008 4:33 am
Quick Reply: Yes
Location: Texas

Re: wants to learn coding/programming

Post by EvGa »

SM-Count wrote:
Avalanche wrote:Yeah all this stuff is recommended but no way in hell will you learn all these languages with "tonnes of spare time". People who study CS, CE, SIS, all takes 2-4 years of schooling to learn and understand these languages. The best you can do for now is learn the basic level of programming.

Completely wrong. After your first language it takes only a month or two to learn a new language if you're spending a day or two a week on it. CS majors spend 2-4 years learning algorithms, data structures, computational complexity, digital logic, computer architecture, formal languages, design patterns, AI, assemblers, compilers, network protocols, switching theory etc. Different languages are picked up along the way because certain languages are really good at some jobs (for example matlab for computer imaging) but considering the first lab for new concepts start 3 weeks after the beginning of classes no one's gonna sit around teaching you syntax for a new language. At most the teacher will have a link to the official documentation website but that's usually it.


This guy! :D


Learn SQL and database fundamentals and then go get a job. But like Count said, once you have the fundamentals down you can pickup any language relatively quick.
Image

User avatar
omier
Elite Member
Posts: 5985
Joined: Thu Aug 24, 2006 9:33 pm
Quick Reply: Yes
Location: ...

Re: wants to learn coding/programming

Post by omier »

EvGa wrote:Learn SQL and database fundamentals and then go get a job. But like Count said, once you have the fundamentals down you can pickup any language relatively quick.

Yeah, make an SRO private server and mess around with the db. That might teach you something. It has to me. :)
Image Image Image

Post Reply

Return to “Off Topic Lounge”