Re: [WebDNA] Capitalize surprise

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 110015
interpreted = N
texte = --Boundary-01=_ReSyQ2LYeXpYTye Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I don't think it would take much effort for WSC to add a new=20 context, maybe call it FirstLetterUppercase or something,=20 that makes only the first letter of each word uppercase=20 without touching the rest of the letters in the word. Then=20 we wouldn't have to create our own function for such a=20 useful and common sense tool. =20 Just my thoughts. Sincerely, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com WebDNA Programming and Linux Server Administration > Well you're right of course. >=20 > For instance, what does one do with names like >=20 > McElhiney > McGhee > O'Shea > O'Leary >=20 > and the more modern >=20 > iPad > iPod > will.i.am >=20 > the list goes on and on. >=20 > As you said, functions are perfect for this if you want > to knock yourself out. >=20 > Cheers, >=20 > Will Starck > Big Idea Software,LLC >=20 > On Dec 12, 2012, at 6:06 PM, Brian Fries=20 wrote: > > At this point, it doesn't matter how anyone thinks it > > "should" work or how it works in any other programming > > language, and it's not worth arguing. In WebDNA, > > [capitalize] means exactly what it does and what it > > has done for the past 15 years. > >=20 > > Changing what [capitalize] does now will break existing > > code. > >=20 > > If you want something that behaves differently, write a > > function. > >=20 > > My 2=C2=A2. > >=20 > > Brian > >=20 > > On Dec 12, 2012, at 1:03 PM, Christer Olsson=20 wrote: > >> 12 dec 2012 kl. 21:40 skrev Michael Davis=20 : > >>> On Dec 11, 2012, at 11:56 AM, Christer Olsson=20 wrote: > >>>> Capitalizing means first letter uppercase and the > >>>> rest of the letters lowercase. Sorry, but that's > >>>> the way it is. > >>>=20 > >>> Where does it mean this? From what source do you > >>> derive this theory? Can you point to authoritative > >>> documentation, such as the dictionary, as this is > >>> clearly a terminology based in grammar, not > >>> programming. I have searched through several > >>> dictionaries and googled the heck out of it and have > >>> found no evidence of any such rule. There is simply > >>> no rule that I can find that if the first letter of > >>> a word is a capital letter, the rest must be lower > >>> case. Please enlighten me. To capitalize the words > >>> "dennis deYoung" your way would be silly. > >>> [capitalize]dennis deYoung[/capitalize] =3D Dennis > >>> Deyoung. So [capitalize][/capitalize] is equivalent > >>> to [capitalize][lowercase][/lowercase][/capitalize]. > >>> [capitalize] has redundant functionality that can be > >>> accomplished with another tag, [lowercase]. Because > >>> of this, it's overly complicated, if not impossible, > >>> to properly capitalize the example above. > >>=20 > >> As I said in my original reply to Ken: it's the way it > >> works in every programming language I know, and I see > >> no reason why WebDNA should work differently in this > >> aspect. That doesn't mean I don't see a use for a > >> function working like to would like it to work. > >>=20 > >> Best, > >> Christer > >=20 > > ------------------------------------------------------- > > -- This message is sent to you because you are > > subscribed to the mailing list . > > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us > > Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --Boundary-01=_ReSyQ2LYeXpYTye Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

I don't thi= nk it would take much effort for WSC to add a new context, maybe call it Fi= rstLetterUppercase or something, that makes only the first letter of each w= ord uppercase without touching the rest of the letters in the word. Then w= e wouldn't have to create our own function for such a useful and common sen= se tool.


Just my tho= ughts.


Sincerely,<= /p>

Kenneth Gro= me

WebDNA Solu= tions

http://www.= webdnasolutions.com

WebDNA Prog= ramming and Linux Server Administration





> Well y= ou're right of course.

>

> For in= stance, what does one do with names like

>

> McElhi= ney

> McGhee=

> O'Shea=

> O'Lear= y

>

> and th= e more modern

>

> iPad

> iPod

> will.i= =2Eam

>

> the li= st goes on and on.

>

> As you= said, functions are perfect for this if you want

> to kno= ck yourself out.

>

> Cheers= ,

>

> Will S= tarck

> Big Id= ea Software,LLC

>

