The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
That stated, if you're mixing types on the "multi-declarations", it's time split them out.
They are clearly separated by lines, if they were in the same line, then I would agree with you. As I said in my reply, it resembles a lot C++ declaration like:
The underscore even act as C++ semi-colon. It doesn't hurt readability as you can clearly see the types at the end of each line. I don't see any confusion, except that someone may be in doubt if the attribute applies only to the first variable or all of them.
To alcohol! The cause of, and solution to, all of life's problems - Homer Simpson
---- Our heads are round so our thoughts can change direction - Francis Picabia
If you have 35 or 40 of these grouped into one segment, they're going to flow off the screen.
If you want to mark just one of them as "public", do you copy/paste this to some other part of the file entirely?
How does this affect the attributes? Remember, after you copy/paste the private variable to the public section, the original attributes are on a completely different screen. And you're not instinctively moving the attribute along with the variable.
I don't see any confusion, except that someone may be in doubt if the attribute applies only to the first variable or all of them.
That's still confusion. And it's not really useful or purposeful confusion. You save a small number of characters and compile to the exact same IL code (hopefully) while introducing uncertainty for developers.
I write generics
my classes are never more then 300 lines of code
and if I need more then 4 or so data members I am doing something wrong
Also I would never declare a member of a class public, I use properties to expose members.
The only reason these are grouped together is so I do not have to write the serialization tag out for each, its cheating a bit.
The comment above the code in a must inherit class
Authorization data members:
If Clearance Is Required the user attempting to change the value will have their clearance level validated against the clearance required.
Collects who and when this class was last updated by - for data merging such as offline files.
How about contacting the company at: email@example.com
And asking them to send you the App ?
good luck, Bill
“I speak in a poem of the ancient food of heroes: humiliation, unhappiness, discord. Those things are given to us to transform, so that we may make from the miserable circumstances of our lives things that are eternal, or aspire to be so.” Jorge Luis Borges
Wildlife has always fascinated me. As much as I enjoy learning about them, I am also a strong advocate of not tampering with their lifestyle like in zoo and other parks around the World.
I am not sure if anyone saw it, but there is a video floating around that shows 15 Chinese people electrocuting tiger to show off their wealth. Now that is something which deserves capital punishment. Reading through news and watching videos around it, I also stumbled upon a zoo or a circus clip from China again where two men were seen physically abusing a tiger. I wish they face same treatment before they too are handed over capital punishment.
Call me inhumane or whatever but I do feel some acts totally deserve capital punishment.
I believe they ought to have the right to abuse a tiger.
You managed to piss me off a little with this. But then I read the rest.
Sad thing is, that animals mostly do not attack even if they have a chance. Fear of life is still in a very primitive stage in them and they tend to succumb. You might feel a tiger would fight back if free but that is not entirely true. They prefer avoiding.
I hear you have a military background, do you mind killing idiots like these?