The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Diagnosing and debugging are most certainly skills, and skills that seem to be in short supply amongst recent graduates. Certainly amongst the graduates I've been mentoring over the last few years.
"There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare
Remins me of a few years when I was working with a couple of EE engieers, 50% self-taught in programming, and I had to help them out debugging a lot of software. I impressed them a lot, pinpointing problems quite rapidly, and the they frequently asked me, like,
- How did you know how to set the breakpoint exactly there?
- I don't know... Well, it turned out well, didn't it?
- What made you look at that variable, just when it went crazy?
- Good as any, but when it changed, it put us on the track, didn't it?
I couldn't explain even to myself what were good breakpoint position, values to trace or whatever. It is just an instinct. You can't expect everybody to have that instinct.
Nowadays I have nobody looking over my shoulder, getting impressed. But if I did, I would have a hard time explaining my hows and whys of debugging. I didn't really learn it from anyone, it just came by experience. It came early to me, most of it during my studies. Maybe today's development environments do not give you the same kind of learning experiences as those we had when we submitted code batches on punched cards to the computer center. In my case, that ended after my freshman year, but even with interactive terminals, we retained this idea of the program residing down in our semi-unconciousness. as a breeding ground for whatever instinctive ideas about how to debug the programs.
I don't think today's students "internalize" the programs nearly as much as we did when I was that age.
After my previous post on Git, I thought's id give it another go.
Step 1. Go to TFS and add a new project Called MyApp
Step 2. Open the MyApp solution in VS 2017
Step 3. Go to Tools => Options => Source Control. Git is the default. Change it to VSTS. I get notified about changing source control and select Yes. The solution is reopend. Go back to Tools => Options => Source Control and Git is AGAIN selected
Step 4. Close the solution. Go to Tools => Options => Source Control. Git is the default. Change it to VSTS. Re-open the solution and AGAIN git is selected
Step 5. Install NoGit extension. Same results
Step 5. Close and reopen VS. Go to Tools => Options => Source Control and Select None. Close ^ reopen VS and go to Tools => Options => Source Control. None is selected. AHAH!!
Step 6. Go to TFS and create a project called WpfApp2.
Step 7. In VS. create a new WPF app called WPFapp2. Open Team Explorer, connect to TFS and select WPFApp2. Get prompted to add to loal Got report. Go to Tools => Options => Source Control and Git is selected!!
WHAT THE ELEPHANTING MS.. FRIGGIN REALLY???
FOR THE LOVE OF ALL THINGS SANE - SOMEOME PLEASE TELL ME HOW TO GET RID OF GIT!!! DON"T BOTHER TELLING ME HOW TO WORK WITH IT OR WHY I SHOULD LIKE IT!! I WANT IT GONE!!
If it's not broken, fix it until it is.
Everything makes sense in someone's mind.
Ya can't fix stupid.
So I posted a question on the Microsoft developer forums asking how to replace EF with our own ADO class in my MVC5 app. (we only use EF for the Identity stuff, and we use our ADO class for everything else. I want to remove EF completely and replace it with our ADO class.
I got a response from someone who felt I needed a lesson regarding separation of cncernes and the MVC design pattern. He did this without answering my question.
What an ass...
".45 ACP - because shooting twice is just silly" - JSOP, 2010 ----- You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010 ----- When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013