|
My entire company is based around dealing with behavior's of errors. When nothing is done for an error it was meant to be that way
|
|
|
|
|
Is english your first language?
|
|
|
|
|
|
I would make sure you have your flame proof pants on..
Every day, thousands of innocent plants are killed by vegetarians.
Help end the violence EAT BACON
|
|
|
|
|
Colborne_Greg wrote: that no other language can do
Pretty bold statement, given it's followed by a code block that could easily be converted to C#.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
|
As well there shouldn't be. C# doesn't need it.
You'll never get very far if all you do is follow instructions.
|
|
|
|
|
Considering the missing connection between me knowing C# can get away without using the with word, proves its problems.
The with keyword gets the coder in a mindset.
|
|
|
|
|
That may be part of the problem...
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
What problem?
People with less skill are more focused on getting the job done, then writing cool useless code.
|
|
|
|
|
The problem is that "people with less skill" assume that a "ooh shiny" language feature is cool at all.
With is a PITA - it doesn't improve readability, it obfuscates it slightly and just makes it slightly shorter to type.
Those who fail to learn history are doomed to repeat it. --- George Santayana (December 16, 1863 – September 26, 1952)
Those who fail to clear history are doomed to explain it. --- OriginalGriff (February 24, 1959 – ∞)
|
|
|
|
|
My employee cost vs performance says otherwise
|
|
|
|
|
Really? You have accurate data comparing those using 'with blocks' to those without? Those with C experience to those without? Those who know what a stack frame is compared to those who barely understand what a stack data structure is?
Calls inside a 'with block' can either be accessing properties or local variables and it isn't immediately obvious which it is. You have to look up the page to see.
Also, you're suppressing exceptions, which, if you're talking about cost of development, means your debugging cycle is a lot more intense because it doesn't blow up when something goes wrong.
|
|
|
|
|
The entire difference between C# and VB are involved in that factoring, suppressing exceptions is not an acceptable thing for my employee's to do, suppressing exceptions happens by my efficiency team; who decided that at this moment didn't need to know the error.
In visual basic with block
With CameraControl.LastKnownTaken
DateTakenBlock.Text = .DateTaken
FileNameBlock.Text = .FileName
LatitudeBlock.Text = .Latitude
LongitudeBlock.Text = .Longitude
End With
notice the period, if you cant figure out that the words with a period before them belong to the with block I wouldn't hire you
|
|
|
|
|
Let's get one thing straight, I'm the guy that does the hiring these days. I wouldn't hire you -- someone who so vehemently defends unmaintainable crap and touts it as a feature.
|
|
|
|
|
|
Great. Hopefully the people you're hiring for your companies are on the same page with you. Personally, I disagree, and wouldn't hire someone who agreed with you on this particular subject because it likely means they think a lot of other things that I don't agree with. Have a nice day.
|
|
|
|
|
I wrote Unidex, its competes with SQL, its about to be released as it was just finished.
It allows for pictures, video and songs to be placed in a record - the actual data not the file name...
It also can index 200 GB of memory, create 8 million records an hour, have records in the same table with different number of columns, records can have columns unique to its record.
In fact Unidex does all the hard work that pretty much I need to stay away from anyone that thinks they know computers.
|
|
|
|
|
And? I'll bet you'd be extremely disruptive at planning meetings. You can have it your way if you want. I just wouldn't have you in my company. And, you say it competes with SQL, meaning 'it attempts to go after the same market.' Which is well and good, but that doesn't mean anything, because I haven't heard of it, and probably most other people who use SQL haven't either. I wrote a database server, and query language for it too, and sold it commercially. That doesn't make me any more of an expert than someone who hasn't. Nor does it make you. It just means you know what an index is, the appropriate data structures for using it, etc. Congratulations. You're still wrong
|
|
|
|
|
Just remember that once you hear of us.
|
|
|
|
|
I sincerely wish you all the best. I just think you're still wrong about VB.
|
|
|
|
|
What that it needs more credit?
There are practically no differences between the two, and opinions for and against it being a better language then others suggest that I am right.
|
|
|
|
|
My dislike of with (also in Pascal I think) is that the only place I would have liked to use it, it won't work...
If I have two things (not necessarily the same type), and I want to copy a number of values (not necessarily all the values) between them:
thing1.fieldM = thing2.fieldP ;
thing1.fieldD = thing2.fieldQ ;
...
I want a with that will allow me to do something like:
with ( thing1 , thing2 )
{
fieldM = fieldP ;
fieldD = fieldQ ;
...
}
That would be usefull. As it stands, with is pointless (in my opinion) so I have never used it.
However, one could use something like:
{
var src = thing1 ;
var dst = thing2 ;
dst.fieldM = src.fieldP ;
dst.fieldD = src.fieldQ ;
...
}
which is almost a good. :shrug:
You'll never get very far if all you do is follow instructions.
modified 10-Jun-14 12:54pm.
|
|
|
|
|
I would not hire you sorry.
The reason you can not use the with operator in such a fashion is scope
|
|
|
|
|
This is hilarious. This guy is straight out of dailywtf.
|
|
|
|