Where to learn programming/coding - XDA-University

This list is certainly not definitive but if you are not in the Computer Sciences by way of study or profession then the info below should help you get started...
Codecademy: Learn to code
www.codecademy.com/
Lessons to learn to code interactively.
‎
Learn | Code.org
code.org/learn
Choose from 3 activities designed to give you your first experience programming.
Code Avengers: learn to code games, apps and websites
www.codeavengers.com/
Learn how to code games, apps and websites with fun and effective interactive games. HTML, CSS and JavaScript ...
Hurricane Electric Interactive Programming
https://code.he.net/
Interactive Programming Courses. Perl · PHP · Ruby · Python · SQL. Web Development Courses. HTML · CSS ...
‎
Interactive Python Tutorial
www.learnpython.org/
LearnPython.org is a free interactive Python tutorial for people who want to learn Python, fast.
RubyMonk - Interactive Ruby tutorials
https://rubymonk.com/
Free, interactive tutorials to help you discover Ruby idioms, in your browser!
Code School: Learn by Doing
https://www.codeschool.com/
Code School teaches web technologies in the comfort of your browser with video lessons, coding challenges, and ...
List of interactive programming websites - Reddit
http://www.reddit.com/r/learnprogramming/comments/o3kej/list_of_interactive_programming_websites/

:good:

Thanks for this, op

I wanna start with the new coding lesson. I have no idea about this but I want to learn this my own. I hope this will help me with the basic lessons
Sent from my Nexus 5 using Tapatalk

Start at HTML. <DOCTYPE! HTML> can really help you understand how XML(extensible markup language) works.

Thanks for the info! I've been using Codecademy and can confirm its really good starting point if you want to become a web developer.

Thank you for the guide. I'm gathering informations in order to begin learning to code.
Sent from my GT-I9305 using XDA Free mobile app

sokrboot said:
This list is certainly not definitive but if you are not in the Computer Sciences by way of study or profession then the info below should help you get started...
Codecademy: Learn to code
www.codecademy.com/
Lessons to learn to code interactively.
‎
Learn | Code.org
code.org/learn
Choose from 3 activities designed to give you your first experience programming.
Code Avengers: learn to code games, apps and websites
www.codeavengers.com/
Learn how to code games, apps and websites with fun and effective interactive games. HTML, CSS and JavaScript ...
Hurricane Electric Interactive Programming
https://code.he.net/
Interactive Programming Courses. Perl · PHP · Ruby · Python · SQL. Web Development Courses. HTML · CSS ...
‎
Interactive Python Tutorial
www.learnpython.org/
LearnPython.org is a free interactive Python tutorial for people who want to learn Python, fast.
RubyMonk - Interactive Ruby tutorials
https://rubymonk.com/
Free, interactive tutorials to help you discover Ruby idioms, in your browser!
Code School: Learn by Doing
https://www.codeschool.com/
Code School teaches web technologies in the comfort of your browser with video lessons, coding challenges, and ...
List of interactive programming websites - Reddit
http://www.reddit.com/r/learnprogramming/comments/o3kej/list_of_interactive_programming_websites/
Click to expand...
Click to collapse
which do you reccomend ofr c++?

I am interested in learning how to program things for android (ROMs, kernels, apps, everything) offline, what are some good resources?

You may need to know java.
Look for w3schools and also SoloLearn sites, they also have android APPs.
I'm learning English on Duolingo and I think I'm going well.
Android APPs are doing great.

Thanks

I reccomend to try Free Code Camp. It is an open source site where you can learn web languages (html, css, javascript, sql) and frameworks like Bootstrap. At the end of the course you will receive a certificate.
For the italian users i reccomend Html.it, you can learn a lot of different languages. If you want to learn objective oriented languages like java and C++ i reccomend the tutorials of Fcamuso on Youtube.

I'd like to add another great resource that lists 8 Free web development courses. Some of these courses even offer free certificates of completion. A very useful skill to add in your CV.

Some great resources here. once you have a base understanding, browsing Github projects and looking at code to understand how something is being done is a great way to pick up new techniques.

I remember the first time I have programmed using VBA. At that time, VB6 was popular and I learnt by looking at others' source code as well as some textbooks, with the limitation of internet connection. Well, quite nostalgia

bulvrdapp said:
Some great resources here. once you have a base understanding, browsing Github projects and looking at code to understand how something is being done is a great way to pick up new techniques.
Click to expand...
Click to collapse
Agreed. Also if you have your own website, install something like Wordpress or any free forum software, and peek around under the hood.

