|
1. The lounge is for the CodeProject community to discuss things of interest to the community, and as a place for the whole community to participate. It is, first and foremost, a respectful meeting and discussion area for those wishing to discuss the life of a Software developer.
The #1 rule is: Be respectful of others, of the site, and of the community as a whole.
2. Technical discussions are welcome, but if you need specific programming question answered please use Quick Answers[^], or to discussion your programming problem in depth use the programming forums[^]. We encourage technical discussion, but this is a general discussion forum, not a programming Q&A forum. Posts will be moved or deleted if they fit better elsewhere.
3. No sys-admin, networking, "how do I setup XYZ" questions. For those use the SysAdmin[^] or Hardware and Devices[^] forums.
4. No politics (including enviro-politics[^]), no sex, no religion. This is a community for software development. There are plenty of other sites that are far more appropriate for these discussions.
5. Nothing Not Safe For Work, nothing you would not want your wife/husband, your girlfriend/boyfriend, your mother or your kid sister seeing on your screen.
6. Any personal attacks, any spam, any advertising, any trolling, or any abuse of the rules will result in your account being removed.
7. Not everyone's first language is English. Be understanding.
Please respect the community and respect each other. We are of many cultures so remember that. Don't assume others understand you are joking, don't belittle anyone for taking offense or being thin skinned.
We are a community for software developers. Leave the egos at the door.
cheers,
Chris Maunder
The Code Project | Co-founder
Microsoft C++ MVP
modified 16-Sep-19 9:31am.
|
|
|
|
|
"Having login problems? Chat with us!"
[Log in to your account to start a chat]
I won't name names.
cheers
Chris Maunder
|
|
|
|
|
I use a number of websites like that - my mobile phone company site for example is so poor I changed my username to "IHateThisCr*p".
My bank (otherwise excellent) whose fraud detection department ring you up and refuse to prove they are my bank, but do want me to prove I am who they called.
Oh, and a large company I won't name whose "forgotten password" system ... needed you to log in to reset it ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
so frequently I find myself doing a proof of concept very short code that I am going to flush out later. Sometimes I even flush it. Pun intended.
Anyway I frequently use variables like the following.
astr - it is A String
Temp table
#ewww - because the data in the table is stinky at best.
and so forth. I always promise myself to clean it up before I actually use it anywhere. Sometimes I even do.
Does anyone else do this?
To err is human to really elephant it up you need a computer
|
|
|
|
|
rnbergren wrote: Does anyone else do this?
Nope.
rnbergren wrote: Sometimes I even do.
Because "sometimes" is "usually never."
|
|
|
|
|
Well said!
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I'm with Marc: never.
Why not? Because you will not find the time to go back and correct it - it will be permanent. That's why I "do it right" even for throwaway apps: parameterized queries, proper names, no default control names from Visual Studio, and so forth.
Do it right all the time, and you don't get into bad habits which enter production cycle.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Nope - I write all code as if it is "production" code with proper naming, etc.
One reason is to not have two styles of coding or naming conventions; it's just easier!
- I would love to change the world, but they won’t give me the source code.
|
|
|
|
|
Never. Either write code properly, or don't write it at all.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
"We are what we repeatedly do. Excellence, then, is not an act, but a habit." - Aristotle
So no, I've made doing it "right" a habit and would not even think about naming something "astr" or "ewww"
|
|
|
|
|
I learned a long time ago that the temp code I'm planning on ditch often becomes the bedrock on which my applications teeter.
cheers
Chris Maunder
|
|
|
|
|
I lived there[^] - or as I call it, my Eleven Year Sentence.
All those jokes - like what has 500 legs and 12 teeth? Two Hundred Fifty West Virginians - well, they're true. "Deliverance", light. Hunting, Guns, Canning - that's pretty much it.
And, from my own observations: If someone ever tells you to "stick something where the sun don't shine" - just ship it to WV.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
IMHO, a post like this has no place in the Lounge. It serves no constructive purpose at all.
|
|
|
|
|
Slacker007 wrote: It serves no constructive purpose at all SO ?For that matter, as an ironic note, you reply servers no constructive purpose, either.
Perhaps,
IF in your vast experiences, you can add your views of your time spent there?
ELSE, that old saying can well be said: "Physician, heal thyself!"
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Sometimes, I think you miss the Soapbox so much, that you poop on the floor here just to see who complains about the smell.
|
|
|
|
|
|
It's almost always me that complains. I am probably his only audience member. 
|
|
|
|
|
I never say anything But Slacker I think you are correct.
To err is human to really elephant it up you need a computer
|
|
|
|
|
Or, perhaps to catch flies? Perhaps this will make you happy ? 💩 Now - settle down & relax!.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Slacker007 wrote: IMHO, a post like this has no place in the Lounge. It serves no constructive purpose at all.
And posts in the lounge usually are?
Well, I certainly found it interesting, and it certainly applies to people who work in this field as many of us can (and currently are) working remotely, so not really sure what you're upset about.
|
|
|
|
|
W∴ Balboos, GHB wrote: West Virginia Never been there but I'll bet it is beautiful. If I hadn't of just bought a new home recently I might consider their offer.
|
|
|
|
|
Things could have changed since my escape, - but beautiful scenery? You might be driving on a road (no shoulders, by the way, but literally ditches and they can be big). Well, you see some trees, but if you stop moving and look through them you may see a strip-mine behind it.
As far as awesome forest beauty goes, upstate NY, or Vermont, or New Hampshire, or, well, a ton of places have similar but really beautiful landscape. Lot's of hils - bicycler's nightmare. I lived on a 30 degree grade (yes, 30 degrees).
Now state law says strip mine lands must be reclaimed when the mine is closed - so what they do is park a vehicle in this HUGE gouge in the earth and say they're still working it. Meanwhile, the underground mines have rules, too, about ceiling support to prevent subsidence (i.e., a sudden giant sinkhole). But only the miners are down there to know what's done and they know who signs their check.
State laws:
You have no mineral rights to your land - that means someone could be mining under you that bought those rights.
You can not sue for damage due to subsidence. Basically, tough sh*t.
That's because two things rule this state: coal mining and hunting. In the case of the latter, I lived right next to what (no longer is) forest land. The only squirrels I saw were in the form of strings of tails on car arials (they had those back then, in the 90's). Interfere with a hunter and you'll go to jail. Hunter trespasses on your land? Maybe a slap on the wrist. You county may also shut it's schools for dear hunting season.
All this, mind you, and I lived in a university town (WVU) with a grad school, med school, etc.). An early mentor, when I first moved there, was shot at for driving in the country side.
Low crime, too: a woman found dead in front of her trailer. Gunshot wound to the head. No guns nearby. Not ruled a homicide - hence, no crime. And you remember Zimmerman, in Florida, murdering that kid using the "stand your ground" laws? Well there was a garage mechanic in town (Morgantown) with three "notches on his gun". It goes on and on.
Something I figured out quite some time ago - places with cheap housing? Maybe it's because no one wants to live there !
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
Wow that's outrageous
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Read the other reply to your post so I suppose mileage will vary.
I drove through there with my wife on our honeymoon, and the part we went though was very beautiful indeed. But that was kind of the point with the trip.
Anyway, we were in the Smokey Mountains on the fourth of July, and I have to admit that we could check quite a few boxes on our prejudice list.
|
|
|
|
|
If you buy a simian, does it come with a monkey-back guarantee?
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|