> On Dec= 12, 2012, at 6:06 PM, Brian Fries <iphonzie@gmail.com> wrote:

> > A= t this point, it doesn't matter how anyone thinks it

> > &= quot;should" work or how it works in any other programming

> > l= anguage, and it's not worth arguing. In WebDNA,

> > [= capitalize] means exactly what it does and what it

> > h= as done for the past 15 years.

> > <= /p>

> > C= hanging what [capitalize] does now will break existing

> > c= ode.

> > <= /p>

> > I= f you want something that behaves differently, write a

> > f= unction.

> > <= /p>

> > M= y 2=C2=A2.

> > <= /p>

> > B= rian

> > <= /p>

> > O= n Dec 12, 2012, at 1:03 PM, Christer Olsson <christer@ljusaideer.se> = wrote:

> >&g= t; 12 dec 2012 kl. 21:40 skrev Michael Davis <admin@network13.net>:

> >&g= t;> On Dec 11, 2012, at 11:56 AM, Christer Olsson <christer@ljusaidee= r.se> wrote:

> >&g= t;>> Capitalizing means first letter uppercase and the

> >&g= t;>> rest of the letters lowercase. Sorry, but that's

> >&g= t;>> the way it is.

> >&g= t;>

> >&g= t;> Where does it mean this? From what source do you

> >&g= t;> derive this theory? Can you point to authoritative

> >&g= t;> documentation, such as the dictionary, as this is

> >&g= t;> clearly a terminology based in grammar, not

> >&g= t;> programming. I have searched through several

> >&g= t;> dictionaries and googled the heck out of it and have

> >&g= t;> found no evidence of any such rule. There is simply

> >&g= t;> no rule that I can find that if the first letter of

> >&g= t;> a word is a capital letter, the rest must be lower

> >&g= t;> case. Please enlighten me. To capitalize the words

> >&g= t;> "dennis deYoung" your way would be silly.

> >&g= t;> [capitalize]dennis deYoung[/capitalize] =3D Dennis

> >&g= t;> Deyoung. So [capitalize][/capitalize] is equivalent

> >&g= t;> to [capitalize][lowercase][/lowercase][/capitalize].

> >&g= t;> [capitalize] has redundant functionality that can be

> >&g= t;> accomplished with another tag, [lowercase]. Because

> >&g= t;> of this, it's overly complicated, if not impossible,

> >&g= t;> to properly capitalize the example above.

> >&g= t;

> >&g= t; As I said in my original reply to Ken: it's the way it

> >&g= t; works in every programming language I know, and I see

> >&g= t; no reason why WebDNA should work differently in this

> >&g= t; aspect. That doesn't mean I don't see a use for a

> >&g= t; function working like to would like it to work.

> >&g= t;

> >&g= t; Best,

> >&g= t; Christer

> > <= /p>

> > -= =2D-----------------------------------------------------

> > -= =2D This message is sent to you because you are

> > s= ubscribed to the mailing list <talk@webdna.us>.

> > T= o unsubscribe, E-mail to: <talk-leave@webdna.us>

> > a= rchives: http://mail.webdna.us/list/talk@webdna.us

> > B= ug Reporting: support@webdna.us

>

> ------= =2D--------------------------------------------------

> This m= essage is sent to you because you are subscribed to

> the ma= iling list <talk@webdna.us>.

> To uns= ubscribe, E-mail to: <talk-leave@webdna.us>

> archiv= es: http://mail.webdna.us/list/talk@webdna.us

> Bug Re= porting: support@webdna.us

--Boundary-01=_ReSyQ2LYeXpYTye-- Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Capitalize surprise (WebDNA Solutions 2012)
  2. Re: [WebDNA] Capitalize surprise ("WJ Starck, DDS" 2012)
  3. Re: [WebDNA] Capitalize surprise (Brian Fries 2012)
  4. Re: [WebDNA] Capitalize surprise (Christer Olsson 2012)
  5. Re: [WebDNA] Capitalize surprise (Michael Davis 2012)
