[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Variables as procedure abstractions
From: |
Kaloian Doganov |
Subject: |
Re: Variables as procedure abstractions |
Date: |
Thu, 13 Mar 2008 19:37:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gNewSense gnu/linux) |
Yavor Doganov <address@hidden> writes:
I think our makefile is generally simple and readable for a über
encapsulation like this.
We have many repetitious lines that differ only on few parameters. In
fact the rules for home.LANG.shtml and ARTICLE.LANG.html are essentially
the same. The main difference is in how the target and prerequisites
are specified. E.g. differ only on WHAT files are processed, not HOW
they are processed.
Generally, when there is so much redundancy, then it is clear that
additional level of abstraction is needed. Of course, this does not
mean that using $(generate-html)-like variables is the right way to make
those abstractions. There is no guarantee that such abstraction
mechanism even exists in our language (GNU Make).
Anyway, I am not in opposition -- just have a bad feeling about
this.
I see your point.
I do not have strong opinion on this. (More precisely, I'm quite sure
that we need abstractions, but I have mixed emotions about the way they
would be implemented with variables). So I'll play with the idea a
little bit and will share the results.
- trans-coord/gnun/server/gnun ChangeLog GNUmakefile, (continued)
- trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/05
- trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/06
- trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/09
- trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/11
- trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/13
- trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/13
- Variables as procedure abstractions, Kaloian Doganov, 2008/03/13
- Re: Variables as procedure abstractions, Yavor Doganov, 2008/03/13
- Re: Variables as procedure abstractions,
Kaloian Doganov <=
- Re: Variables as procedure abstractions, Yavor Doganov, 2008/03/13
- Re: Variables as procedure abstractions, Kaloian Doganov, 2008/03/13
- Re: Variables as procedure abstractions, Yavor Doganov, 2008/03/13
- Re: Variables as procedure abstractions, Kaloian Doganov, 2008/03/13
- Re: Variables as procedure abstractions, Yavor Doganov, 2008/03/13
- Re: Variables as procedure abstractions, Kaloian Doganov, 2008/03/13
trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/18
trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/18
trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/19
trans-coord/gnun/server/gnun ChangeLog GNUmakefile, Yavor Doganov, 2008/03/22