This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Learning to program

Tags: None
(comma "," separated)
super.rad
Registered Member
Posts
19
Karma
0
OS

Learning to program

Mon Oct 27, 2008 5:27 pm
I've been using linux for about 5 years now and have always been interested in learning to program and have now decided I'd like to help develop KDE. My question is which would be the best language to learn first that would help me start developing/bug fixing on kde?
Also links to good websites, tutorials and ebooks would be great.
Thanks


super.rad, proud to be a member of KDE forums since 2008-Oct.
User avatar
neverendingo
Administrator
Posts
2136
Karma
17
OS

RE: Learning to program

Mon Oct 27, 2008 6:09 pm
Have a look at http://techbase.kde.org/Contribute first, there you find links to some resources for learning a language.
If you then want to learn hacking on KDE directly you will find a bunch of tutorials here:
http://techbase.kde.org/Development/Tutorials

But generally, techbase really gives a great overview.


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image
super.rad
Registered Member
Posts
19
Karma
0
OS

RE: Learning to program

Mon Oct 27, 2008 6:15 pm
Thanks, looks like I'll start learning C++ then as it says KDE is mostly written in it.


super.rad, proud to be a member of KDE forums since 2008-Oct.
User avatar
YeahReally
Registered Member
Posts
71
Karma
1
OS

RE: Learning to program

Mon Oct 27, 2008 6:57 pm
Better start learning a scripting language like Ruby or Python and use Korundum or PyKDE for KDE programming


Debian GNU/Linux Lenny
KDE 4.1.96

How many bugs have you triaged today?
super.rad
Registered Member
Posts
19
Karma
0
OS

RE: Learning to program

Mon Oct 27, 2008 7:17 pm
Thanks, had a look around on a few sites and most recommend learning python as a first language and it does look easier than C++ so I'm going to start learning python and then C++ after that


super.rad, proud to be a member of KDE forums since 2008-Oct.
User avatar
Tomaz
Registered Member
Posts
86
Karma
0

RE: Learning to program

Tue Oct 28, 2008 5:59 pm
super.rad the problem with python and ruby is that your programs are generally slower and most memory-consuming (because of the python-virutal machine and the ruby virtual machine) than with c++ that's compiled to machine-specific-code.
I'v learned c++ in 2 weeks ( but I had a little programming experience before ).
It could be userful a forum for general kde programming here, right?


