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:
Getting Emailer to send mail (1997)
NT version (1997)
[WebDNA] Triggers Failing (2008)
Missing Cart Information (2003)
Still Stumped on ShowNext...HELP! (1997)
SetCookie / GetCookie Problem.... (2004)
Big Databases (1997)
Tip: upgrading to WebCatalog 3.x, fields to watch for (1999)
webcat (2000)
Tiny Store (1998)
Bizarre ISAPI vs. EXE Behavior with WebSite (1999)
more info on [setlineitems] (1997)
$Append for Users outside the ADMIN group (1997)
Sort Order on a page search (1997)
E-mailer error codes (1997)
Duplicate Items in the Cart (1998)
[WebDNA] MD5 Hash issue (2009)
Scoping rules in WebDNA 4.0 (2000)
Online reference (1997)
[sendmail] and [formvariables] (1997)