|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Hi all
Sorry for this rather unnecessary message, but I just have to post this extremely nice phrase, originally posted by Joe Strout on the RealBasic newsgroup (I know he won't mind me doing so). It's almost like poetry :-) Variants are powerful but evil, a bit like the Dark Side of the force. They're easier, quick to join you in a fight to hack out something, but once you start down the dark path of using Variants where they're not needed, forever will it consume your destiny. Mike Seems just a tad overstated. If using variants
is "evil" then I shudder to think what sort of Hell fire is reserved for people who do things like putting ketchup on hot dogs. :) -- Show quoteHide quotemayayanaX***@mindXXspring.com (Remove Xs for return email.) Mike Williams <M***@WhiskyAndCoke.com> wrote in message news:dj82bq$bre$1@newsg2.svr.pol.co.uk... > Hi all > > Sorry for this rather unnecessary message, but I just have to post this > extremely nice phrase, originally posted by Joe Strout on the RealBasic > newsgroup (I know he won't mind me doing so). It's almost like poetry :-) > > Variants are powerful but evil, a bit like the Dark Side of the > force. They're easier, quick to join you in a fight to hack out > something, but once you start down the dark path of using > Variants where they're not needed, forever will it consume > your destiny. > > Mike > > > "mayayana" <mayayanaX***@mindXXspring.com> wrote in message You'd better not be French or American or the subject of your vile (andnews:7WM5f.16832$vw6.1546@newsread1.news.atl.earthlink.net... > Seems just a tad overstated. If using variants > is "evil" then I shudder to think what sort of Hell > fire is reserved for people who do things like > putting ketchup on hot dogs. :) largely pointless) "mustard" will surely be raised... <g> Show quoteHide quote > > -- > mayayanaX***@mindXXspring.com > (Remove Xs for return email.) > Mike Williams <M***@WhiskyAndCoke.com> wrote in message > news:dj82bq$bre$1@newsg2.svr.pol.co.uk... > > Hi all > > > > Sorry for this rather unnecessary message, but I just have to post this > > extremely nice phrase, originally posted by Joe Strout on the RealBasic > > newsgroup (I know he won't mind me doing so). It's almost like poetry :-) > > > > Variants are powerful but evil, a bit like the Dark Side of the > > force. They're easier, quick to join you in a fight to hack out > > something, but once you start down the dark path of using > > Variants where they're not needed, forever will it consume > > your destiny. > > > > Mike > > > > > > > >
Show quote
Hide quote
"Tony Spratt" <tony_spr***@hotmail.com> wrote in message LOLnews:OIq%23y3X1FHA.2064@TK2MSFTNGP09.phx.gbl... > > "mayayana" <mayayanaX***@mindXXspring.com> wrote in message > news:7WM5f.16832$vw6.1546@newsread1.news.atl.earthlink.net... > > Seems just a tad overstated. If using variants > > is "evil" then I shudder to think what sort of Hell > > fire is reserved for people who do things like > > putting ketchup on hot dogs. :) > > You'd better not be French or American or the subject of your vile (and > largely pointless) "mustard" will surely be raised... <g> > > > > > -- > > mayayanaX***@mindXXspring.com > > (Remove Xs for return email.) > > Mike Williams <M***@WhiskyAndCoke.com> wrote in message > > news:dj82bq$bre$1@newsg2.svr.pol.co.uk... > > > Hi all > > > > > > Sorry for this rather unnecessary message, but I just have to post this > > > extremely nice phrase, originally posted by Joe Strout on the RealBasic > > > newsgroup (I know he won't mind me doing so). It's almost like poetry > :-) > > > > > > Variants are powerful but evil, a bit like the Dark Side of the > > > force. They're easier, quick to join you in a fight to hack out > > > something, but once you start down the dark path of using > > > Variants where they're not needed, forever will it consume > > > your destiny. > > > > > > Mike > > > Anyone who would willingly ingest Marmite without money being involved should be automatically banned from any discussion on diet. <g> -ralph ............ OY!!
Marmite is variant of Vegemite. It's not evil, though I admit it's a bit on the Dark Side It's easy to hack out a slice of bread with it, sure, but since childhood, I've been destined to consume it, whether it's needed or not. I'm quick to pick a fight with anybody about this variant down any dark path, or dieting discussion. Argusy the Aussie ;-> (with condolences to the OP and his ..poetry..) Ralph wrote: Show quoteHide quote > "Tony Spratt" <tony_spr***@hotmail.com> wrote in message > news:OIq%23y3X1FHA.2064@TK2MSFTNGP09.phx.gbl... > >>"mayayana" <mayayanaX***@mindXXspring.com> wrote in message >>news:7WM5f.16832$vw6.1546@newsread1.news.atl.earthlink.net... >> >>> Seems just a tad overstated. If using variants >>>is "evil" then I shudder to think what sort of Hell >>>fire is reserved for people who do things like >>>putting ketchup on hot dogs. :) >> >>You'd better not be French or American or the subject of your vile (and >>largely pointless) "mustard" will surely be raised... <g> >> >>>-- >>>mayayanaX***@mindXXspring.com >>>(Remove Xs for return email.) >>>Mike Williams <M***@WhiskyAndCoke.com> wrote in message >>>news:dj82bq$bre$1@newsg2.svr.pol.co.uk... >>> >>>>Hi all >>>> >>>>Sorry for this rather unnecessary message, but I just have to post >>> > this > >>>>extremely nice phrase, originally posted by Joe Strout on the >>> > RealBasic > >>>>newsgroup (I know he won't mind me doing so). It's almost like poetry >>> >>:-) >> >>>>Variants are powerful but evil, a bit like the Dark Side of the >>>>force. They're easier, quick to join you in a fight to hack out >>>>something, but once you start down the dark path of using >>>>Variants where they're not needed, forever will it consume >>>>your destiny. >>>> >>>>Mike >>>> >>> > > LOL > > Anyone who would willingly ingest Marmite without money being involved > should be automatically banned from any discussion on diet. > > <g> > -ralph > >
Show quote
Hide quote
"argusy" <arg***@slmember.on.net> wrote in message I would have thought you would prefer 'Promite' then.news:4358C4B5.5090302@slmember.on.net... > ........... OY!! > Marmite is variant of Vegemite. > It's not evil, though I admit it's a bit on the Dark Side > It's easy to hack out a slice of bread with it, sure, > but since childhood, I've been destined to consume it, whether it's needed or not. > I'm quick to pick a fight with anybody about this variant down any dark path, or > dieting discussion. > > Argusy the Aussie ;-> (with condolences to the OP and his ..poetry..) > > Though it matters little, as all three are thoroughly disgusting. They represent a form of child abuse on par with Castor Oil and Sulphur 'n Molasses. It would be kinder to just wash their mouths out with soap once a day. Children should be brought up on artificially fortified B-12 products with high-sugar content, as God intended. <g> -ralph Show quoteHide quote > Ralph wrote: > > "Tony Spratt" <tony_spr***@hotmail.com> wrote in message > > news:OIq%23y3X1FHA.2064@TK2MSFTNGP09.phx.gbl... > > > >>"mayayana" <mayayanaX***@mindXXspring.com> wrote in message > >>news:7WM5f.16832$vw6.1546@newsread1.news.atl.earthlink.net... > >> > >>> Seems just a tad overstated. If using variants > >>>is "evil" then I shudder to think what sort of Hell > >>>fire is reserved for people who do things like > >>>putting ketchup on hot dogs. :) > >> > >>You'd better not be French or American or the subject of your vile (and > >>largely pointless) "mustard" will surely be raised... <g> > >> > >>>-- > >>>mayayanaX***@mindXXspring.com > >>>(Remove Xs for return email.) > >>>Mike Williams <M***@WhiskyAndCoke.com> wrote in message > >>>news:dj82bq$bre$1@newsg2.svr.pol.co.uk... > >>> > >>>>Hi all > >>>> > >>>>Sorry for this rather unnecessary message, but I just have to post > >>> > > this > > > >>>>extremely nice phrase, originally posted by Joe Strout on the > >>> > > RealBasic > > > >>>>newsgroup (I know he won't mind me doing so). It's almost like poetry > >>> > >>:-) > >> > >>>>Variants are powerful but evil, a bit like the Dark Side of the > >>>>force. They're easier, quick to join you in a fight to hack out > >>>>something, but once you start down the dark path of using > >>>>Variants where they're not needed, forever will it consume > >>>>your destiny. > >>>> > >>>>Mike > >>>> > >>> > > > > LOL > > > > Anyone who would willingly ingest Marmite without money being involved > > should be automatically banned from any discussion on diet. > > > > <g> > > -ralph > > > > >
Show quote
Hide quote
"Ralph" <nt_consultin***@yahoo.com> wrote in message "Castor Oil"?news:_4qdna3jfp6iTMXeRVn-vQ@arkansas.net... > > "argusy" <arg***@slmember.on.net> wrote in message > news:4358C4B5.5090302@slmember.on.net... >> ........... OY!! >> Marmite is variant of Vegemite. >> It's not evil, though I admit it's a bit on the Dark Side >> It's easy to hack out a slice of bread with it, sure, >> but since childhood, I've been destined to consume it, whether it's >> needed > or not. >> I'm quick to pick a fight with anybody about this variant down any dark > path, or >> dieting discussion. >> >> Argusy the Aussie ;-> (with condolences to the OP and his ..poetry..) >> >> > > I would have thought you would prefer 'Promite' then. > > Though it matters little, as all three are thoroughly disgusting. They > represent a form of child abuse on par with Castor Oil and Sulphur 'n > Molasses. It would be kinder to just wash their mouths out with soap once > a > day. > > Children should be brought up on artificially fortified B-12 products with > high-sugar content, as God intended. > > <g> I wonder if that is the same as the stuff my 11-year old son and I drink every morning, straight from the bottle (making his mother leave the room in disgust) called "Tran"? It is pure fish fat (oil) made from cod-liver... Brilliant! It is the best there is, as any Norwegian mother past her 70'ies can tell you... ;-) -- Dag.
Show quote
Hide quote
"Dag Sunde" <m*@dagsunde.com> wrote in message The same thing I imagine, though I don't remember the brand name. In mynews:iw46f.6960$qE.1466167@juliett.dax.net... > "Ralph" <nt_consultin***@yahoo.com> wrote in message > news:_4qdna3jfp6iTMXeRVn-vQ@arkansas.net... > > > > "argusy" <arg***@slmember.on.net> wrote in message > > news:4358C4B5.5090302@slmember.on.net... > >> ........... OY!! > >> Marmite is variant of Vegemite. > >> It's not evil, though I admit it's a bit on the Dark Side > >> It's easy to hack out a slice of bread with it, sure, > >> but since childhood, I've been destined to consume it, whether it's > >> needed > > or not. > >> I'm quick to pick a fight with anybody about this variant down any dark > > path, or > >> dieting discussion. > >> > >> Argusy the Aussie ;-> (with condolences to the OP and his ...poetry..) > >> > >> > > > > I would have thought you would prefer 'Promite' then. > > > > Though it matters little, as all three are thoroughly disgusting. They > > represent a form of child abuse on par with Castor Oil and Sulphur 'n > > Molasses. It would be kinder to just wash their mouths out with soap once > > a > > day. > > > > Children should be brought up on artificially fortified B-12 products with > > high-sugar content, as God intended. > > > > <g> > > "Castor Oil"? > > I wonder if that is the same as the stuff my 11-year old son and I drink > every morning, straight from the bottle (making his mother leave the room > in disgust) called "Tran"? > > It is pure fish fat (oil) made from cod-liver... Brilliant! > > It is the best there is, as any Norwegian mother past her 70'ies can > tell you... > > ;-) > > -- > Dag. > Germanic upbringing it was an automatic dosing at the first mention of illness. Looking back I realize it was only a well-designed ploy to reduce child-maintenance. I would rather crawl in a corner and die than let my mother know I was sick. <g> -ralph Oh, my god!!
I think I will go back to the USA, and stay right away from Norway. I just re-read that... there's some rhyming in there somewhere. No, it's not 'castor oil' - that's completely different, and I'll agree with Ralph on that one - that's child abuse. Either that or you and your son are up to something Mum should not know about Argusy Dag Sunde wrote: Show quoteHide quote > "Ralph" <nt_consultin***@yahoo.com> wrote in message > news:_4qdna3jfp6iTMXeRVn-vQ@arkansas.net... > >>"argusy" <arg***@slmember.on.net> wrote in message >>news:4358C4B5.5090302@slmember.on.net... >> >>>........... OY!! >>>Marmite is variant of Vegemite. >>>It's not evil, though I admit it's a bit on the Dark Side >>>It's easy to hack out a slice of bread with it, sure, >>>but since childhood, I've been destined to consume it, whether it's >>>needed >> >>or not. >> >>>I'm quick to pick a fight with anybody about this variant down any dark >> >>path, or >> >>>dieting discussion. >>> >>>Argusy the Aussie ;-> (with condolences to the OP and his ..poetry..) >>> >>> >> >>I would have thought you would prefer 'Promite' then. >> >>Though it matters little, as all three are thoroughly disgusting. They >>represent a form of child abuse on par with Castor Oil and Sulphur 'n >>Molasses. It would be kinder to just wash their mouths out with soap once >>a >>day. >> >>Children should be brought up on artificially fortified B-12 products with >>high-sugar content, as God intended. >> >><g> > > > "Castor Oil"? > > I wonder if that is the same as the stuff my 11-year old son and I drink > every morning, straight from the bottle (making his mother leave the room > in disgust) called "Tran"? > > It is pure fish fat (oil) made from cod-liver... Brilliant! > > It is the best there is, as any Norwegian mother past her 70'ies can > tell you... > > ;-) > "argusy" <arg***@slmember.on.net> wrote in message We get one up on Mum for that, since she doens't take her medicine (news:4358DD42.4020101@slmember.on.net... > Oh, my god!! > I think I will go back to the USA, and stay right away from Norway. > I just re-read that... there's some rhyming in there somewhere. > No, it's not 'castor oil' - that's completely different, and I'll agree > with > Ralph on that one - that's child abuse. > Either that or you and your son are up to something Mum should not know > about > while knowing she should) :-D Actually, it's one of the richest natural sources of Omega-3 fat acids, that helps strengthening the immune system. I guess the old Norwegians, as a fishing nation discovered that early. Living in a semi-arctic climate, its a bad idea to have a sub-optimal immune- system ;-) -- Dag. I've heard about that omega-3.
I didn't need it while sunning on a tropical beach in North Queensland. I do eat fish, though. Barramundi, whiting, flathead... My wife wants to visit the Aleutian islands and Alaska. I might even go with her That way I just might found out what sort of temperatures you have to live with. Have a good day, Dag - I'm going to bed (10.15pm right now) Argusy Dag Sunde wrote: Show quoteHide quote > "argusy" <arg***@slmember.on.net> wrote in message > news:4358DD42.4020101@slmember.on.net... > >>Oh, my god!! >>I think I will go back to the USA, and stay right away from Norway. >>I just re-read that... there's some rhyming in there somewhere. >>No, it's not 'castor oil' - that's completely different, and I'll agree >>with >>Ralph on that one - that's child abuse. >>Either that or you and your son are up to something Mum should not know >>about >> > > > We get one up on Mum for that, since she doens't take her medicine ( > while knowing she should) :-D > > Actually, it's one of the richest natural sources of Omega-3 fat acids, that > helps strengthening the immune system. I guess the old Norwegians, as a > fishing > nation discovered that early. > > Living in a semi-arctic climate, its a bad idea to have a sub-optimal > immune- > system ;-) > Cod liver oil used to be popular in the US as
a source of Vitamin D, but it went out of style when vitamin D began to be added to milk. Castor oil is a purgative - an undigestible oil used to clear out the digestive system. Castor oil used to be used a lot in the US because we were originally settled by Europeans who thought it was clever to clean all flavor and substance from wheat before smearing it with marmite and eating it. As a result we were all plugged up and mistakenly thought that digestion could not function properly without help. :) -- Show quoteHide quotemayayanaX***@mindXXspring.com (Remove Xs for return email.) Dag Sunde <m*@dagsunde.com> wrote in message news:iw46f.6960$qE.1466167@juliett.dax.net... > "Ralph" <nt_consultin***@yahoo.com> wrote in message > news:_4qdna3jfp6iTMXeRVn-vQ@arkansas.net... > > > > "argusy" <arg***@slmember.on.net> wrote in message > > news:4358C4B5.5090302@slmember.on.net... > >> ........... OY!! > >> Marmite is variant of Vegemite. > >> It's not evil, though I admit it's a bit on the Dark Side > >> It's easy to hack out a slice of bread with it, sure, > >> but since childhood, I've been destined to consume it, whether it's > >> needed > > or not. > >> I'm quick to pick a fight with anybody about this variant down any dark > > path, or > >> dieting discussion. > >> > >> Argusy the Aussie ;-> (with condolences to the OP and his ...poetry..) > >> > >> > > > > I would have thought you would prefer 'Promite' then. > > > > Though it matters little, as all three are thoroughly disgusting. They > > represent a form of child abuse on par with Castor Oil and Sulphur 'n > > Molasses. It would be kinder to just wash their mouths out with soap once > > a > > day. > > > > Children should be brought up on artificially fortified B-12 products with > > high-sugar content, as God intended. > > > > <g> > > "Castor Oil"? > > I wonder if that is the same as the stuff my 11-year old son and I drink > every morning, straight from the bottle (making his mother leave the room > in disgust) called "Tran"? > > It is pure fish fat (oil) made from cod-liver... Brilliant! > > It is the best there is, as any Norwegian mother past her 70'ies can > tell you... > > ;-) > > -- > Dag. > > Yeeaaar...... that's another variant. Vegemite is the most popular Down Under.
Poms tend to buy more Marmite and Promite - that's why they stand up straight when guarding Queen Liz I visited the Good Ole USA about 25 years ago, and found out why the Yanks don't like the three of 'em - they've developed such a sweet taste that anything like our veggie rot is anathaemia to them. I couldn't hack the boysenberry pie and fake cream - (no cows, could only find Texan longhorns - bloody nice steaks, though) From your comments, I take it you're a Yank or one of their cousins from north of the border. Oh, well - to each his own toothpaste (or toast topping) (:-) Argusy Ralph wrote: Show quoteHide quote > "argusy" <arg***@slmember.on.net> wrote in message > news:4358C4B5.5090302@slmember.on.net... > >>........... OY!! >>Marmite is variant of Vegemite. >>It's not evil, though I admit it's a bit on the Dark Side >>It's easy to hack out a slice of bread with it, sure, >>but since childhood, I've been destined to consume it, whether it's needed > > or not. > >>I'm quick to pick a fight with anybody about this variant down any dark > > path, or > >>dieting discussion. >> >>Argusy the Aussie ;-> (with condolences to the OP and his ..poetry..) >> >> > > > I would have thought you would prefer 'Promite' then. > > Though it matters little, as all three are thoroughly disgusting. They > represent a form of child abuse on par with Castor Oil and Sulphur 'n > Molasses. It would be kinder to just wash their mouths out with soap once a > day. > > Children should be brought up on artificially fortified B-12 products with > high-sugar content, as God intended. > > <g> > -ralph > > ><snip>
Show quote
Hide quote
"argusy" <arg***@slmember.on.net> wrote in message I'm certainly not a 'Yankee' (which has very different connotation in thenews:4358DB3E.7080909@slmember.on.net... > Yeeaaar...... that's another variant. Vegemite is the most popular Down Under. > Poms tend to buy more Marmite and Promite - that's why they stand up straight > when guarding Queen Liz > I visited the Good Ole USA about 25 years ago, and found out why the Yanks don't > like the three of 'em - they've developed such a sweet taste that anything like > our veggie rot is anathaemia to them. > I couldn't hack the boysenberry pie and fake cream - (no cows, could only find > Texan longhorns - bloody nice steaks, though) > From your comments, I take it you're a Yank or one of their cousins from north > of the border. > > Oh, well - to each his own toothpaste (or toast topping) (:-) > > Argusy > states), but I will accept "Yank". There are parts, however, that would even consider 'Yank' a dog siccing offense. <g> You realize that you totally p*ssed off every Canadian reader of this post, by referring to them as 'cousins', and perhaps annoyed several 'Yanks' as well - as most Canadians still insist they have sovereignty and we only claim mild kinship with those from Northern and Western regions. I got a chance to visit Wellington, about 25 years ago, but never made it to Australia. Armed with the typical American view of the world - I found out rather quickly that they don't like to be called Aussie or English, and Maori ain't aborigines. 'British' seemed mildly acceptable under some circumstances. (Best lamb and mutton I ever ate.) As a people (Canadian, British, Irish, Americans, NZ, Autstrian, ...) who in general have a firm belief in - "to each his own toothpaste" - the number of deviant variants* we can identify is amazing. <g> -ralph * note the use of 'Variant'. Just to keep this thread on track. <g> Show quoteHide quote > Ralph wrote: > > "argusy" <arg***@slmember.on.net> wrote in message > > news:4358C4B5.5090302@slmember.on.net... > > > >>........... OY!! > >>Marmite is variant of Vegemite. > >>It's not evil, though I admit it's a bit on the Dark Side > >>It's easy to hack out a slice of bread with it, sure, > >>but since childhood, I've been destined to consume it, whether it's needed > > > > or not. > > > >>I'm quick to pick a fight with anybody about this variant down any dark > > > > path, or > > > >>dieting discussion. > >> > >>Argusy the Aussie ;-> (with condolences to the OP and his ..poetry..) > >> > >> > > > > > > I would have thought you would prefer 'Promite' then. > > > > Though it matters little, as all three are thoroughly disgusting. They > > represent a form of child abuse on par with Castor Oil and Sulphur 'n > > Molasses. It would be kinder to just wash their mouths out with soap once a > > day. > > > > Children should be brought up on artificially fortified B-12 products with > > high-sugar content, as God intended. > > > > <g> > > -ralph > > > > > ><snip> > > > Seems just a tad overstated. If using variants I have to confess: I prefer the plain,> > is "evil" then I shudder to think what sort of Hell > > fire is reserved for people who do things like > > putting ketchup on hot dogs. :) > > You'd better not be French or American or the subject of your vile (and > largely pointless) "mustard" will surely be raised... <g> > pedestrian yellow stuff. Eh...I'd hate to think of the Hell reserved for those who eat hot dogs,
period! <g> - Kev Show quoteHide quote "mayayana" <mayayanaX***@mindXXspring.com> wrote in message news:7WM5f.16832$vw6.1546@newsread1.news.atl.earthlink.net... > Seems just a tad overstated. If using variants > is "evil" then I shudder to think what sort of Hell > fire is reserved for people who do things like > putting ketchup on hot dogs. :) > > -- > mayayanaX***@mindXXspring.com > (Remove Xs for return email.) > Mike Williams <M***@WhiskyAndCoke.com> wrote in message > news:dj82bq$bre$1@newsg2.svr.pol.co.uk... >> Hi all >> >> Sorry for this rather unnecessary message, but I just have to post this >> extremely nice phrase, originally posted by Joe Strout on the RealBasic >> newsgroup (I know he won't mind me doing so). It's almost like poetry :-) >> >> Variants are powerful but evil, a bit like the Dark Side of the >> force. They're easier, quick to join you in a fight to hack out >> something, but once you start down the dark path of using >> Variants where they're not needed, forever will it consume >> your destiny. >> >> Mike >> >> >> > >
Show quote
Hide quote
"Mike Williams" <M***@WhiskyAndCoke.com> wrote in message Variants are very useful creatures and like everything in the VB menagerienews:dj82bq$bre$1@newsg2.svr.pol.co.uk... > Hi all > > Sorry for this rather unnecessary message, but I just have to post this > extremely nice phrase, originally posted by Joe Strout on the RealBasic > newsgroup (I know he won't mind me doing so). It's almost like poetry :-) > > Variants are powerful but evil, a bit like the Dark Side of the > force. They're easier, quick to join you in a fight to hack out > something, but once you start down the dark path of using > Variants where they're not needed, forever will it consume > your destiny. > > Mike > can be abused if used "where they're not needed". While there are perhaps some features of VB that one might call 'evil', a Variant is not one of them. Variants are used inherently everywhere. Even those programmers that claim they never use them, actually use them quite frequently. Any apparent 'evil' come from misunderstanding and misinformation. So I have to agree this quote is quite poetic, but it demostrates profound misunderstanding and can only server to dissimulate misinformation. -ralph Ralph wrote:
> Variants are very useful creatures and like everything in the VB I agree that Variants have their place, and I do use them when I need what they offer.> menagerie can be abused if used "where they're not needed". While > there are perhaps some features of VB that one might call 'evil', a > Variant is not one of them. > > Variants are used inherently everywhere. Even those programmers that > claim they never use them, actually use them quite frequently. Any > apparent 'evil' come from misunderstanding and misinformation. But I could easily avoid them entirely and be one of those who claim never to use them, so by implication I am using them now without knowing it. I type all variables and I make deliberate use of the "$" verisions of Mid, Left, etc. Where might I be using Variants 'quite frequently'? I'm genuinely curious. > So I have to agree this quote is quite poetic, but it demostrates I suspect you mean disseminate. Unless you're dissimulating. :-)> profound misunderstanding and can only server to dissimulate > misinformation. -- Jim "Jim Mack" <jmack@mdxi.nospam.com> wrote in message I agree that Variants have their place, and I do use them when I need whatnews:C7udnfLou6rGXcrenZ2dnUVZ_s-dnZ2d@comcast.com... Ralph wrote: > Variants are very useful creatures and like everything in the VB > menagerie can be abused if used "where they're not needed". While > there are perhaps some features of VB that one might call 'evil', a > Variant is not one of them. > > Variants are used inherently everywhere. Even those programmers that > claim they never use them, actually use them quite frequently. Any > apparent 'evil' come from misunderstanding and misinformation. they offer. But I could easily avoid them entirely and be one of those who claim never to use them, so by implication I am using them now without knowing it. I type all variables and I make deliberate use of the "$" verisions of Mid, Left, etc. Where might I be using Variants 'quite frequently'? I'm genuinely curious. > So I have to agree this quote is quite poetic, but it demostrates I suspect you mean disseminate. Unless you're dissimulating. :-)> profound misunderstanding and can only server to dissimulate > misinformation. -- Jim Jim, Yes I did mean disseminate. I blame it on the spellchecker and my total lack of ability to spell without it. <g> The TextBox.Text 'value' is a Variant. So are almost all control properties. That's how you can get away with stuff like... TextBox.Text = 1 TextBox.Text = "abc" TextBox.Text = Now() ... without a 'datatype mismatch' error. When using DAO and ADO the 'values' in a recordset are Variants. Dim dtDate As Date: dtDate = !InvoiceDate Dim r8Date As Double: r8Date = !InvoiceDate Dim sDate As String: sDate = !InvoiceDate (However, blind assumptions in this case often lead to destruction. <g>) Most of the parameters to data access library calls themselves are variants. The same is true for all the optional parameters in common VB functions, eg MsgBox. More subtly in things like Format$ where the 'Format' parameter is a Variant and will take either an enum or a custom string. The list goes on. We assign and accept values from these items little knowing that we have come so close to the 'dark side'. <g> -ralph "Ralph" wrote -
=================>> The TextBox.Text 'value' is a Variant. So are almost all control properties. That's how you can get away with stuff like... TextBox.Text = 1 TextBox.Text = "abc" TextBox.Text = Now() ... without a 'datatype mismatch' error. <<================= I don't pretend to know the implementation of a VB TextBox (though I have always assumed it is at most a thin wrapper around a standard edit control, which does not have Variant properties), but it isn't necessary for .Text to be a Variant in order to get the results you show. All that's necessary is ETC, which is a compiler madness. In fact, TypeName(Text1.Text) will always show "String" regardless of the contents. In any case, I would sooner turn in my decoder ring than write anything like Text1.Text = 32. I always explicitly convert between types... by the time I assign something to Text1.Text, it is by damn a String. =================>> When using DAO and ADO the 'values' in a recordset are Variants. Dim dtDate As Date: dtDate = !InvoiceDate Dim r8Date As Double: r8Date = !InvoiceDate Dim sDate As String: sDate = !InvoiceDate (However, blind assumptions in this case often lead to destruction. <g>) Most of the parameters to data access library calls themselves are variants. The same is true for all the optional parameters in common VB functions, eg MsgBox. More subtly in things like Format$ where the 'Format' parameter is a Variant and will take either an enum or a custom string. <<================= Not having ever touched a database in anger, I accept your assertions there. However, I don't believe that _I'm_ using a Variant when I assign a typed value to a parameter that itself is a Variant. It may be that VB is using them, but in this matter I personally am pure <sniff>. -- Jim "Ralph" wrote ...
> The TextBox.Text 'value' is a Variant. Private Sub Form_Load()Debug.Print TypeName(Text1.Text) End Sub > So are almost all control properties. No, it's ETC that let's you get away with that! <g>> That's how you can get away with stuff like... > TextBox.Text = 1 > TextBox.Text = "abc" > TextBox.Text = Now() > ... > without a 'datatype mismatch' error.
Show quote
Hide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message Where and how ETC occurs, the result is suspiciously the same.news:%23Div07Z1FHA.3000@TK2MSFTNGP12.phx.gbl... > "Ralph" wrote ... > > The TextBox.Text 'value' is a Variant. > > Private Sub Form_Load() > Debug.Print TypeName(Text1.Text) > End Sub > > > So are almost all control properties. > > That's how you can get away with stuff like... > > TextBox.Text = 1 > > TextBox.Text = "abc" > > TextBox.Text = Now() > > ... > > without a 'datatype mismatch' error. > > No, it's ETC that let's you get away with that! <g> > -- > Working Without a .NET? > http://classicvb.org/petition > Don't you find it interesting that VB seems to 'know' when to coerce and when to holler foul? -ralph Ralph wrote:
>>> without a 'datatype mismatch' error. Not if you understand ETC and type purity. (Not meant to sound *quite* as derogatory>> >> No, it's ETC that let's you get away with that! <g> > > Where and how ETC occurs, the result is suspiciously the same. as that undoubtely does. <g>) > Don't you find it interesting that VB seems to 'know' when to coerce Not really. I've used/abused BASIC's coercion capabilities for nearly thirty years,> and when to holler foul? and the only time I started wanting to cry foul was during the VB4 beta when many of the long established rules where thrown out. Type mismatch used to actually mean something, afterall. <g> But, rules are rules, and they most definitely can be codified. Coercion is still 100% predictable, albeit different from the historical roots from whence it came.
Show quote
Hide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message when many ofnews:eGOGMQa1FHA.3720@TK2MSFTNGP14.phx.gbl... > Ralph wrote: > >>> without a 'datatype mismatch' error. > >> > >> No, it's ETC that let's you get away with that! <g> > > > > Where and how ETC occurs, the result is suspiciously the same. > > Not if you understand ETC and type purity. (Not meant to sound *quite* as derogatory > as that undoubtely does. <g>) > > > Don't you find it interesting that VB seems to 'know' when to coerce > > and when to holler foul? > > Not really. I've used/abused BASIC's coercion capabilities for nearly thirty years, > and the only time I started wanting to cry foul was during the VB4 beta > the long established rules where thrown out. Type mismatch used to I bow to your thirty years. <g>actually mean > something, afterall. <g> > > But, rules are rules, and they most definitely can be codified. Coercion is still > 100% predictable, albeit different from the historical roots from whence it came. > -- > Working Without a .NET? > http://classicvb.org/petition > I will not use TextBox.Text as an example of a Variant - only that it acts like one. -ralph Ralph wrote:
Show quoteHide quote > "Karl E. Peterson" <k***@mvps.org> wrote ... Ouch. <g>>> Ralph wrote: >>>>> without a 'datatype mismatch' error. >>>> >>>> No, it's ETC that let's you get away with that! <g> >>> >>> Where and how ETC occurs, the result is suspiciously the same. >> >> Not if you understand ETC and type purity. (Not meant to sound >> *quite* as derogatory as that undoubtely does. <g>) >> >>> Don't you find it interesting that VB seems to 'know' when to coerce >>> and when to holler foul? >> >> Not really. I've used/abused BASIC's coercion capabilities for >> nearly thirty years, and the only time I started wanting to cry foul >> was during the VB4 beta when many of the long established rules >> where thrown out. Type mismatch used to actually mean something, >> afterall. <g> >> >> But, rules are rules, and they most definitely can be codified. >> Coercion is still 100% predictable, albeit different from the >> historical roots from whence it came. > > I bow to your thirty years. <g> > I will not use TextBox.Text as an example of a Variant - only that it GRRRR! No, it _acts_ like a String! Tell me which line this blows on:> acts like one. Dim s As String s = 1 s = "123" s = Now() s = Array(1, "123", Now()) If it acted like a Variant, you could substitute Text1.Text for s above, without an error. More ETC fun 'n games: http://vb.mvps.org/articles/pt199511.pdf "Karl E. Peterson" <k***@mvps.org> wrote Private Sub Form_Load()> > The TextBox.Text 'value' is a Variant. > > Private Sub Form_Load() > Debug.Print TypeName(Text1.Text) > End Sub > Dim guess Debug.Print TypeName(Text1.Text) guess = "What does that show?" Debug.Print TypeName(guess) Set guess = Nothing Debug.Print TypeName(guess) guess = 0 Debug.Print TypeName(guess) End Sub What was the point of your example? LFS Larry Serflaten wrote:
Show quoteHide quote > "Karl E. Peterson" <k***@mvps.org> wrote I saw you stuff that rabbit in your hat! :-P>>> The TextBox.Text 'value' is a Variant. >> >> Private Sub Form_Load() >> Debug.Print TypeName(Text1.Text) >> End Sub >> > > Private Sub Form_Load() > Dim guess > > Debug.Print TypeName(Text1.Text) > > guess = "What does that show?" > > Debug.Print TypeName(guess) > Set guess = Nothing > Debug.Print TypeName(guess) > guess = 0 > Debug.Print TypeName(guess) > > End Sub > > > What was the point of your example? "Karl E. Peterson" <k***@mvps.org> wrote in message TypeName is a bit misleading with variants because it shows the underlyingnews:exGSb2b1FHA.2132@TK2MSFTNGP15.phx.gbl > Larry Serflaten wrote: >> "Karl E. Peterson" <k***@mvps.org> wrote >>>> The TextBox.Text 'value' is a Variant. >>> >>> Private Sub Form_Load() >>> Debug.Print TypeName(Text1.Text) >> What was the point of your example? > > I saw you stuff that rabbit in your hat! :-P type... the object browser shows this for the textbox: Property Text As String -- Reply to the group so all can participate VB.Net: "Fool me once..." Bob Butler wrote:
Show quoteHide quote > "Karl E. Peterson" <k***@mvps.org> wrote in message Yep. Plus, you can certainly demonstrate it by stuffing it with something ETC> news:exGSb2b1FHA.2132@TK2MSFTNGP15.phx.gbl >> Larry Serflaten wrote: >>> "Karl E. Peterson" <k***@mvps.org> wrote >>>>> The TextBox.Text 'value' is a Variant. >>>> >>>> Private Sub Form_Load() >>>> Debug.Print TypeName(Text1.Text) >>> What was the point of your example? >> >> I saw you stuff that rabbit in your hat! :-P > > TypeName is a bit misleading with variants because it shows the > underlying type... the object browser shows this for the textbox: > Property Text As String won't/can't coerce to a String. I pretty much agree there Ralph. Run-time typing, as opposed to compile-time
typing, isn't new, or VB-specific. There are many (and have been many) languages that only offer run-time typing, and I don't just mean scripting languages. I think VB programmers are spoilt by the array of tools available to them, and it really is a case of 'horses for courses'. My main gripe is the probably-historical tendency for Variants to be the default. Also, ETC is not directly related to run-time typing, and is just "evil". I would really like a compiler option to turn it off. How many lurking bugs would that find, eh? Tony Proctor Show quoteHide quote "Ralph" <nt_consultin***@yahoo.com> wrote in message news:koednf44f4b3TMreRVn-jA@arkansas.net... > > "Jim Mack" <jmack@mdxi.nospam.com> wrote in message > news:C7udnfLou6rGXcrenZ2dnUVZ_s-dnZ2d@comcast.com... > Ralph wrote: > > > Variants are very useful creatures and like everything in the VB > > menagerie can be abused if used "where they're not needed". While > > there are perhaps some features of VB that one might call 'evil', a > > Variant is not one of them. > > > > Variants are used inherently everywhere. Even those programmers that > > claim they never use them, actually use them quite frequently. Any > > apparent 'evil' come from misunderstanding and misinformation. > > > I agree that Variants have their place, and I do use them when I need what > they offer. > > But I could easily avoid them entirely and be one of those who claim never > to use them, so by implication I am using them now without knowing it. I > type all variables and I make deliberate use of the "$" verisions of Mid, > Left, etc. Where might I be using Variants 'quite frequently'? I'm > genuinely curious. > > > So I have to agree this quote is quite poetic, but it demostrates > > profound misunderstanding and can only server to dissimulate > > misinformation. > > I suspect you mean disseminate. Unless you're dissimulating. :-) > > -- > Jim > > > Jim, > > Yes I did mean disseminate. I blame it on the spellchecker and my total lack > of ability to spell without it. <g> > > The TextBox.Text 'value' is a Variant. So are almost all control properties. > That's how you can get away with stuff like... > TextBox.Text = 1 > TextBox.Text = "abc" > TextBox.Text = Now() > ... > without a 'datatype mismatch' error. > > When using DAO and ADO the 'values' in a recordset are Variants. > Dim dtDate As Date: dtDate = !InvoiceDate > Dim r8Date As Double: r8Date = !InvoiceDate > Dim sDate As String: sDate = !InvoiceDate > (However, blind assumptions in this case often lead to destruction. > <g>) > > Most of the parameters to data access library calls themselves are variants. > The same is true for all the optional parameters in common VB functions, eg > MsgBox. More subtly in things like Format$ where the 'Format' parameter is a > Variant and will take either an enum or a custom string. > > The list goes on. We assign and accept values from these items little > knowing that we have come so close to the 'dark side'. <g> > > -ralph > > > > On Tue, 25 Oct 2005 10:31:55 +0100, "Tony Proctor"
<tony_proctor@aimtechnology_NoMoreSPAM_.com> wrote: >I pretty much agree there Ralph. Run-time typing, as opposed to compile-time DefObj A-Z for a start>typing, isn't new, or VB-specific. There are many (and have been many) >languages that only offer run-time typing, and I don't just mean scripting >languages. I think VB programmers are spoilt by the array of tools available >to them, and it really is a case of 'horses for courses'. > >My main gripe is the probably-historical tendency for Variants to be the >default. Also, ETC is not directly related to run-time typing, and is just >"evil". I would really like a compiler option to turn it off. How many >lurking bugs would that find, eh? - and get a drone to click and punch keys The first time I saw such evil type coercion was in a later version of Clive Sinclair's offerings - interestingly to 'basic' was written by Psion This was the early 1980s My brother and I fell about laughing and vowed never to use such rubbish. The darnd'st thing is that it turned up in VB ... Variants are Deviants I tried that DefObj tip some time ago Jerry. It seems to spot some glitches
at compile time, but not all of them. Some are left as run-time failures which I'm less happy about. In the end, I wrote a parser to go through our 500k-line code base and look for implicit type declarations on all variables, arguments, functions, and properties. Works well but it's a manual action. If I had the sources to the VB IDE I could add the option myself in next to no time. I guess that's not going to happen though, eh? Tony Proctor Show quoteHide quote "J French" <erew***@nowhere.uk> wrote in message news:435e4042.110584707@news.btopenworld.com... > On Tue, 25 Oct 2005 10:31:55 +0100, "Tony Proctor" > <tony_proctor@aimtechnology_NoMoreSPAM_.com> wrote: > > >I pretty much agree there Ralph. Run-time typing, as opposed to compile-time > >typing, isn't new, or VB-specific. There are many (and have been many) > >languages that only offer run-time typing, and I don't just mean scripting > >languages. I think VB programmers are spoilt by the array of tools available > >to them, and it really is a case of 'horses for courses'. > > > >My main gripe is the probably-historical tendency for Variants to be the > >default. Also, ETC is not directly related to run-time typing, and is just > >"evil". I would really like a compiler option to turn it off. How many > >lurking bugs would that find, eh? > > DefObj A-Z for a start > - and get a drone to click and punch keys > > The first time I saw such evil type coercion was in a later version of > Clive Sinclair's offerings > - interestingly to 'basic' was written by Psion > > This was the early 1980s > > My brother and I fell about laughing and vowed never to use such > rubbish. > > The darnd'st thing is that it turned up in VB ... > > Variants are Deviants > > On Tue, 25 Oct 2005 16:43:09 +0100, "Tony Proctor"
<tony_proctor@aimtechnology_NoMoreSPAM_.com> wrote: >I tried that DefObj tip some time ago Jerry. It seems to spot some glitches Yes, I wrote one of those things back in the days of DOS, for MS>at compile time, but not all of them. Some are left as run-time failures >which I'm less happy about. In the end, I wrote a parser to go through our >500k-line code base and look for implicit type declarations on all >variables, arguments, functions, and properties. Works well but it's a >manual action. If I had the sources to the VB IDE I could add the option >myself in next to no time. I guess that's not going to happen though, eh? Business Basic V1.1 "Jim Mack" <jmack@mdxi.nospam.com> wrote But I could easily avoid them entirely and be one of those who claim never to use them, so by implication I am using them nowwithout knowing it. I type all variables and I make deliberate use of the "$" verisions of Mid, Left, etc. Where might I be using Variants 'quite frequently'? I'm genuinely curious. I'd presume he means, as you supposed, that VB is using Variants in its own implementation of several different functions. One place to start looking is at all the time functions (Now, Year, Hour, DateDiff, etc...) Another place might be all those object properties that 'conveniently' accept either a number or a string (Collection's Item, Textbox's Text, the Tag, Top, Left, Width and Height properties, etc...) LFS "Mike Williams" <M***@WhiskyAndCoke.com> wrote in message Virtually every part of the language has its uses (except Call--LET THE HOLY news:dj82bq$bre$1@newsg2.svr.pol.co.uk... > Sorry for this rather unnecessary message, but I just have to post this > extremely nice phrase, originally posted by Joe Strout on the RealBasic > newsgroup (I know he won't mind me doing so). It's almost like poetry :-) > > Variants are powerful but evil, a bit like the Dark Side of the > force. They're easier, quick to join you in a fight to hack out > something, but once you start down the dark path of using > Variants where they're not needed, forever will it consume > your destiny. WARS BEGIN!), so unilaterally declaring something "evil" is just plain dumb.
Show quote
Hide quote
"Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message CALL is a religous argument.... END is evil! <g> news:%23u25M1b1FHA.268@TK2MSFTNGP09.phx.gbl > "Mike Williams" <M***@WhiskyAndCoke.com> wrote in message > news:dj82bq$bre$1@newsg2.svr.pol.co.uk... > >> Sorry for this rather unnecessary message, but I just have to post >> this extremely nice phrase, originally posted by Joe Strout on the >> RealBasic newsgroup (I know he won't mind me doing so). It's almost >> like poetry :-) >> >> Variants are powerful but evil, a bit like the Dark Side of the >> force. They're easier, quick to join you in a fight to hack out >> something, but once you start down the dark path of using >> Variants where they're not needed, forever will it consume >> your destiny. > > Virtually every part of the language has its uses (except Call--LET > THE HOLY WARS BEGIN!), so unilaterally declaring something "evil" is > just plain dumb. -- Reply to the group so all can participate VB.Net: "Fool me once..." "Bob Butler" <tiredofit@nospam.com> wrote I guess I'll start rating people by how many spaces they use> > CALL is a religous argument.... END is evil! <g> > for indenting. I like space indentors, and don't like Tab indentors! "Indentors, indentors, indentors, indentors, indentors, indentors, indentors, indentors, indentors, indentors, indentors, indentors, indentors, indentors, indentors!" "Larry Serflaten" <serfla***@usinternet.com> wrote in message Bloody Vikings!news:%23qFxfGc1FHA.268@TK2MSFTNGP09.phx.gbl... >> CALL is a religous argument.... END is evil! <g> >> > > I guess I'll start rating people by how many spaces they use > for indenting. I like space indentors, and don't like Tab indentors! > > "Indentors, indentors, indentors, indentors, indentors, indentors, > indentors, indentors, indentors, indentors, indentors, > indentors, indentors, indentors, indentors!" (And I'm a 3-ist.)
Show quote
Hide quote
"Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message 3 leads to eternal damnation.news:eA0e%23ee1FHA.1168@TK2MSFTNGP10.phx.gbl... > > "Larry Serflaten" <serfla***@usinternet.com> wrote in message > news:%23qFxfGc1FHA.268@TK2MSFTNGP09.phx.gbl... > >>> CALL is a religous argument.... END is evil! <g> >>> >> >> I guess I'll start rating people by how many spaces they use >> for indenting. I like space indentors, and don't like Tab indentors! >> >> "Indentors, indentors, indentors, indentors, indentors, indentors, >> indentors, indentors, indentors, indentors, indentors, >> indentors, indentors, indentors, indentors!" > > Bloody Vikings! > > (And I'm a 3-ist.) 3? Begone! 4 is the righteous way! -- Dag.
Show quote
Hide quote
"Dag Sunde" <m*@dagsunde.com> wrote in message Wastefulness! INFIDEL!!news:aj06f.6954$qE.1464008@juliett.dax.net... >>>> CALL is a religous argument.... END is evil! <g> >>>> >>> >>> I guess I'll start rating people by how many spaces they use >>> for indenting. I like space indentors, and don't like Tab indentors! >>> >>> "Indentors, indentors, indentors, indentors, indentors, indentors, >>> indentors, indentors, indentors, indentors, indentors, >>> indentors, indentors, indentors, indentors!" >> >> Bloody Vikings! >> >> (And I'm a 3-ist.) > 3? > Begone! > 3 leads to eternal damnation. > 4 is the righteous way! "Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message <snipped/>news:uc%23McDk1FHA.980@TK2MSFTNGP14.phx.gbl... > > "Dag Sunde" <m*@dagsunde.com> wrote in message > news:aj06f.6954$qE.1464008@juliett.dax.net... > >>>> indentors, indentors, indentors, indentors!" LOL!>>> >>> Bloody Vikings! >>> >>> (And I'm a 3-ist.) >> 3? >> Begone! >> 3 leads to eternal damnation. >> 4 is the righteous way! > > Wastefulness! INFIDEL!! Its obvious its Friday today! Show quoteHide quote :-D -- Dag. "Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message I'm a 2-ist myself... being a 4 is hardly more wasteful than being a 3!news:uc%23McDk1FHA.980@TK2MSFTNGP14.phx.gbl >>> (And I'm a 3-ist.) >> 3? >> Begone! >> 3 leads to eternal damnation. >> 4 is the righteous way! > > Wastefulness! INFIDEL!! -- Reply to the group so all can participate VB.Net: "Fool me once..." > >>> (And I'm a 3-ist.) Hey, me too! 4 is too much (indented levels grow too quickly with> >> 3? > >> Begone! > >> 3 leads to eternal damnation. > >> 4 is the righteous way! > > > > Wastefulness! INFIDEL!! > > I'm a 2-ist myself... 4), 3 would be just right except that makes the statement blocks of an If-Then block line up with the first logical test in the If statement and we just can't have that now, can we (makes scanning code harder in my opinion)? So, I adopted 2-spaces as the most practical compromise. Rick
Show quote
Hide quote
"Rick Rothstein [MVP - Visual Basic]" wrote: Yep, 2 is "right"... :)> > > >>> (And I'm a 3-ist.) > > >> 3? > > >> Begone! > > >> 3 leads to eternal damnation. > > >> 4 is the righteous way! > > > > > > Wastefulness! INFIDEL!! > > > > I'm a 2-ist myself... > > Hey, me too! 4 is too much (indented levels grow too quickly with > 4), 3 would be just right except that makes the statement blocks > of an If-Then block line up with the first logical test in the If > statement and we just can't have that now, can we (makes scanning > code harder in my opinion)? So, I adopted 2-spaces as the most > practical compromise. "Duane Bozarth" <dpboza***@swko.dot.net> wrote in message Of course, I take it one small step further than anybody else I've seen andnews:4358FF9D.86F5C28E@swko.dot.net > "Rick Rothstein [MVP - Visual Basic]" wrote: >>> I'm a 2-ist myself... >> >> Hey, me too! 4 is too much (indented levels grow too quickly with >> 4), 3 would be just right except that makes the statement blocks >> of an If-Then block line up with the first logical test in the If >> statement and we just can't have that now, can we (makes scanning >> code harder in my opinion)? So, I adopted 2-spaces as the most >> practical compromise. > > Yep, 2 is "right"... :) omit the procedure-level indentation since I find it to be a total waste of space... where most would have Public Sub MySub() Dim s as string ' do whatever If somettest Then ' next level End If End Sub My code would have Public Sub MySub() Dim s As String ' do whatever If sometest Then ' next level End If End Sub -- Reply to the group so all can participate VB.Net: "Fool me once..."
Show quote
Hide quote
"Bob Butler" <tiredofit@nospam.com> wrote in message Then, someone like me comes along with something like CodeSMART, hits their news:ukYcUEl1FHA.464@TK2MSFTNGP15.phx.gbl... > > Of course, I take it one small step further than anybody else I've seen > and > omit the procedure-level indentation since I find it to be a total waste > of > space... > > where most would have > Public Sub MySub() > Dim s as string > ' do whatever > If somettest Then > ' next level > End If > End Sub > > My code would have > Public Sub MySub() > Dim s As String > ' do whatever > If sometest Then > ' next level > End If > End Sub > code formatter button and makes it look like the first example <g>... except 3 spaces instead of 2 ;-)... I like indenting the entire proc 1 level. Makes (the rare) source code print-outs easier to read, find procs, etc. Also, if you're using the "Full Module View", it makes it easier to find procs.... even if the proc dividers are turned off. -- Ken Halter - MS-MVP-VB - http://www.vbsight.com DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm Please keep all discussions in the groups.. "Ken Halter" <Ken_Halter@Use_Sparingly_Hotmail.com> wrote in message Don't remember the last tiem I printed source code...news:ukmbAJl1FHA.1568@TK2MSFTNGP10.phx.gbl > Then, someone like me comes along with something like CodeSMART, hits > their code formatter button and makes it look like the first example > <g>... except 3 spaces instead of 2 ;-)... I like indenting the > entire proc 1 level. Makes (the rare) source code print-outs easier > to read, find procs, etc. Also, if you're using the "Full Module I always have the proc dividers on so they are very easy to see> View", it makes it easier to find procs.... even if the proc dividers > are turned off. -- Reply to the group so all can participate VB.Net: "Fool me once..."
Show quote
Hide quote
"Bob Butler" <tiredofit@nospam.com> wrote in message Arrrrgggghhhhhh!news:ukYcUEl1FHA.464@TK2MSFTNGP15.phx.gbl... > "Duane Bozarth" <dpboza***@swko.dot.net> wrote in message > news:4358FF9D.86F5C28E@swko.dot.net > > "Rick Rothstein [MVP - Visual Basic]" wrote: > >>> I'm a 2-ist myself... > >> > >> Hey, me too! 4 is too much (indented levels grow too quickly with > >> 4), 3 would be just right except that makes the statement blocks > >> of an If-Then block line up with the first logical test in the If > >> statement and we just can't have that now, can we (makes scanning > >> code harder in my opinion)? So, I adopted 2-spaces as the most > >> practical compromise. > > > > Yep, 2 is "right"... :) > > Of course, I take it one small step further than anybody else I've seen and > omit the procedure-level indentation since I find it to be a total waste of > space... > > where most would have > Public Sub MySub() > Dim s as string > ' do whatever > If somettest Then > ' next level > End If > End Sub > > My code would have > Public Sub MySub() > Dim s As String > ' do whatever > If sometest Then > ' next level > End If > End Sub > > I always thought Code Formatters a waste of time until I followed one of your ilk. At which point I immediately found one. I still have nightmares. Why not use the colon operator and skip white space all together? <g> -ralph "Ralph" <nt_consultin***@yahoo.com> wrote in message LOLnews:SsmdnZahrLNrkcTeRVn-1Q@arkansas.net > Arrrrgggghhhhhh! > > I always thought Code Formatters a waste of time until I followed one > of your ilk. At which point I immediately found one. I still have > nightmares. > > Why not use the colon operator and skip white space all together? Whitespace is very valuable to readability... *except* for that procedure-level initial indentation which contributes absolutley nothing so it goes! -- Reply to the group so all can participate VB.Net: "Fool me once..."
Show quote
Hide quote
"Bob Butler" <tiredofit@nospam.com> wrote in message I can certainly see your point, but some things are just too ingrained. (Inews:OIy2Ayl1FHA.1568@TK2MSFTNGP10.phx.gbl... > "Ralph" <nt_consultin***@yahoo.com> wrote in message > news:SsmdnZahrLNrkcTeRVn-1Q@arkansas.net > > Arrrrgggghhhhhh! > > > > I always thought Code Formatters a waste of time until I followed one > > of your ilk. At which point I immediately found one. I still have > > nightmares. > > > > Why not use the colon operator and skip white space all together? > > LOL > > Whitespace is very valuable to readability... *except* for that > procedure-level initial indentation which contributes absolutley nothing so > it goes! > > -- say ingrained rather than habit, as you can break a habit. Heredity is Forever.) I still have trouble typing over ~80 characters on one line, although like you I haven't printed out source code in years and haven't used an 80-character edior or less than a 14inch monitor for at least as long. As you can imagine dotNet is 'killing' me. <g> -ralph
Show quote
Hide quote
"Duane Bozarth" <dpboza***@swko.dot.net> wrote in message Nah - got to be 4. Wang VS Cobol, see...news:4358FF9D.86F5C28E@swko.dot.net... > "Rick Rothstein [MVP - Visual Basic]" wrote: > > > > > >>> (And I'm a 3-ist.) > > > >> 3? > > > >> Begone! > > > >> 3 leads to eternal damnation. > > > >> 4 is the righteous way! > > > > > > > > Wastefulness! INFIDEL!! > > > > > > I'm a 2-ist myself... > > > > Hey, me too! 4 is too much (indented levels grow too quickly with > > 4), 3 would be just right except that makes the statement blocks > > of an If-Then block line up with the first logical test in the If > > statement and we just can't have that now, can we (makes scanning > > code harder in my opinion)? So, I adopted 2-spaces as the most > > practical compromise. > > Yep, 2 is "right"... :)
Show quote
Hide quote
"Tony Spratt" <tony_spr***@hotmail.com> wrote in message There! See?news:uEfXMFl1FHA.3756@tk2msftngp13.phx.gbl... > > "Duane Bozarth" <dpboza***@swko.dot.net> wrote in message > news:4358FF9D.86F5C28E@swko.dot.net... >> "Rick Rothstein [MVP - Visual Basic]" wrote: >> > >> > > >>> (And I'm a 3-ist.) >> > > >> 3? >> > > >> Begone! >> > > >> 3 leads to eternal damnation. >> > > >> 4 is the righteous way! >> > > > >> > > > Wastefulness! INFIDEL!! >> > > >> > > I'm a 2-ist myself... >> > >> > Hey, me too! 4 is too much (indented levels grow too quickly with >> > 4), 3 would be just right except that makes the statement blocks >> > of an If-Then block line up with the first logical test in the If >> > statement and we just can't have that now, can we (makes scanning >> > code harder in my opinion)? So, I adopted 2-spaces as the most >> > practical compromise. >> >> Yep, 2 is "right"... :) > > Nah - got to be 4. Wang VS Cobol, see... > If its good enough for Cobol... 4 it is! -- Dag. "Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message Did you wet the bed this morning Jeff, or has something else annoyed you tonews:%23u25M1b1FHA.268@TK2MSFTNGP09.phx.gbl... > Virtually every part of the language has its uses (except > Call--LET THE HOLY WARS BEGIN!), so unilaterally > declaring something "evil" is just plain dumb. make you so grumpy? It was a "tongue in cheek" thing. Which bit of the phrase "using Variants when they're not needed" did you not understand? Mike "Jeff Johnson [MVP: VB]" <i.get@enough.spam> wrote in message By the way, even though my original post was intended as a "tongue in cheek"news:%23u25M1b1FHA.268@TK2MSFTNGP09.phx.gbl... > unilaterally declaring something "evil" is just plain dumb. remark, I would still say that even though there might well be the occasional time when it is okay to use a Variant, you should not use them unless it is absolutely necessary. They really do slow down your code (especially if you are doing any number crunching). For example: guess = 1 guess = guess + .1 The above code runs about ten or twenty times faster if guess is a Single than it does if guess is a Variant. Mike On Thu, 20 Oct 2005 17:29:04 -0400, "Jeff Johnson [MVP: VB]"
<i.get@enough.spam> wrote: > Funnily i agree, yet void* used to be my best friend. >"Mike Williams" <M***@WhiskyAndCoke.com> wrote in message >news:dj82bq$bre$1@newsg2.svr.pol.co.uk... > >> Sorry for this rather unnecessary message, but I just have to post this >> extremely nice phrase, originally posted by Joe Strout on the RealBasic >> newsgroup (I know he won't mind me doing so). It's almost like poetry :-) >> >> Variants are powerful but evil, a bit like the Dark Side of the >> force. They're easier, quick to join you in a fight to hack out >> something, but once you start down the dark path of using >> Variants where they're not needed, forever will it consume >> your destiny. > >Virtually every part of the language has its uses (except Call--LET THE HOLY Come on, now you're just Bush bashing, right ? :)>WARS BEGIN!), so unilaterally declaring something "evil" is just plain dumb. > -- Regards, Frank "Mike Williams" <M***@WhiskyAndCoke.com> wrote in message Amen...news:dj82bq$bre$1@newsg2.svr.pol.co.uk... > Hi all > > Sorry for this rather unnecessary message, but I just have to post this > extremely nice phrase, originally posted by Joe Strout on the RealBasic > newsgroup (I know he won't mind me doing so). It's almost like poetry :-) > > Variants are powerful but evil, a bit like the Dark Side of the > force. They're easier, quick to join you in a fight to hack out > something, but once you start down the dark path of using > Variants where they're not needed, forever will it consume > your destiny. Brilliant! :-D -- Dag.
CommandButton!
Using shell command to map drive can't get redirect result to file INSERT INTO Modal form stops code in another form SCC API implementation Object variable or With block variable not set how to split numeric part from letters in string Shrink Wrap Printing Blank lines for Top margin Comparing UDTs |
|||||||||||||||||||||||