--Boundary-01=_ReSyQ2LYeXpYTye Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable I don't think it would take much effort for WSC to add a new=20 context, maybe call it FirstLetterUppercase or something,=20 that makes only the first letter of each word uppercase=20 without touching the rest of the letters in the word. Then=20 we wouldn't have to create our own function for such a=20 useful and common sense tool. =20 Just my thoughts. Sincerely, Kenneth Grome WebDNA Solutions http://www.webdnasolutions.com WebDNA Programming and Linux Server Administration > Well you're right of course. >=20 > For instance, what does one do with names like >=20 > McElhiney > McGhee > O'Shea > O'Leary >=20 > and the more modern >=20 > iPad > iPod > will.i.am >=20 > the list goes on and on. >=20 > As you said, functions are perfect for this if you want > to knock yourself out. >=20 > Cheers, >=20 > Will Starck > Big Idea Software,LLC >=20 > On Dec 12, 2012, at 6:06 PM, Brian Fries=20 wrote: > > At this point, it doesn't matter how anyone thinks it > > "should" work or how it works in any other programming > > language, and it's not worth arguing. In WebDNA, > > [capitalize] means exactly what it does and what it > > has done for the past 15 years. > >=20 > > Changing what [capitalize] does now will break existing > > code. > >=20 > > If you want something that behaves differently, write a > > function. > >=20 > > My 2=C2=A2. > >=20 > > Brian > >=20 > > On Dec 12, 2012, at 1:03 PM, Christer Olsson=20 wrote: > >> 12 dec 2012 kl. 21:40 skrev Michael Davis=20 : > >>> On Dec 11, 2012, at 11:56 AM, Christer Olsson=20 wrote: > >>>> Capitalizing means first letter uppercase and the > >>>> rest of the letters lowercase. Sorry, but that's > >>>> the way it is. > >>>=20 > >>> Where does it mean this? From what source do you > >>> derive this theory? Can you point to authoritative > >>> documentation, such as the dictionary, as this is > >>> clearly a terminology based in grammar, not > >>> programming. I have searched through several > >>> dictionaries and googled the heck out of it and have > >>> found no evidence of any such rule. There is simply > >>> no rule that I can find that if the first letter of > >>> a word is a capital letter, the rest must be lower > >>> case. Please enlighten me. To capitalize the words > >>> "dennis deYoung" your way would be silly. > >>> [capitalize]dennis deYoung[/capitalize] =3D Dennis > >>> Deyoung. So [capitalize][/capitalize] is equivalent > >>> to [capitalize][lowercase][/lowercase][/capitalize]. > >>> [capitalize] has redundant functionality that can be > >>> accomplished with another tag, [lowercase]. Because > >>> of this, it's overly complicated, if not impossible, > >>> to properly capitalize the example above. > >>=20 > >> As I said in my original reply to Ken: it's the way it > >> works in every programming language I know, and I see > >> no reason why WebDNA should work differently in this > >> aspect. That doesn't mean I don't see a use for a > >> function working like to would like it to work. > >>=20 > >> Best, > >> Christer > >=20 > > ------------------------------------------------------- > > -- This message is sent to you because you are > > subscribed to the mailing list . > > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us > > Bug Reporting: support@webdna.us >=20 > --------------------------------------------------------- > This message is sent to you because you are subscribed to > the mailing list . > To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us > Bug Reporting: support@webdna.us --Boundary-01=_ReSyQ2LYeXpYTye Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

I don't thi= nk it would take much effort for WSC to add a new context, maybe call it Fi= rstLetterUppercase or something, that makes only the first letter of each w= ord uppercase without touching the rest of the letters in the word. Then w= e wouldn't have to create our own function for such a useful and common sen= se tool.


Just my tho= ughts.


Sincerely,<= /p>

Kenneth Gro= me

WebDNA Solu= tions

http://www.= webdnasolutions.com

WebDNA Prog= ramming and Linux Server Administration





> Well y= ou're right of course.

>

> For in= stance, what does one do with names like

>

> McElhi= ney

> McGhee=

> O'Shea=

> O'Lear= y

>

> and th= e more modern

>

> iPad

> iPod

> will.i= =2Eam

>

> the li= st goes on and on.

>

> As you= said, functions are perfect for this if you want

> to kno= ck yourself out.

>

> Cheers= ,

>

> Will S= tarck

> Big Id= ea Software,LLC

>

> On Dec= 12, 2012, at 6:06 PM, Brian Fries <iphonzie@gmail.com> wrote:

> > A= t this point, it doesn't matter how anyone thinks it

> > &= quot;should" work or how it works in any other programming

