librelist archives

« back to archive

Re: RSoC Progress

Re: RSoC Progress

From:
Fela Winkelmolen
Date:
2010-07-11 @ 22:37
RSoC Progress, June 11

I looked at most of the code trying to add comments where they seemed most 
needed. I didn't finish everything yet (and the comments mostly only cover the 
general structure of the code). I didn't look at all at the code that 
interfaces with the web (is it going to change mutch with the website 
rewrite?).

There are a bit of places where I think some refactoring could be useful. The 
first thing I would like to do is to add some subdirectories, as opposed to 
the current almost flat file structure. I've somthing like the following in 
mind:
1. a dir for the code for the content of the various tabs (with one file for 
tab, ideally)
2. a dir for extensions of external modules/classes (like kernel, string, etc 
being extended)
3. a dir for utility methods and (small) classes used internally by hh (like 
the splash screen)
4. a dir for the hh "library" that is meant also for use by the users 
developing in hh (this might also include the code in 2. ...)

Then there are other things could have a (sub) dir of their own like syntax 
highlighting (now there is a directory that contains the parser, and the code 
for the various supported languages, but also, separately, syntax.rb and 
markup.rb)

Comments, as always, are welcome,

Ciao!

- fela


Re: [hacketyhack] Re: RSoC Progress

From:
Devyn Cairns
Date:
2010-07-12 @ 06:26
I agree, HH is getting too big to be in such a small number of files now.

On Sun, Jul 11, 2010 at 3:37 PM, Fela Winkelmolen <fela.kde@gmail.com>wrote:

> RSoC Progress, June 11
>
> I looked at most of the code trying to add comments where they seemed most
> needed. I didn't finish everything yet (and the comments mostly only cover
> the
> general structure of the code). I didn't look at all at the code that
> interfaces with the web (is it going to change mutch with the website
> rewrite?).
>
> There are a bit of places where I think some refactoring could be useful.
> The
> first thing I would like to do is to add some subdirectories, as opposed to
> the current almost flat file structure. I've somthing like the following in
> mind:
> 1. a dir for the code for the content of the various tabs (with one file
> for
> tab, ideally)
> 2. a dir for extensions of external modules/classes (like kernel, string,
> etc
> being extended)
> 3. a dir for utility methods and (small) classes used internally by hh
> (like
> the splash screen)
> 4. a dir for the hh "library" that is meant also for use by the users
> developing in hh (this might also include the code in 2. ...)
>
> Then there are other things could have a (sub) dir of their own like syntax
> highlighting (now there is a directory that contains the parser, and the
> code
> for the various supported languages, but also, separately, syntax.rb and
> markup.rb)
>
> Comments, as always, are welcome,
>
> Ciao!
>
> - fela
>
>
>
>


-- 
    ~devyn