From: <an...@ki...> - 2010-07-29 18:08:25
|
Umm I prefer languages and OS's to be case sensitive. (I guess being a unix/linux type of guy) In forths case the case sensitivity gives you more scope to create words that are named meaningfuly. If you are operating case insensitive you have less combinations available to you when making words and are more likely to end up naming your forth functions and subroutines with soemthing that is meaningless. just because you are running out of options (particularly when trying to think of a new word name on the fly, without digging out a dictionary). It's arithmetic really, this is why passwords that use upper and lower case on case sensitive systems are far more secure. (combinatorial explosion) However.... There is perhaps an argument for adopting a case styling convention for word names that differs from say variable names to help code readability. What that stylistic convention could be I am not going to get into. It is a very easy way to promote a mass brawl as firmly held preferences vary so widely. Casing though is one of many options. Thoughts for what they are worth... On 29/07/10 18:16, Matthias Trute wrote: > Pito, > > >> when you do insist on case sensitivness than do make the forth words >> uppercase... > > Why do you think I insist on case sensitivness? Case sensitivness > is simpler to implement (take it as an axiom if you do not believe > it). Its very easy do write a converter in any language on the PC > side, even windows VBS can do that: > > Dim upper as String = "converted from lowercase" > Console.WriteLine(upper.ToUpper()) > Console.WriteLine(UCase(upper)) > Console.WriteLine(StrConv(upper,VbStrConv.UpperCase)) > > not to mention the many unix tools like tr... > >> Who actually needs case sensitive forth?? > > I do and will do so for the next few months, at least. > >> PS: It is interesting how the creators of such >> nice sw implementations do insist on something, which an average >> user does not understand.. I've tried FlashForth recently (have a >> look on it - a lot of ineresting features you may utilise), however >> the creator does insist on FOR NEXT instead of DO LOOP. Frankly, I >> do not understand that.. > > Thats life. And FF is interesting, indeed. > > > Matthias > > PS: If _you_ insist on case insensitivness, feel free to send a > patch, that I can consider to include into amforth. Thats the way Open > Source Software works and thats the reason why I share amforth with > other people > > > > > ------------------------------------------------------------------------------ > The Palm PDK Hot Apps Program offers developers who use the > Plug-In Development Kit to bring their C/C++ apps to Palm for a share > of $1 Million in cash or HP Products. Visit us here for more details: > http://p.sf.net/sfu/dev2dev-palm > > > > _______________________________________________ > Amforth-devel mailing list > Amf...@li... > https://lists.sourceforge.net/lists/listinfo/amforth-devel |