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.
Having been an academic myself, and being an experienced programmer (by now), I do know what you're talking about. I think the main problem is that academics are only interested in the existance of a solution. Once they know the solution exists, the way to find it is uninteresting. And, provided they get to the point they've actually found a solution, they're not interested in optimizing it's performance.
However, if you specify a performance constraint as part of the problem, you can bring even academics to producing performant solutions. I've made it a habit to silently add such constraints to the problems handed to me in case there was no such constraint explicitely mentioned.
P.S.: Maybe I should mention that my Master was on Math and CS. That of course makes quite a difference.
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
I almost managed to not start up the laptop for two weeks, but I got an email from a customer and they had a small problem so now I'm working again
Got it fixed though and weekend is at the door so that's another two laptopless days
Back to work on Monday
Let's see if I can still remember that syntax...
publicint Add(int a, b As Integer) As Integer
return a + b
".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
Your first new year celebration in the Netherlands?
Yes. But I am used to fireworks so noise was not a problem. Smoke on the other hand was a big problem. I felt the amount of smoke generated by fireworks here was way more than those in India. I could not see the house across our street. It was fun to see unhinged calendar independent people around.
Other than that, it was fun. Next year, I plan to do big fireworks myself (this year we only got little ones to not scare our little one) but I really need to find those which produce less smoke.