Rocs developer. (and no, i'm not proud of it) ;D
michael4910
Alumni
Posts
100
Karma
0
OS

RE: Learning to program

Tue Oct 28, 2008 8:14 pm
Tomaz wrote:It could be userful a forum for general kde programming here, right?


just a silly idea: here are many KDE developers: what about a weekly tutorial lesson: a simple task from KDE's todo lists for us wannabe beginners under the helpful eyes of skilled programmers? ;-)


michael4910, proud to be a member of KDE forums since 2008-Oct.
User avatar
YeahReally
Registered Member
Posts
71
Karma
1
OS

RE: Learning to program

Tue Oct 28, 2008 10:59 pm
Tomaz wrote:super.rad the problem with python and ruby is that your programs are generally slower and most memory-consuming

And? super.rad wants to learn to program, not to write software capable of painting "Hello world" millions of times per second.

Even a professional programmer finds scripting as a viable solution to many problems.
[quote='michael4910']just a silly idea: here are many KDE developers: what about a weekly tutorial lesson: a simple task from KDE's todo lists for us wannabe beginners under the helpful eyes of skilled programmers? Wink[/quote]
Check http://techbase.kde.org/ and then we can talk ;)


Debian GNU/Linux Lenny
KDE 4.1.96

How many bugs have you triaged today?
User avatar
msoeken
Mentor
Posts
300
Karma
4
OS

RE: Learning to program

Wed Oct 29, 2008 9:06 am
michael4910 wrote:
Tomaz wrote:It could be userful a forum for general kde programming here, right?


just a silly idea: here are many KDE developers: what about a weekly tutorial lesson: a simple task from KDE's todo lists for us wannabe beginners under the helpful eyes of skilled programmers? ;-)


I think it is a good idea. The tutorial can be discussed and the feedback can be used to improve the tutorial text. Afterwards, it can be moved to techbase.kde.org

Cheers, m.


Image
[size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size]
Andre
Registered Member
Posts
90
Karma
1

RE: Learning to program

Wed Oct 29, 2008 1:35 pm
I've got nothing to object regarding scripting languages in general, but I always advise people to learn C++ first. In my opinion, it's easier to switch from C++ to Python than the other way around. E.g., if you're experienced in programing in a strongly typed language, you have no problem to use a typeless scripting language, but if you learned only the typeless language, it's quite hard to grasp the concept of types and casts in C++. It's like learning an automatic or manual gear first. I would always advise to learn the manual gear...
Also, learning in a stricter environment will discipline you regarding some common pitfalls. Just have a look at one of the countless PHP applications out there, a lot of them are horrible to look at for a programmer.

Last edited by Andre on Wed Oct 29, 2008 1:37 pm, edited 1 time in total.


'And all those exclamation marks, you notice? Five? A sure sign of someone who wears his underpants on his head.' ~Terry Pratchett

'It's funny. All you have to do is say something nobody understands and they'll do practically anything you want them to.' ~J.D. Salinger
User avatar
Tomaz
Registered Member
Posts
86
Karma
0

RE: Learning to program

Fri Oct 31, 2008 12:22 pm
Since I will be giving a talk about Qt/KDE4 here on latinoware, I will publish the slides afterwith.
the only problem is that they are in brazilian portuguese ;D


Rocs developer. (and no, i'm not proud of it) ;D
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

RE: Learning to program

Sat Nov 01, 2008 11:00 am
michael4910 wrote:just a silly idea: here are many KDE developers: what about a weekly tutorial lesson: a simple task from KDE's todo lists for us wannabe beginners under the helpful eyes of skilled programmers? ;-)


Hey, I think that's a wonderful idea. How about creating groups of maybe 4 newbies and one mentor? Each week the group is assigned to fix a simple bug. The group can discuss how to solve the problem here in the forums and on IRC. The mentor is there to answer simple questions and point out flaws in the code.

These kind of groups would be a great way to start KDE development.

EDIT: The number 4 is just a suggestion. I think maybe 3-5 people would be optimal.

Last edited by Hans on Sat Nov 01, 2008 11:02 am, edited 1 time in total.


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
msoeken
Mentor
Posts
300
Karma
4
OS

RE: Learning to program

Sat Nov 01, 2008 11:35 am
This is a great idea. But perhaps it also works well with one "newbie" and one mentor. There should also start a videocast soon by aseigo:

http://aseigo.blogspot.com/2008/10/kde-videocast-but-when.html

Cheers, m.


Image
[size=x-small]code | [url=cia.vc/stats/author/msoeken]cia.vc[/url] | [url=kde.org/support]donating KDE[/url] | [url=tinyurl.com/cto4ns]wishlist[/url][/size]
User avatar
Hans
Administrator
Posts
3304
Karma
24
OS

RE: Learning to program

Sat Nov 01, 2008 11:47 am
The idea of a group with newbies is that you can discuss various approaches and solutions with each other. The mentor's role wouldn't be as vital, and s/he doesn't have to spend that much time to do this. I'm sure most developers are quite busy as it already is. :)


Problem solved? Please click on "Accept this answer" below the post with the best answer to mark your topic as solved.

10 things you might want to do in KDE | Open menu with Super key | Mouse shortcuts
User avatar
neverendingo
Administrator
Posts
2136
Karma
17
OS

RE: Learning to program

Sat Nov 22, 2008 7:45 pm
I find this idea great. And it doesn't need to stop at developers, what about artists, translators, documenters etc?

Anyway, someone willing to step up as a mentor?


New to KDE Software? - get help from Userbase or ask questions on the Forums
Communicate.
Image


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]