Why enlightenment?

Joel Newkirk freerunner at newkirk.us
Mon Apr 20 03:55:44 CEST 2009


On Sun, 19 Apr 2009 21:50:10 +0200
Gunnar AAstrand Grimnes <gunnar.grimnes at dfki.de> wrote:

> > 1. Theming - it keeps resources low and alows us to do everything we
> > want with GUI! Take shelf widgets as an example - you can change
> > their look, even functions - like digital clock instead of analog -
> > without changin the main code. I don't say it's not possible with
> > GTK but it way more complicated.
> 
> The edje file for illume is 50000 lines of code.
> In a language where lots of code is in macro definitions that have no
> block constructs, so they have to be all on one line... or escape
> every line ending.
> 
> I wont say it's better in GTK, but it not exactly trivial for E.
> 
> - Gunnar

Actually, the illume.edc file for FSO MS5.1 and SHR right now is about
2700 lines, and the default.edc is about ten times that. (NOT claiming
they're small, granted) Having burrowed through each of them several
times from start to finish, I can also say that they could easily be
reduced to 2000 lines and probably under 15,000 lines respectively,
just by eliminating commented-out sections, comments, and
simplifying sections that are 'verbose', like having three lines
rel2 {
   relative: 0.75 0.75;
}
when it could be one line with rel2.relative: 0.75 0.75;

But the number of lines isn't a useful measure of much anyway, it
reflects thoroughness as much as complexity.

j




More information about the community mailing list