digitalmars.D - Tango style question
- 0ffh (6/6) Nov 19 2007 There seems to be a lot of discussion about this,
- Jarrett Billingsley (4/10) Nov 19 2007 Then you have n different libraries which only differ by naming conventi...
-
Ary Borenszweig
(4/19)
Nov 19 2007
Why not make D case-insensitive and also underscore-insensitive? - Christopher Wright (12/20) Nov 19 2007 Yes. Fragmentation! How do I use my Tango-in-phobos-style library when
- 0ffh (7/10) Nov 19 2007 Hehe, users of precompiled libs will have to take the blame on themselve...
- Robert Fraser (2/4) Nov 19 2007 We've got men on the job!
- 0ffh (5/11) Nov 21 2007 Sheesh!
- Robert Fraser (7/20) Nov 22 2007 Well, it's a "planned" feature for Descent. But before we get any kind
There seems to be a lot of discussion about this, especially about the capitalisation used. Could this question not be answered with a script that goes over all modules and changes the source to fit the diverse preferences? Regards, Frank
Nov 19 2007
"0ffh" <frank frankhirsch.youknow.what.todo.net> wrote in message news:fhrvlj$1ras$1 digitalmars.com...There seems to be a lot of discussion about this, especially about the capitalisation used. Could this question not be answered with a script that goes over all modules and changes the source to fit the diverse preferences? Regards, FrankThen you have n different libraries which only differ by naming convention. You can't please everybody, at least not practically.
Nov 19 2007
Jarrett Billingsley wrote:"0ffh" <frank frankhirsch.youknow.what.todo.net> wrote in message news:fhrvlj$1ras$1 digitalmars.com...<joke>Why not make D case-insensitive and also underscore-insensitive? That way anyone could use identifiers the way they like them. FooBar, fooBar and foo_bar would all be the same.</joke>There seems to be a lot of discussion about this, especially about the capitalisation used. Could this question not be answered with a script that goes over all modules and changes the source to fit the diverse preferences? Regards, FrankThen you have n different libraries which only differ by naming convention. You can't please everybody, at least not practically.
Nov 19 2007
0ffh wrote:There seems to be a lot of discussion about this, especially about the capitalisation used. Could this question not be answered with a script that goes over all modules and changes the source to fit the diverse preferences? Regards, FrankYes. Fragmentation! How do I use my Tango-in-phobos-style library when it depends on your Tango-in-Java-style library, and how does J Random Hacker use my library in his Tango-in-Pascal-style application? Unless you want this script to be widely distributed and to work with most or all libraries, that is, in which case it would all work, until we get good support for precompiled (statically or dynamically linked) libraries in D. The current convention, compiling everything all the time, would support this regime. Actually, I suppose that's only going to be a problem if you're using precompiled libraries that you didn't compile, or that you didn't convert before compiling.
Nov 19 2007
Christopher Wright wrote:Actually, I suppose that's only going to be a problem if you're using precompiled libraries that you didn't compile, or that you didn't convert before compiling.Hehe, users of precompiled libs will have to take the blame on themselves. Also, of course nobody could expect the Tango staff to give support for the heretics, who'd have to care for themselves... =) Maybe it's getting time that there were some refactoring Tools for D, that'd make the problem easy (as long as you have all your source). Regards, Frank
Nov 19 2007
0ffh wrote:Maybe it's getting time that there were some refactoring Tools for D, that'd make the problem easy (as long as you have all your source).We've got men on the job!
Nov 19 2007
Robert Fraser wrote:0ffh wrote:Sheesh! I have totally overlooked this! Bad bad $me, $me needs to be punished! Really? That sounds fine! Any links? regards, frankMaybe it's getting time that there were some refactoring Tools for D, that'd make the problem easy (as long as you have all your source).We've got men on the job!
Nov 21 2007
0ffh wrote:Robert Fraser wrote:Well, it's a "planned" feature for Descent. But before we get any kind of refactoring, we need semantic analysis, which we're working on/debugging right now... so it might be a while. You can see the status over at: http://www.dsource.org/projects/descent http://www.dsource.org/projects/descent/browser/trunk/descent.core/src/descent/internal/compiler/parser0ffh wrote:Sheesh! I have totally overlooked this! Bad bad $me, $me needs to be punished! Really? That sounds fine! Any links? regards, frankMaybe it's getting time that there were some refactoring Tools for D, that'd make the problem easy (as long as you have all your source).We've got men on the job!
Nov 22 2007