|
I'd be interested in the code. unminified. the whole point of the minification, other than making the file smaller, is so it isn't modified. I immediately know when i wind up in source i'm not supposed to touch.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
string result = something ? variable.GetString() : null;
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
How could I have missed that!
Not only have I missed it, it gets my approval as well
|
|
|
|
|
Sander Rossel wrote: How could I have missed that! Lack of or lack of ?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
I don't drink either
Maybe a lack of tea or syrup?
Or maybe I'm just generally lacking?
|
|
|
|
|
> This might be why i don't work in software anymore
Correction - this is why I don't work with other so-called developers anymore.
Sadly the reality is that I do have to work with other developers, I just limit my contact.
|
|
|
|
|
Marc Clifton wrote: Sadly the reality is that I do have to work with other developers
That's most people's. Even telecommuting wasn't enough though. The last gig i worked for, the one developer they had basically wrote his own jquery and he was doing php where he should have been using SQL - and the boss expected to be able to bring other devs on and have them just be up to speed on this arcane mess he had developed.
And I respected him professionally as a developer. He is talented when it comes to front end stuff and with some coaching could do back end pretty easily. He picked up SQL once i showed him, and his pages from then on used it.
But my life would have been easier if i had been starting without him and his tools.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Yeah, them PHP database servers are the worst
modified 20-Oct-19 21:02pm.
|
|
|
|
|
What I mean is he was for example, joining data he'd get from two separate SQL "select * from table" queries using a for loop in PHP.
so yeah in effect, using the webserver to do the database server's job.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
No way! Did he query JSON repositories of data with PHP?
modified 20-Oct-19 21:02pm.
|
|
|
|
|
Yep. QA is fun like that. The best ones are when they want to open a document and don't know why it fails in production because Office isn't installed on the server a thousand miles away ...
It's hard sometimes to keep calm and polite when you just want to smash them over the head with a ClueBat until they stop bleeding.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
i prefer my trusty clue-by-four but i hear you.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
In fairness, they could be new to web development. It's a different animal than Windows Forms.
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
ZurdoDev wrote: In fairness, they could be new to web development. It's a different animal than Windows Forms.
WinForms doesn't do enough of a good job insulating you from the underlying technology to NOT know this wouldn't work when transitioning to web development.
Does it? I learned Windows programming from Petzold.
|
|
|
|
|
dandy72 wrote: I learned Windows programming from Petzold.
Good 'ol Chuck =) You could have learned from far worse.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
honey the codewitch wrote: You could have learned from far worse.
Ain't that the truth. At least nobody could ever accuse Petzold of trying to steer anyone[*] towards VB.
[*] and if he did, then they deserved that career move.
|
|
|
|
|
i mean, it's not even a programming problem.
maybe i was always weird for being able to understand that servers are separate machines than my dev machine.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
When I first started doing web development I had a page that did a lot of processing. I added in lblStatus.Text = "Some message" after the various parts so you could see what was happening. It took a few minutes for me to realize why it wasn't working.
Of course I was self taught and was going from WinForms to WebForms/ASP.
But I agree, developers need to know how the underlying technology works (to a certain extent).
Social Media - A platform that makes it easier for the crazies to find each other.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
i mean, yeah that's a beginner error but you figured it out and it didn't mean you had confusion about client and server location so much as you were (temporarily) confused about ASP/ASP.NET context switching and how it worked, it sounds like,
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Seems to be quite a common mistake with people who are new to ASP.NET, particularly with WebForms.
Along with using MessageBox.Show / MsgBox to display a prompt to the user; trying to open uploaded files using the file path passed from the client; and trying to send files to the client by saving them in a particular path on the server.
Visual Studio doesn't help much. When you debug the code, it's running as an interactive process on the same machine, with the same file system, so it makes them think they're doing the right thing.
Sometimes I think it needs a "n00b" mode. Every attempt to show UI should fail with an exception explaining the problem. Every Process.Start should run on a separate empty desktop, with huge messages telling them that it's running on the server, not on the client. Every attempt to access files outside of the application (which haven't been explicitly configured) should fail with a "file not found" error.
But then I look at QA, and realise that at least half of developers never read the error messages.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
There is no patch for human foolishness.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
i was 8 when reagan was in office. I liked to read while eating breakfast. If not for that I may have never picked up that Applesoft BASIC manual that shipped with our craptastic Apple ][gs
By the next year i was wiring stuff into the joystick port on the motherboard. 10 years later i was at microsoft.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
It was indoor work with no heavy lifting.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
So is cleaning toilets.
It didn't interest you otherwise? Was it something you were like "I'm going to go to school to learn this so I'm not cleaning toilets" kind of thing? Or was there another draw?
*prys*
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
Not really sure - it was many, many years ago.
I just kinda woke up one morning thinking "religion is b*ll*cks and I wanna program computers". So I became an atheist* and my future was laid out. Never even seen a computer except on TV up to then, and had no idea whatsoever what it actually involved. If I'd had a dream about Spaghetti Junction maybe I'd have been a road planner instead, who can say?
* I grew out of that when I realised atheism is a form of extremism, (fanaticism, call it what you will), just like being a god botherer is.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|