Details
-
AboutFull stack developer of over 25 years.
-
SkillsHTML5, CSS, JS, Appcelerator, SQL, AWS, C#, Databases, Web Design, Web Applications, MySQL, Android, ASP.NET, PHP, CSS, MVC, JSON, Microsoft Office, AJAX, Web Services, yada yada yada...
-
LocationNigg, Scottish Highlands
Joined devRant on 11/30/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
At one of my former jobs, I had a four-day-week. I remember once being called on my free Friday by an agitated colleague of mine arguing that I crashed the entire application on the staging environment and I shall fix it that very day.
I refused. It was my free day after all and I had made plans. Yet I told him: OK, I take a look at it in Sunday and see what all the fuzz is all about. Because I honestly could fathom what big issue I could have caused.
On that Sunday, I realized that the feature I implemented worked as expected. And it took me two minutes to realize the problem: It was a minor thing, as it so often is: If the user was not logged in, instead of a user object, null got passed somewhere and boom -- 500 error screen. Some older feature broke due to some of my changes and I never noticed it as while I was developing I was always in a logged in state and I never bothered to test that feature as I assumed it working. Only my boss was not logged in when testing on the stage environment, and so he ran into it.
So what really pushed my buttons was:
It was not a bug. It was a regression.
Why is that distinction important?
My boss tried to guilt me into admitting that I did not deliver quality software. Yet he was the one explicitly forbidding me to write tests for that software. Well, this is what you get then! You pay in the long run by strange bugs, hotfixes, and annoyed developers. I salute you! :/
Yet I did not fix the bug right away. I could have. It would have just taken me just another two minutes again. Yet for once, instead of doing it quickly, I did it right: I, albeit unfamiliar with writing tests, searched for a way to write a test for that case. It came not easy for me as I was not accustomed to writing tests, and the solution I came up with a functional test not that ideal, as it required certain content to be in the database. But in the end, it worked good enough: I had a failing test. And then I made it pass again. That made the whole ordeal worthwhile to me. (Also the realization that that very Sunday, alone in that office, was one of the most productive since a long while really made me reflect my job choice.)
At the following Monday I just entered the office for the stand-up to declare that I fixed the regression and that I won't take responsibility for that crash on the staging environment. If you don't let me write test, don't expect me to test the entire application again and again. I don't want to ensure that the existing software doesn't break. That's what tests are for. Don't try to blame me for not having tests on critical infrastructure. And that's all I did on Monday. I have a policy to not do long hours, and when I do due to an "emergency", I will get my free time back another day. And so I went home that Monday right after the stand-up.
Do I even need to spell it out that I made a requirement for my next job to have a culture that requires testing? I did, and never looked back and I grew a lot as a developer.
I have familiarized myself with both the wonderful world of unit and acceptance testing. And deploying suddenly becomes cheap and easy. Sure, there sometimes are problems. But almost always they are related to infrastructure and not the underlying code base. (And yeah, sometimes you have randomly failing tests, but that's for another rant.)9 -
"I won't use javascript for this webapp where we don't use anything server-side, because I've been using php for everything"
Yeah fuck you12 -
!rant
Me to my bf: You smell. Go shower.
Him: I don't feel like it...
Me: Sudo go shower.
Him: Goddamn it Rudi..
*wait for it*
*He showers*
Me: *evil chuckle* I gotta post this to devRant14 -
FUCK YOU WINDOWS. HOW MANY FUCKING HOURS DO YOU NEED TO 'GET THINGS READY' ? IT'S BEEN 5 FUCKING HOURS ALREADY 😠 Even a woman doesn't take that long to get ready!2
-
Ok so maybe not a full rant but it really pisses me off that the version number for Visual Studio 2015 is 14.03
-
I always get a little angry when I'm looking for the solution to a problem I have with JavaScript and the answerer has the solution in JQuery. Like, not everyone uses that people!5
-
Can we clear this once and for all... Explain java and JavaScript like this...
They are like apple and pineapple...
In a recipe you wouldn't go yeah I could substitute in the other ... Because they are entirely different things ... Similar names... Entirely different !
We get it... They are different fucktards don't ... We get it... Ok....12 -
Hey everyone - please help get devRant on stage at the TNW Momentum Conference that we will have a booth at!
We need your votes which you can place here: http://thenextweb.com/scale/vote/...
If you're going to be at the conference, please stop by as we'd like to meet any devRant community members that are there :)
Thank you and please let me know if you have any questions. We appreciate the help!
Edit: if you want to track our competition/where we stand, the leaderboard is here: http://thenextweb.com/scale/vote91 -
Teaching maths to my niece and instead of 2+2=4, I wrote 2+2==4... someone needs break from coding 😂1
-
Today is my last day at this job.
Can't tell you how happy I am to be leaving this place in about 7 hours.
Starting my new job in January, so I get 4 weeks of nice vacation/ family time.8 -
How to handle fucking management assholes playing politics in office. Always there to take credit of the job they haven't done.
Really pissed off !!!3 -
I don't know why people call themselves "Developers" when they really just download a WordPress theme and adds bunch of plugins without touching a single line of code.
What the hell is going on?9