• 1 Post
  • 15 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle
  • This reminds me of a colleague who was always ranting that our code was not documented well enough. He did not understand that documenting code in easily understandable sentences for everybody would fill whole books and that a normal person would not be able to keep the code path in his mental stack while reading page after page. Then he wanted at least the shortest possible summary of the code, which of course is the code itself.

    The guy basically did not want to read the code to understand the logic behind. When I took an hour and literally read the code for him and explained what I was reading including the well placed comments here and there everything was clear.

    AI is like this in my opinion. Some guys waste hours to generate code they can’t debug for days because they don’t understand what they read, while it would take maybe two hours to think and a day to implement and test to get the job done.

    I don’t like this trend. It’s like the people that can’t read docs or texts anymore. They need some random person making a 43 minute YouTube video to write code they don’t understand. Taking shortcuts in life usually never goes well in the long run. You have to learn and refine your skills each and every day to be and stay competent.

    AI is a tool in our toolbox. You can use it to be more productive. And that’s it.
















  • This is so true!

    Last year I had a project to upgrade the PLC of a machine to the newest generation. As usual the customer was not able to tell me the requirements they had. They told me to look in the old software…

    It turns out it was 30+ years old software where you had to program in a cmd line (Siemens S5 if you know PLCs). I had to migrate everything to the next generation (S7) to be at least a little bit productive. Then I thought come on lets try to migrate to the current generation (TIA) to be even more productive.

    At the end everything was nearly ready to be compiled and uploaded to the PLC. So I fixed some minor compile time issues, deleted around 50-75% of the old program (old stuff which went obsolete), changed some variable names, refactored some stuff and here we are: The same 30+ year old software is running strong. 24/7 since 6 months without issues 😁