Re: [WebDNA] lists opinion
This WebDNA talk-list message is from 2009
It keeps the original formatting.
numero = 103818
interpreted = N
texte = I prefer that webdna NOT be changed simply to make things "better". Why not just document the current behavior of [delimiter] and be done with it? Often times it's the lack of documentation that bothers us more than the actual behavior of a particular tag or context. Not always of course, but this is usually the case (for me anyways).Sorry if my "opinion" is coming through here, but I guess I just don't see the importance of the [delimiter] tag in the first place. Maybe my coding work has been sheltered from the types of coding the rest of you are doing, but when I'm trying to make a list of words I typically want to get rid of the delimiters and keep the words. That's why I don't care which delimiter came in between one word and another. For me it's always been extraneous information.But I do have a suggestion for one behavior you can change to make things better (in my opinion of course):Why not change switch/case so that it only displays the first matching case? It displays all matching cases right now, and that's why I have never used it -- because I want it to display only the first matching case just like similar functions in other languages.How many of you actually use switch/case anyways? I don't think I've ever seen a question or comment about it in years.Sincerely,Ken Grome
Associated Messages, from the most recent to the oldest:
I prefer that webdna NOT be changed simply to make things "better". Why not just document the current behavior of [delimiter] and be done with it? Often times it's the lack of documentation that bothers us more than the actual behavior of a particular tag or context. Not always of course, but this is usually the case (for me anyways).Sorry if my "opinion" is coming through here, but I guess I just don't see the importance of the [delimiter] tag in the first place. Maybe my coding work has been sheltered from the types of coding the rest of you are doing, but when I'm trying to make a list of words I typically want to get rid of the delimiters and keep the words. That's why I don't care which delimiter came in between one word and another. For me it's always been extraneous information.But I do have a suggestion for one behavior you can change to make things better (in my opinion of course):Why not change switch/case so that it only displays the first matching case? It displays all matching cases right now, and that's why I have never used it -- because I want it to display only the first matching case just like similar functions in other languages.How many of you actually use switch/case anyways? I don't think I've ever seen a question or comment about it in years.Sincerely,Ken Grome
Kenneth Grome
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
To Err or Not Custom Error (1999)
Running _every_ page through WebCat ? (1997)
[WebDNA] Two scripts fail on 6.0 but not on 7.x ... ? (2012)
Emailer Set Up (1997)
Attention eCommerce Sites (deadline 12/12) (1997)
Showif Question (2001)
File not found error message (1998)
Read and weep (2003)
problems with WebCat-Plugin (1997)
Electronic Delivery (1997)
[WebDNA] WebDNA and MAMP/Apache (Mac) (2018)
upgrade? (1997)
[WebDNA] Stripe (2015)
Missing custom convert.db (1998)
Shipping Based on Number of Items (1998)
Math Context (2001)
RE: WebCatalog2 for NT Beta Request (1997)
HELP WITH DATES (1997)
Am I going senile? (Price recalc based on quantity) (1997)
searchable list archive (1997)