good job
very good every body, thanks a lot

Root Programming School
visit rootprogrammingschool website

hello
UBorba said:
Look for w3schools and also SoloLearn sites, they also have android APPs.
I'm learning English on Duolingo and I think I'm going well.
Android APPs are doing great.
Click to expand...
Click to collapse
your English is very good if I my say so. I actually love teaching myself new things as well and i started my journey of learning how to write code with a app from the playstore called grasshoper it is a great app think of it like sesame street for learning code.
I am now trying to venture out and learn more i have downloaded and installed both visual studio and android studio.
i taught myself how to root my phone moto g6 plus and how to install mods and custom rom's granted a couple of hiccups along the way and one panic attack lol but after 3 months of research and a couple of trial's and errors i finally found my way .
I hope this finds you in good spirits
Have a great DAY the Joker WAY " WITH A SMILE "

Instead of trudging through textbooks or online courses, the best way to learn is to just do it. Think of a project and try to achieve it, no matter how ugly or incompetent the code.

Related

Coding/ programming Android

This really should be in the Dev section, but for fear of the thread getting trashed, I put it in Q & A. If this question has been posted, don't flame me...just point me to the link.
Simply, I want to learn to code in Linux. I now know next to nothing. I have learned most of the shell commands and such, but where do I go from here.
What language is Android in (Java, I presume. But isC++ useful)? I can find tutorials and I am intelligent, so I should be able to learn some on my own. Where do I start?
I have found several interactive tutorials:
1. Learning to program in C++
2. Learning to program in Java
Which one to pursue? I don't want to be Cyanogen or anything, but can't stand to be left out of the loop.
Will
Android apps are built in java. Start here for the SDK and plenty of useful info to get you going:
http://developer.android.com/index.html
Developer.android.com is a good place to start.. its modified form of java called dalvik, but java none the less. C is good for terminal apps, and Im pretty sure you can include some c in apps now too
the language is the least thing you should worry about though. Pick up a book on programming for dummies (i mean it, not trying to be mean or anything) or something that teaches you the basics of programming. There are several conventional approaches that we use to program. You can dive head first into Java, or C++, etc, but if you don't yet understand program flow (sequential, looping, or branching) or about data types and structures, objects, etc, you'll still be at a loss. Programming is a very general concept and once you get the hang of it, then you can pick whichever language is the best tool for what you'll be doing (in this case, google's android implementation of java).
Also pick up some HTML and javascript, both combined will make it a lot easier to understand XML once you get to it, and for some of the shell scripting associated with putting out roms, give using any linux distro as your real main OS a try for a few months. It's frustrating at first, but you'll learn so much trying to learn how to use it.
Jubeh,
Exactly the answer I was looking for. While thankful to the other posters, I think they understood me as having some knowledge (I tried to dive right into the SDK and it made about as much sense as Hebrew).
I am downloading a book called C++ for dummies and another by O'reily.
Let's see where this leads....I hope it is something that if I am dedicated enough can be learned outside a classroom.
Thanks all....
----
Removed:
shouldn't be posting warez, alritewhadeva.
Anyway, I'm also studying several android-related topics right now. I took like two computer science classes in highschool (first was intro to programming in basic and then advanced concepts in c++) and then did scheme programming for my first semester in college for bs-cs and java for my data structures semester, and then I quit school . I also did some self-taught learning in HTML (back when we actually made pages in HTML), javascript, and java applets.
Anyway, I hadn't touched any coding since about 6 years ago and now with android i'm trying to get back into it, but I've pretty much forgotten many things (syntax mostly, concepts stick with you), so right now I picked a book for programming for dummies too. I'm almost 3/4 done in 2 days because I know most of that stuff, but the refresher is nice. I plan on picking up a C++ book next, to get up to date with the current implementation, and because once you understand C++ (it's high level enough and low-level enough), java and other object oriented languages are a breeze to understand. After it I plan on catching up to JAVA 6, and then hopefully dive into android's java. It's a lot of work and requires dedication when you're doing it on your own, but it's also rewarding (both personally, and in that you could always get a job with just C++ that pays well enough for limited knowledge)
jubeh said:
shouldn't be posting warez, alritewhadeva.
Anyway, I'm also studying several android-related topics right now. I took like two computer science classes in highschool (first was intro to programming in basic and then advanced concepts in c++) and then did scheme programming for my first semester in college for bs-cs and java for my data structures semester, and then I quit school . I also did some self-taught learning in HTML (back when we actually made pages in HTML), javascript, and java applets.
Anyway, I hadn't touched any coding since about 6 years ago and now with android i'm trying to get back into it, but I've pretty much forgotten many things (syntax mostly, concepts stick with you), so right now I picked a book for programming for dummies too. I'm almost 3/4 done in 2 days because I know most of that stuff, but the refresher is nice. I plan on picking up a C++ book next, to get up to date with the current implementation, and because once you understand C++ (it's high level enough and low-level enough), java and other object oriented languages are a breeze to understand. After it I plan on catching up to JAVA 6, and then hopefully dive into android's java. It's a lot of work and requires dedication when you're doing it on your own, but it's also rewarding (both personally, and in that you could always get a job with just C++ that pays well enough for limited knowledge)
Click to expand...
Click to collapse
How is it a ware? Ebook...
Removed link anyway.
Thanks for asking this question pinetreehater. I've searched for the answer and not really found what I was looking for. I wanted to ask this myself but, as you stated, I didn't want to get noob-bashed.
I have some programming knowledge. I took some of the older langauges in highschool *mid 80's* (basic (of course), cobol, and assembler). And was quite good at it. IMHO. But I didn't really follow it after that and have basically forgot all of it.
I have a question.
Once I've got the books. How do I practice using them on my pc?

[OT] Learning the ins and outs of java.

I'm a sophomore in high school taking computer science. (please don't judge me because of my age) Our school is making some major budget cuts, so sadly our video game programming and design class (the only other higher level programming class offered) got cut and this will be my last and only programming class at my school (well there's a possibility that it will be brought back in my senior year, but I'd at least like to stay fresh over the summer and next year). I don't know much about java to tell you the truth. I know how to use loops, conditionals, arrays (1 and 2 dimensional) and arraylists and most of the basic variable types (off of the top of my head, integers, doubles, booleans, longs, and strings). I've made some very very simple apps such as whack a mole and craps, but the gui class was provided by my teacher.
My question is this: is there a good, preferably free online program that teaches you the basics of java (especially related to the gui) and possibly some more complex programming?
I appreciate any help. thanks.
P.S. Please forgive me if this is too off-topic, but I really couldn't think of a better place to post this. Hope you guys will be able to help.
gonintendo said:
I'm a sophomore in high school taking computer science. (please don't judge me because of my age) Our school is making some major budget cuts, so sadly our video game programming and design class (the only other higher level programming class offered) got cut and this will be my last and only programming class at my school (well there's a possibility that it will be brought back in my senior year, but I'd at least like to stay fresh over the summer and next year). I don't know much about java to tell you the truth. I know how to use loops, conditionals, arrays (1 and 2 dimensional) and arraylists and most of the basic variable types (off of the top of my head, integers, doubles, booleans, longs, and strings). I've made some very very simple apps such as whack a mole and craps, but the gui class was provided by my teacher.
My question is this: is there a good, preferably free online program that teaches you the basics of java (especially related to the gui) and possibly some more complex programming?
I appreciate any help. thanks.
P.S. Please forgive me if this is too off-topic, but I really couldn't think of a better place to post this. Hope you guys will be able to help.
Click to expand...
Click to collapse
Go to Youtube.....search for a guy named "thenewboston"
He has a whole series of java programming lectures that saved me in my Advanced Java course in college....
Mr. Apocalypse said:
Go to Youtube.....search for a guy named "thenewboston"
He has a whole series of java programming lectures that saved me in my Advanced Java course in college....
Click to expand...
Click to collapse
Thanks! I'll make sure to check him out!
I was in the same place as you a while back. The best way to learn is by trying to make something you want.
Before jumping into any serious programming you need to learn a few more important concepts. Methods, classes, objects, and more on those. You need to understand how it all works before going further.
If you have any questions feel free to message me or hit me up on gtalk. I'll give you some tips, ideas, and some source code of apps to dig into, if you like.
Sent from my SGH-T959 using Tapatalk
the basics:
http://download.oracle.com/javase/6/docs/api/
http://www.eclipse.org/downloads/
now go to some university's entry level cs website and do some of the programming assignments.
but if you know control flow, some data structures, types, etc. just program. there are a ton of simple things to write. for example, write a calculator that has an add method that just adds the two arguments, then write recursive multiplication, factorial, and exponential methods that only use add (or other methods you wrote). it's simple, but decent recursion practice. i could give you a ton of simple programs to write.
oh and pay attention to what everything actually is. read and understand what static, private, public, classes, objects, etc. actually are and their purpose.
birgertime said:
I was in the same place as you a while back. The best way to learn is by trying to make something you want.
Before jumping into any serious programming you need to learn a few more important concepts. Methods, classes, objects, and more on those. You need to understand how it all works before going further.
If you have any questions feel free to message me or hit me up on gtalk. I'll give you some tips, ideas, and some source code of apps to dig into, if you like.
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
I should have added, I have a basic understanding of methods and classes, and we are just getting into objects now.
Thanks for all the responses guys! really appreciate the help.
also, if you guys have any suggestions for simple apps that a beginner like my self could make, fire away.
I applaud you for beginning a hobby/interest in programming early. Currently I'm a 2nd year student at a university for Computer Science so I have a very direct understanding of Java. You should know that structure of Java (for every day use) is different than that of the Java on Android.
Download the Android SDK: developer.android.com/sdk/index.html
Follow all the steps of installation and DO the Hello, Android (World) app that it gives you. Make sure you UNDERSTAND everything on the screen and in your main class.
Continue reading all the Developer documents for the SDK here:
developer.android.com/guide/index.html
Joy2DaWurld said:
I applaud you for beginning a hobby/interest in programming early. Currently I'm a 2nd year student at a university for Computer Science so I have a very direct understanding of Java. You should know that structure of Java (for every day use) is different than that of the Java on Android.
Download the Android SDK: developer.android.com/sdk/index.html
Follow all the steps of installation and DO the Hello, Android (World) app that it gives you. Make sure you UNDERSTAND everything on the screen and in your main class.
Continue reading all the Developer documents for the SDK here:
developer.android.com/guide/index.html
Click to expand...
Click to collapse
Thanks! I had kind of figured that android developement would be a whole different beast.
Who is this "java" girl and why would you like to go in and out and in and out of her?
What can I say? Different strokes.
gonintendo said:
What can I say? Different strokes.
Click to expand...
Click to collapse
Perhaps you would like to have a go at Missionary Java or K9 Java.
I can sell you my 'Programming with Alice and Java' textbook...if I find it. It has all the intro stuff. First it uses a program called Alice to teach you how it works, and then it teaches you to do actual code. When I find it I can tell you where it leaves off.

