#1
Posted 18 August 2013 - 02:09 AM
How did you pros do it?
#2
Posted 18 August 2013 - 11:30 AM
1. Reading the book / Searching online
2. Asking my dad questions
3. Hacking on code
A few years later, here I am, with knowledge of 3 languages that I've at least written some sort of code for.
Here's my suggestion for you :
1. Read tutorials, books, and other resources for the language (I'm going to assume it's Lua here)
2. Ask other programmers when you get stuck (but don't ask them without trying to solve the problem first!!)
3. Hack on your own projects and read (and maybe modify, too!) other people's code
Following these guidelines are a rough track on what you should do to learn.
Good luck!
(Disclaimer : This worked for me, but it may not work as well for you. Your mileage may vary.)
#3
Posted 18 August 2013 - 11:42 AM
I then progressed through school and learnt a few other basic languages there (however none do I remember today).
I've since either taken it upon myself to learn in my own spare time or via requirement at University for a Bachelor of Science majoring in Professional Software Development, to amount to a massive number of languages that I know or have used (>10 languages)
I definitely agree with these three points
Sora the Hedgehog, on 18 August 2013 - 11:30 AM, said:
2. Ask other programmers when you get stuck (but don't ask them without trying to solve the problem first!!)
3. Hack on your own projects and read (and maybe modify, too!) other people's code
— Never be afraid to ask for help, but try to figure it out first, solving problems yourself gives a greater sense of pride and accomplishment in projects (also it can help you avoid the problem next time as you've learnt it better)
— This third one I agree with the most, hacking away at your own programs, and reading/interpreting other peoples code will help most of all!
#4
Posted 18 August 2013 - 04:16 PM
So about 5-6 years since then, I now understand and can write in C++ and Java but I prefer to script in Lua.
Yes I agree with posts above mine as well, reading books, wikis, other peoples code and interpreting it (Never steal someone elses code) can be very beneficial
#5
Posted 18 August 2013 - 05:38 PM
But do not start with Java, my brain would've fried if I had started at that language. Lua is a very nice language and CC provides a very helpful API to help you code. But after you get most of the things about programming(if statements, functions, variables, etc..), I suggest moving on to a language that has more to offer, and it will be easier with the knowledge you'll previously have had.
#6
Posted 18 August 2013 - 05:39 PM
best way to learn is by doing. The most important thing you need, is a Task or a Project.
Give yourself a goal that you want to be done and than put yourself onto that way to solve it.
I wished i had internet when i learned BASIC, 25 Years ago. Use the gift, it knows it all.
#7
Posted 18 August 2013 - 06:49 PM
Always have a Developers manual for the language you wish to code in... eg Lua - http://www.lua.org/pil/contents.html - This is the online reference manual.
If you are using a custom coding language - eg. ComputerCraft. Then I suggest finding a list of commands and functions that you can use in the program code. (having a list of possible additional commands makes programming in the language easier.) As you use more and more of the available commands you will find that you know what to use more and more as you are writing your programs... By the time you realise it you are writing programs without thinking about how to write them.
(I consider myself a learner, With Lua I have found that you can never be a pro... Because of the way you can expand Lua as you write with lua.)
#8
Posted 18 August 2013 - 07:06 PM
brett122798, on 18 August 2013 - 05:38 PM, said:
albrat, on 18 August 2013 - 06:49 PM, said:
#9
Posted 19 August 2013 - 09:40 AM
I highly suggest reading either the tutorial in the wiki or one of the tutorials in the tutorial forum and reading the code of other people's programs. If you don't understand something try to look it up in the wiki, the official Lua reference and/or google.
#10
Posted 21 August 2013 - 09:12 PM
theoriginalbit, on 18 August 2013 - 07:06 PM, said:
Yes, what I meant by "transfer" was using a new syntax, but still performing the same logic.
#11
Posted 22 August 2013 - 02:13 AM
I've made some pretty cool games.
I can code in a few languages:
Lua
GameMaker
Batch
Some java
I probably get it from my dad, seeing as he's a very technical guy. He's programmed a few games, and made his own programs and some other things like that.
Me and him now use Codea for iOS. It is probably the most useful application for coding and probably the only decent one that uses Lua.
I also want to get a Raspberry Pi, it's a small computer that you can program to control robots, run OS's and games. You plug it into a monitor with a keyboard and mouse. You should take a look at it if you don't know what it is. It's like $40.
#13
Posted 22 August 2013 - 06:17 AM
ZudoHackz, on 22 August 2013 - 02:30 AM, said:
I then translated that program to the old BBC computers we had at school. ( and into commodore language for the C64 )
the days of basic ... lol. (The memory limits of 64kb too. ) I made a program back then that tried to use a tape to store a entire screen of text... (wrote a story in a game). I ran out of space on the tape before finishing the program and gave up in the end. hehe. (the 5 1/4 inch disks did not help either I filled one trying to convert the game to disk.) ** it was an adventure book where you were hunting ghosts, every choice you made changed the outcome. Opening and closing some options if you took a train or just waited where you were... for example. (for a 8 year old at that time it was a little much to try and achieve. lol )
I never actually made a "Hello World!" program, this is a little strange really as all tutorials start with this. ( java, C, c++ ) Including Lua. lol... http://www.lua.org/pil/1.html ( and the second part of the first tutorial is basically part of my first ever program. lol )
#14
Posted 22 August 2013 - 09:24 AM
#15
Posted 22 August 2013 - 11:29 AM
1lann, on 22 August 2013 - 09:24 AM, said:
#16
Posted 22 August 2013 - 06:55 PM
#17
Posted 22 August 2013 - 07:05 PM
#18
Posted 22 August 2013 - 07:52 PM
#19
Posted 23 August 2013 - 07:24 AM
repeat splitLargeParts() until code=="easy to code"and then build the difficult parts. then you can easy oversee evereything.
#20
Posted 23 August 2013 - 09:13 PM
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users