|
I have to disagree with you on this.
Is it the developer's fault that the company behind the worlds most hated browser constantly ignored standards as set by committees so that they could further their proprietary "take on things" in order to further their bottom line in making the internet their own?
The company behind the worlds most hated browser has caused so much hardship for web developers that the kilowatt hours used in electricity to make things work in that thing they call a browser has probably directly attributed to global warming.
*?!k IE.
|
|
|
|
|
23741 wrote: Is it the developer's fault that the company behind the worlds most hated browser...
Yes.
Or at least "Yes if he didn't test against it, knowing full well that it doesn't work the same".
This is the real world: we have to accept that there are good, bad, and indifferent browsers out there and that users will use what they feel comfortable with. Our job is to make the user happy and productive, not to ignore the real world cases and do what is easy for us!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
23741 wrote: Is it the developer's fault that the company behind the worlds most hated browser constantly ignored standards No, it's not the fault of the website developer, but, I think there are too many examples of well designed sites out there that work in whatever browser I use to make that assessment. Code Project is a good example. There are others like Amazon, Google, Musicians Friend, Heck even Apple works well regardless of the browser I use.
Yes, I agree that it takes more time (expense) to do this. And I agree the M$ needs to improve IE or Edge or whatever they are calling it this week. The the hard fact is, there are many many people who don't use the "better" browsers. Aunt Mabel with her $125.00 laptop just wants to buy the Beanie Baby of the week, not bother with poorly designed websites, she'll go where she can spend her money. Without needing to bother with which browser she needs to use.
It was broke, so I fixed it.
|
|
|
|
|
No.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
|
You have to start to build your own - fixed - library of extension methods...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Yup.
Phones getting bigger, having to press a button to see the time on your watch, having to write your own extensions...
The seventies are back, for certain.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Ecclesiastes 1, 9: That which hath been is that which shall be, and that which hath been done is that which shall be done; and there is nothing new under the sun.
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Is there a chapter and verse that gives a get-out from wearing flares and an afro?
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Maybe...
Deuteronomy 22, 5: A woman shall not wear that which pertaineth unto a man, neither shall a man put on a woman's garment...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
That's close enough for me!
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Quote: The seventies are back, for certain. Except for the music! There is no music anymore!
Get me coffee and no one gets hurt!
|
|
|
|
|
Oh, there is, but the definition of the word "music" has changed to be something to do with money for nothing.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Quote: the definition of the word "music" has changed to be something to do with money for nothing You nailed it! In a few words you nailed it! Modern music is nothing and worth nothing!
Now: How are we going to convince poor souls like Sander that this is true?
Get me coffee and no one gets hurt!
|
|
|
|
|
I'd suggest a 22oz Estwing and a bunch of four-inch nails.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
Mark_Wallace wrote: money for nothing
And chicks for free.
|
|
|
|
|
We've got to install microwave ovens!
GCS d--- s-/++ a- C++++ U+++ P- L- E-- W++ N++ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t++ 5? X R++ tv-- b+ DI+++ D++ G e++>+++ h--- ++>+++ y+++* Weapons extension: ma- k++ F+2 X
If you think 'goto' is evil, try writing an Assembly program without JMP. -- TNCaver
When I was six, there were no ones and zeroes - only zeroes. And not all of them worked. -- Ravi Bhavnani
|
|
|
|
|
I found music. I raided my parents Vinyl collection.
Love that warm crackly sound of old LP records.
|
|
|
|
|
RyanDev wrote: Errors if you give it a length that is longer than the string.
As one would jolly well hope it did. I don't see why MS should take stick for your faulty programming logic.
I am not a number. I am a ... no, wait!
|
|
|
|
|
9082365 wrote: As one would jolly well hope it did No way. VB's LEFT function truncated it for you, which is of course what I would want it to do. Oh, so easy.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Well, he did mention VB. Which teaches everyone bad habits.
|
|
|
|
|
Since when is increasing programmer/developer (Whatever the term hipsters are using these days...) "teaching bad habits" ?
|
|
|
|
|
For one, VB teaches its users to take shortcuts.
Like leaving words out of your sentences, and then taking for granted that others will understand what you meant just by context.
|
|
|
|
|
Well it seems to me that documenting your code resolves that issue. AND it is easier and quicker to do, and still more productive.
Bad programmers will always "take shortcuts". Do not blame that on VB, or any other language, for that matter.
The language, any language, doesn't "teach" anything, to a programmer. If you shoot yourself in the foot with a handgun (after completing the required safety training), is it the gun's fault?
VB's problem is that it is not "Hip" anymore. Go listen to Billy Joel's "Still Rock and Roll". It is universally applicable.
What's the matter with the clothes I'm wearing?
"Can't you tell that your tie's too wide?"
Maybe I should buy some old tab collars?
"Welcome back to the age of jive.
|
|
|
|
|
Here you go:
public static string Left(this string theString, int length)
{
int sz = length > theString.Length + 1 ? theString.Length:length;
return theString.Substring(0, sz);
}
|
|
|
|