You are not logged in.

#1 2013-06-25 23:00:04

seishinryohosha
Member
Registered: 2012-06-24
Posts: 13

OpenSource Dev World - What should I consider?

I'm planning to make an very simple Pacman Update Indicator for KDE.

So spoken a KDE Widget written in QML and the DataEngine in C++

So searching for a lib, I found the ALPM and the pacman tarball as a great
resource of information.

I read the `LICENSE' and `HACKING' file in there, so I know how to style the
code and how to quote and comment my code.

Is there anything I should consider about?

This is my first "self-project".
I already did small school projects written in Java and Python, which I ported to C++ and I got involed in versioning with git and tried to follow the Java/Python/C++ `Styleguides'.

So, as I'm completely new to this, is there anything I'm missing?

Thank you

じゃね
精神療法者

Offline

#2 2013-07-06 18:28:27

seishinryohosha
Member
Registered: 2012-06-24
Posts: 13

Re: OpenSource Dev World - What should I consider?

Nothing to say, or is my question to unspecific?

じゃね
精神療法者

Offline

#3 2013-07-07 01:54:52

cmtptr
Member
Registered: 2008-09-01
Posts: 135

Re: OpenSource Dev World - What should I consider?

Honestly, there is no substitute for experience.  I tend to find myself getting too caught up on trying to make my first step into something new be a perfect one.  As an exercise to avoid getting into a rut, I often force myself to objectively reevaluate design patterns or coding styles I've adopted, and try new ones.  You have to just accept that you're not going to do everything right the first time, but that's okay because you'll learn from it and your next one will be better.

So that's my advice.  Just do it and see what happens.

Last edited by cmtptr (2013-07-07 01:57:44)

Offline

#4 2013-07-07 02:44:29

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 3,424
Website

Re: OpenSource Dev World - What should I consider?

seishinryohosha wrote:

So, as I'm completely new to this, is there anything I'm missing?

Start writing the software. If you have a specific question or problem then you can ask it here.

I can't think of anything else to say. hmm

Last edited by drcouzelis (2013-07-07 02:45:27)

Offline

#5 2013-07-08 13:14:27

seishinryohosha
Member
Registered: 2012-06-24
Posts: 13

Re: OpenSource Dev World - What should I consider?

Well, thank you for your answers!
Okay, as I have vacation now I can start coding smile

I leave the topic open, if somebody has something to say.

じゃね
精神療法者

Offline

#6 2013-07-08 13:46:55

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,510
Website

Re: OpenSource Dev World - What should I consider?

I second/third the advice above: just do it.  Version 1 of any of my tools always tends to be a hideous mess.  It gets worse and worse as I have to add things on and make minor changes.  But by the time it's functional I can see how all the parts *should* interact.  Then in a major rewrite I can do it right from the start.

A case could be made for spending more time in the design and planning stages to avoid this ugly-version plus rewrite.  But I for one just don't work that way.  I don't know what it is that needs to be planned until I actually write the code.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#7 2013-07-08 15:24:14

jakobcreutzfeldt
Member
Registered: 2011-05-12
Posts: 1,033

Re: OpenSource Dev World - What should I consider?

Trilby wrote:

I second/third the advice above: just do it.  Version 1 of any of my tools always tends to be a hideous mess.  It gets worse and worse as I have to add things on and make minor changes.  But by the time it's functional I can see how all the parts *should* interact.  Then in a major rewrite I can do it right from the start.

A case could be made for spending more time in the design and planning stages to avoid this ugly-version plus rewrite.  But I for one just don't work that way.  I don't know what it is that needs to be planned until I actually write the code.

I agree, on the condition that the code base be small (as I know your programs tend to be). For larger codebases, however, the decision to do a complete rewrite by the same author is almost a sure-fire way to grind all development to a halt.

Anyway, "release early and release often", and such.

Offline

#8 2013-07-08 15:46:44

Trilby
Forum Moderator
From: Massachusetts, USA
Registered: 2011-11-29
Posts: 13,510
Website

Re: OpenSource Dev World - What should I consider?

Indeed, larger projects, particularly with mutliple authors/contributors would require more planning and coordination.

The OPs project sounds like a nice small one-man job though.


InterrobangSlider
• How's my coding? See this page.
• How's my moderating? Feel free to email any concerns, complaints, or objections.

Offline

#9 2013-07-08 22:54:49

seishinryohosha
Member
Registered: 2012-06-24
Posts: 13

Re: OpenSource Dev World - What should I consider?

Yep, it's a one-man job wink

I handle it that way:

Structure it basically.
If I don't know exactly how to make it, I start to think how the
programm would work and make one step after another.
After the core works, I recap it and make a real structure smile

Or if I exactly know what it should be, I make basic headerfiles or skeletons in other languages and implement it step by step.

As I tend to write a lot of comments - in my computer science class everybody says either "You are crazy to make so much comments!" or "I love to read your code" and as one said to my python code:"Wow, your code nice and clean" -
I surely don't lose the logic afterwards. big_smile

And I heard that bigger projects tend to have an `architect'?

じゃね
精神療法者

Last edited by seishinryohosha (2013-07-08 22:56:52)

Offline

Board footer

Powered by FluxBB