[Q] WP8 C++ vs C#

Hi everyone!
Given the announcement of WP8, today, I noticed that there was not a whole lot of information of whether or not C# would receive a lot of support for developers.
I have started learning C# as my first programming language, but I am wondering if I should jump ship and learn C++ instead to write apps for W8 and WP8.
Should I? I know C++ has been popular for a while, but can anybody guess as whether MSFT is pushing developers to the C++ route and away from C#?
Thank You!
CodyNunes said:
Hi everyone!
Given the announcement of WP8, today, I noticed that there was not a whole lot of information of whether or not C# would receive a lot of support for developers.
I have started learning C# as my first programming language, but I am wondering if I should jump ship and learn C++ instead to write apps for W8 and WP8.
Should I? I know C++ has been popular for a while, but can anybody guess as whether MSFT is pushing developers to the C++ route and away from C#?
Thank You!
Click to expand...
Click to collapse
C# is definetely not being pushed away. C++ requires a lot more work than C#. You should not stop learning C#, but maybe consider learning C++ after you learn C#.
I absolutely agree with the comment above. C++, however, can let you produce far better optimized apps at the cost of a longer coding time.
Sent from my GT-I9100 using XDA
Microsoft said during the Event that they encourage the use of XAML/C#, VB.Net for regular Applications. For Games they encourage People to go with C++ and DirectX. There are currently community projects aiming for kind of a follow up to the XNA framework allowing people to write Games for Windows 8 Metro using C# and DirectX which due to the shared APIs should enable the same for WP8 but I don't know how far along they currently are.
For highly resource intensive computations you might want to leverage the C++ performance benefits but overall C# is fast enough for most use cases and development is speedier and A LOT less prone to errors.
Thank you, everyone! If any more information comes up about the limitations of c# or c++, I would appreciate any ideas opinions or input!
JavaScript also joined the game.
I like C#. Performance doesn't sound like good excuse to abandon it for c++ as hardware is becoming faster all the time.
Sent from my GT-I9100T using XDA
eyal-f said:
JavaScript also joined the game.
I like C#. Performance doesn't sound like good excuse to abandon it for c++ as hardware is becoming faster all the time.
Sent from my GT-I9100T using XDA
Click to expand...
Click to collapse
Well, the discussion about the performance between C# and C++ is pretty old. Just bing it and you'll find tons of pages. In my experience you can get very fast algorithms in both languages when you plan your app right. I'd suggest C# to learn as it is "safer" to start with. You don't have to care about garbage collection and memory management for instance. Also, you can easily reuse code in other apps. If you invest time in learning C# you will get more performant apps than by learning only a bit of C# and a bit of C++. And you can even write good games in C#. You can really get pretty darn high performant apps in C# if you optimize them right.
ChrisKringel said:
You can really get pretty darn high performant apps in C# if you optimize them right.
Click to expand...
Click to collapse
You've read my mind. Personally, I would also not bother whit c++ when you don't necessarily need to.
And game devs should keep in mind that using xna (c#) is the only possible way to get their games also on the xbox (And hopefully xna will get an updated version for WP8 with custom shader support and all that stuff)
XNA seems to be in pretty much the same spot as Silverlight. Microsoft is still supporting it but there is no news at all on future development. It seems development of XNA was stopped. Currently people are trying to develop replacements.
Most Apps will wok just fine using C# or JavaScript. For some things you will need to use highly optimized Algorithms. Had a discussion once with a Dev who did realtime Audio analysis on several platforms using fast fourier transformations and after all efforts on the Forum to optimize the C# code the C++ version was still twice as fast. That is simply due to some of the code security features. When accessing an array in C# the language will always do an out of bounds check to perhaps raise an Exception while C++ simply reads whatever is at the pointer position even if it is in memory behind the array as long as the memory is allocated.
By not doing these checks alone it reduces computation and given the limited processing power sometimes this is necessary to get things working decently on a mobile device.
Still there also were several benchmarks were C# code was able to outperform the C++ implementation (especially object heavy code).
So if you absolutely must have the highest possible performance C++ is the way to go. It's similar if you want to port your code accross platforms as you can do C++ for Android and iOS. In all other cases C# would be preferable as as it was said before it is more productive and less error prone.
You can use unsafe code in c# as well
chabun said:
You can use unsafe code in c# as well
Click to expand...
Click to collapse
To my knowledge not on Windows Phone. It would get rejected from the Marketplace. This might change with WP8 but we don't know yet.
Unsafe code also complicates things a lot because as soon as you directly manipulate memory you have to take care of it like in C++ because the Garbage Collector is out of the picture.
Most often it would be the easiest route to develop the performance critical code using C++ and then use that library from C#. This at least should be supported by WP8 although I can't remember where it was said exactly.
chabun said:
You can use unsafe code in c# as well
Click to expand...
Click to collapse
It's a lot better to simply use a C# UI to wrap C++ code. However, it's easier to just use C++ in that case
Sent from my GT-I9100 using Tapatalk 2

Beginner at game/app developing,looking for tips

Hello,I'm a 16 boy that wants to start from point 0 to somewhere,as programming has always been my passion since young but I don't have the basic programming knowledge to get started.I have no actual experience with programming before as I'm a complete newbie,all I know is that there are tons of programming languages but the most popular are PHP,C,C++ and Java which I think is mostly used in mobile game development.I have already downloaded android studio and started watching/reading tutorials on the web.Other than that,any advice I could use?I was wondering if It is hard to develop a simple android game and If I could do It by just using the internet.
TheoTT said:
Hello,I'm a 16 boy that wants to start from point 0 to somewhere,as programming has always been my passion since young but I don't have the basic programming knowledge to get started.I have no actual experience with programming before as I'm a complete newbie,all I know is that there are tons of programming languages but the most popular are PHP,C,C++ and Java which I think is mostly used in mobile game development.I have already downloaded android studio and started watching/reading tutorials on the web.Other than that,any advice I could use?I was wondering if It is hard to develop a simple android game and If I could do It by just using the internet.
Click to expand...
Click to collapse
Java for android.
Objective C for ios.
check out the developers site for android(google it).
there are plenty of ebooks for beginners. try apress.

where can i start learning java?

Hello everyone. Just gained the interest to learn coding especially Java and I wanted to ask are there any available Java online tutorial for a beginner ? I don't have any IT related knowledge as I'm from management course.
Hey there!
Are you into java or anything else can be considered as well?
For instance, when I was a newbie https://codegym.cc/ became helpful. You may have a look.
At the moment I'm learning python and it's a new challenge.
Whenever I need to learn a language or brush up long forgotten skills, I check the Udemy site. They have some reasonably prices courses on a range of subjects. Look out for their special discount weeks in case you plan to take up any course.
You can also find a lot of videos on YouTube

Categories

Resources