maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Newbie trying to star Developing (https://talk.maemo.org/showthread.php?t=83671)

nicolai 2012-04-16 09:21

Re: Newbie trying to star Developing
 
Quote:

Originally Posted by ravent-n900 (Post 1192680)
is it available in english?

http://www.amazon.com/The-Programmin...4568044&sr=8-3

soryuuha 2012-04-16 09:23

Re: Newbie trying to star Developing
 
i dont think you can use c++ in qtquick (qml) ?

ravent-n900 2012-04-16 09:31

Re: Newbie trying to star Developing
 
all about c++
http://www.cplusplus.com

ammyt 2012-04-16 09:33

Re: Newbie trying to star Developing
 
I personally started with Bash and Bash + Zenity combos, but then got into real Python and right now PyQT, the experience is just great.

retsaw 2012-04-16 12:47

Re: Newbie trying to star Developing
 
Quote:

Originally Posted by adio_89 (Post 1192679)
i was just thinking C++ , becuase after checking out the Qt tutorials mentioned above they said "we assume you know C++" so i thought to myself: "that would be a good way to start" ^^ but i'll check out those books & those websites.

Edit:

The thing about those online universitys is that this seems to be US time & i'm german so i might not be able to follow every lesson... idf i could reread them and try to learn at my own speed, that would be better, you know ?

They are a series of video lectures each week followed by some homework which you can complete at any time up to the deadline. They are considerate of their international students and you'll have the whole week to fit it in at a time that suits you. Sign up and try them out, you've nothing to lose but a bit of your time and you can drop one or both if you don't find them useful. I don't know what these ones will be like, but I've done a few of these online courses and they've been pretty good except for the Software as a Service one (but I only signed up for it because the ones I wanted were delayed). I did the Machine Learning (which is being offered again next week through Coursera) the first time it was offered last October and can recommend that, there is a bit of programming involved, but nothing I found difficult.

If you really want to start with C++ thats up to you, it might work for you, but there are also Qt libraries for Python which is generally considered a better language for beginners, not that I'm an expert, I've never really got very far whatever I've tried, I tend to lose motivation after doing the basics, but I'm hoping these online courses will push me to a useful level.

qwazix 2012-04-16 22:09

Re: Newbie trying to star Developing
 
I know it's generally considered obsolete but I started my coding in pascal and with it's english-like syntax, built-in strings and easy to use graphics library, I think it is very good starting point. Download dev-pascal, a very nice and simple ide with a good Pascal manual if you want to try it.

MartinK 2012-04-16 22:15

Re: Newbie trying to star Developing
 
Quote:

Originally Posted by soryuuha (Post 1192684)
i dont think you can use c++ in qtquick (qml) ?

Well, QML is basically its own language, based on javascript.

Most QML applications have a C++ (or Python/PySide) backend and a QML GUI. The backend basically does all the heavy lifting and supplies the GUI with data to display.

stlpaul 2012-04-16 22:19

Re: Newbie trying to star Developing
 
Check out this other thread for a tutorial, you can follow along even if you don't understand the code, maybe it'll help shine some light :)
http://talk.maemo.org/showthread.php?t=75725

-Tyler- 2012-04-16 22:40

Re: Newbie trying to star Developing
 
I am myself in the same position, but i am especifically interested in develop only for N9, where i should begin??

droll 2012-04-16 23:01

Re: Newbie trying to star Developing
 
the best way to start learning programming is to write something (obvious ain't it? hehehe).

if you've never done programming before, do a search around the web and figure out the core skills required for a programmer. these are things that no book can teach but will be essential in reducing the stress and pain of learning to program. a couple of things pop to mind as i type this:
a) ability to break the problem down into smaller chunks and tackle each chunk separately and then the ability to piece it back together.
b) some basic understanding of (ok these things you can read in a book hehe).
- flow control (in any language)
- variables (how to assign and use them)
- functions / procedures calls

those two above go hand-in-hand.

worry about UI the last because that is usually the most difficult part (at least for me since i suck in UI design and hate writing code to make the app idiot proof lol). just print everything out to the console / terminal.

if you do read a programming book / C++ book / python book / etc (insert your best book here for learning how to program), my advise is to never treat the book as linear progress i.e. assume that when you read it from chapter 1 till the end, you will then be good enough to write hello world. my experience is you need to jump around chapters back and forth.

set yourself a target e.g. i want to write a simple program to show hello world and accept input from the user then do some text manipulation and show the final output as my text input in reverse. something specific. then set out to write that simple app using the book as a reference / guide.

once you've got a hang of those basics you can then do platform specific development. platform specific development has nuances of the platform that can be very very frustrating for someone who has no background in programming at all. if you are starting out learning C / C++, start with stdin and stdout for input and outputs first. you ignore the entire chunk of GTK, Qt, Hildon, etc. frameworks which can be overwhelming. come back to these when you feel comfortable with C / C++.

my fav quote on programmers: "it is easier to teach a programmer how to play chess than to teach a chess player how to program."

good luck!!!


All times are GMT. The time now is 19:28.

vBulletin® Version 3.8.8