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
Search - "punch cards"
-
Let's have a real debate.
Not Linux vs Windows vs Mac.
Not Vim vs Emacs.
Not ASP.NET vs Spring Frameworks.
NO.
CHARACTER LIMIT. 80, 100, or 120+ and WHY.26 -
rant & question
Last year I had to collaborate to a project written by an old man; let's call him Bob. Bob started working in the punch cards era, he worked as a sysadmin for ages and now he is being "recycled" as a web developer. He will retire in 2 years.
The boss (that is not a programmer) loves Bob and trusts him on everything he says.
Here my problems with Bob and his code:
- he refuses learning git (or any other kind of version control system);
- he knows only procedural PHP (not OO);
- he mixes the presentation layer with business logic;
- he writes layout using tables;
- he uses deprecated HTML tags;
- he uses a random indentation;
- most of the code is vulnerable to SQL injection;
- and, of course, there are no tests.
- Ah, yes, he develops directly on the server, through a SSH connection, using vi without syntax highlighting.
In the beginning I tried to be nice, pointing out just the vulnerabilities and insisting on using git, but he ignored all my suggestions.
So, since I would have managed the production server, I decided to cheat: I completely rewrote the whole application, keeping the same UI, and I said the boss that I created a little fork in order to adapt the code to our infrastructure. He doesn't imagine that the 95% of the code is completely different from the original.
Now it's time to do some changes and another colleague is helping. She noticed what I did and said that I've been disrespectful in throwing away the old man clusterfuck, because in any case the code was working. Moreover he will retire in 2 years and I shouldn't force him to learn new things [tbh, he missed at least last 15 years of web development].
What would you have done in my place?10 -
Wow, I would have to write a book to describe all of the positive ways coding and a long career in technology have impacted my life.
In short, it has provided me with a great life, career, passion and so many friends I can 'talk shop' with.
A great journey from punch cards to PC's to LAN's to a global network. From 8" platters to 10mb Bernoulli boxes to 5 1/4 to 3 1/2 to terabytes in your pocket!
From Brick size 'mobile' phones and 35 lb Compaq and Osborne 1 'laptops' (I know some of you remember those) to today's amazing miniaturization.
From MS DOS and Dr. DOS to lots of OS's. I had better stop as it seems I am writing a book in a rant 😀
Best of all... my son went into the family business and now we 'talk shop'!
It has been an amazing ride!1 -
I decided to try a new mono font in my editor, this is a relatively new font called IBM Plex.
I can hear the sounds of a 1401 crunching through the punch cards while the printing out curlies that scream THIS IS SERIOUS BUSINESS.
Mmmmm....I like it.6 -
Dev Mantra
I do not write code with my keyboard. He who writes code with his keyboard has forgotten the days of the punch cards. I write code with mind.
I do not write non descriptive variables. He who writes non descriptive variables has forgotten the days of the punch cards. I write self descriptive code.
I do not debug by brute force. He who debugs by brute force has forgotten has forgotten the days of the punch cards. I debug with breakpoints and stack traces.1