> > l= anguage, and it's not worth arguing. In WebDNA,

> > [= capitalize] means exactly what it does and what it

> > h= as done for the past 15 years.

> > <= /p>

> > C= hanging what [capitalize] does now will break existing

> > c= ode.

> > <= /p>

> > I= f you want something that behaves differently, write a

> > f= unction.

> > <= /p>

> > M= y 2=C2=A2.

> > <= /p>

> > B= rian

> > <= /p>

> > O= n Dec 12, 2012, at 1:03 PM, Christer Olsson <christer@ljusaideer.se> = wrote:

> >&g= t; 12 dec 2012 kl. 21:40 skrev Michael Davis <admin@network13.net>:

> >&g= t;> On Dec 11, 2012, at 11:56 AM, Christer Olsson <christer@ljusaidee= r.se> wrote:

> >&g= t;>> Capitalizing means first letter uppercase and the

> >&g= t;>> rest of the letters lowercase. Sorry, but that's

> >&g= t;>> the way it is.

> >&g= t;>

> >&g= t;> Where does it mean this? From what source do you

> >&g= t;> derive this theory? Can you point to authoritative

> >&g= t;> documentation, such as the dictionary, as this is

> >&g= t;> clearly a terminology based in grammar, not

> >&g= t;> programming. I have searched through several

> >&g= t;> dictionaries and googled the heck out of it and have

> >&g= t;> found no evidence of any such rule. There is simply

> >&g= t;> no rule that I can find that if the first letter of

> >&g= t;> a word is a capital letter, the rest must be lower

> >&g= t;> case. Please enlighten me. To capitalize the words

> >&g= t;> "dennis deYoung" your way would be silly.

> >&g= t;> [capitalize]dennis deYoung[/capitalize] =3D Dennis

> >&g= t;> Deyoung. So [capitalize][/capitalize] is equivalent

> >&g= t;> to [capitalize][lowercase][/lowercase][/capitalize].

> >&g= t;> [capitalize] has redundant functionality that can be

> >&g= t;> accomplished with another tag, [lowercase]. Because

> >&g= t;> of this, it's overly complicated, if not impossible,

> >&g= t;> to properly capitalize the example above.

> >&g= t;

> >&g= t; As I said in my original reply to Ken: it's the way it

> >&g= t; works in every programming language I know, and I see

> >&g= t; no reason why WebDNA should work differently in this

> >&g= t; aspect. That doesn't mean I don't see a use for a

> >&g= t; function working like to would like it to work.

> >&g= t;

> >&g= t; Best,

> >&g= t; Christer

> > <= /p>

> > -= =2D-----------------------------------------------------

> > -= =2D This message is sent to you because you are

> > s= ubscribed to the mailing list <talk@webdna.us>.

> > T= o unsubscribe, E-mail to: <talk-leave@webdna.us>

> > a= rchives: http://mail.webdna.us/list/talk@webdna.us

> > B= ug Reporting: support@webdna.us

>

> ------= =2D--------------------------------------------------

> This m= essage is sent to you because you are subscribed to

> the ma= iling list <talk@webdna.us>.

> To uns= ubscribe, E-mail to: <talk-leave@webdna.us>

> archiv= es: http://mail.webdna.us/list/talk@webdna.us

> Bug Re= porting: support@webdna.us

--Boundary-01=_ReSyQ2LYeXpYTye-- WebDNA Solutions

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:

Interfacing WebMerchant to www.fedex.com (1997) [WebDNA] [OT] Apple iPad (2010) emailer w/F2 (1997) WebCat and WebTV (1997) SiteGuard Admin Feature ? (1997) searchable list archive (1997) [WebDNA] Error 500 with SUMM=T (2017) WebCatalog 4.0.1 has been released! OSXS (2000) Sort Order on a page search (1997) For those of you not on the WebCatalog Beta... (1997) [search] and [shownext] Problem (2000) [WebDNA] [OT] Multiple SSL certs on same server? (2014) [WebDNA] client request (2010) To Err or Not Custom Error (1999) Thanks and Big News!!! (1997) View Source from cache (1997) GoLive CyberStudio 1.0.1 (1997) The beginning (1997) I'm having trouble using [url][interpret][math] together in lookup (1997) vs (1997)