Re: [Vala] just a suggestion
- From: Alberto Ruiz <aruiz gnome org>
- To: Phil Housley <undeconstructed gmail com>
- Cc: vala-list gnome org
- Subject: Re: [Vala] just a suggestion
- Date: Thu, 22 Jan 2009 23:50:22 +0000
2009/1/22 Phil Housley <undeconstructed gmail com>:
2009/1/22 Alberto Ruiz <aruiz gnome org>:
2009/1/22 Xavier Bestel <xavier bestel free fr>:
Hi Phil,
On Tue, 2009-01-20 at 19:49 +0000, Phil Housley wrote:
* Intro
o History
+ GLib/GObject
+ Gtk
+ Vala
o Programming style
+ OO
+ Signals
+ Loops
o Caveats
* First Program
o Hello World
o Explanation
How about something a bit more practice-before-theory ? I mean,
head-first we have a lightly explained "Hello World", then more boring
stuff about objects and programming style.
Agree.
Seriously, I don't think that would work. People don't want to learn
OO Signals and Loops just for fun, that's not how learning works. You
have to give them a goal first, and you have to push them to learn
those concepts while they're getting to the goal, if you give them all
the concepts, you can't expect that your readers would have the clue
on how to use them out of the blue.
That list is okay for a language reference document, but not if you
really want to help people to learn and get excited about Vala.
Anyway, just my opinion.
Agree too.
I was thinking about a reference book at the time I wrote that
contents list, and I didn't even finish it as that. Please don't
think that I will be upset if you want to change things - to make a
different type of book you will definitely need to.
If your intention is to have a reference book, I actually agree that's
the kind of content it should have.
Don't take me wrong, I wasn't saying that such a book is a bad idea in
my previous message I actually think that having that book around
would be really helpful, but we need to complement it with another
with the approach I mentioned. Just a small suggestion then, what
about calling it, "The Vala Programming Language" or "Thinking in
Vala" so that people know better what to expect from the book.
Karl, you also seem to be interested in a "Writting GNOME Applications
with Vala" approach as I do. Would you be interested in kick start
with me a parallel book with a more tutorial-alike approach?
On the other hand, I wasn't planning a long treatise on OO at the
start, just a few paragraphs about programming style. I think it's
important to have a grasp of the importance of polymorphism to make
progress in an OO language, so I was going to introduce it early so I
could freely refer to the topic right through the book. I think it
helps everyone to use Vala as intended, and was hoping to subtly
indoctrinate people. Nothing sinister about that, right?
Not at all, I'm a strong believer in "preach" oriented documentation,
if your docs doesn't reflect good practices, none is gonna follow them
then.
Basically I would have talked vaguely about how you can deal with
objects without knowing how they function, make decisions in the
correct places and then pass functionality around, things like that.
Just generally trying to encourage people to think OO.
That's good,
--
Phil Housley
--
Un saludo,
Alberto Ruiz
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]