• 0 Posts
  • 20 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.






  • While everybody hops on the newest trends I just try to understand the technology I am working with right now in Projects. Keeps me from wasting time with buzzwords and trends that are going to be obsolete in a couple of years.

    If there is nothing new going on I usually pick a topic that I am interested in, get a good old book and read it. Usually this is knowledge not too related to my everyday work. This helps to have broad technical knowledge. Helps me heavily in my projects and everyday life.

    But I have to admit I don’t apply for jobs 😉



  • If you put it on the top, remove all app icons and add a second bar on the bottom that shows the apps and hides when you open a window in full screen mode, it even gets a macOS feeling out of the box without any addons.

    I tried KDE, Gnome, xfce and experimented with tiling window managers. At the end of the day I’m always getting back to cinnamon. It just works for me and I love it 😍



  • abcd@feddit.detoLinux@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    3
    ·
    10 months ago

    This reminds me of code I’ve written in the past and reviewed years later: At first glance it looks like it is wrong. Especially if magic numbers are involved. Then I start to think about it (hopefully with some hints in the comments 😉) and remember soon that I spent a lot of time thinking about this specific line back then and wrote it fully intentional to limit the effect of variables in my calculations 😁











  • 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 😁