Programmer by day, burnt out by night.

  • 0 Posts
  • 121 Comments
Joined 1 year ago
cake
Cake day: July 22nd, 2023

help-circle
  • As soon as I make more than a script, I’m using a debugger.

    I really can’t wrap my head around how so many of my colleagues in the professional work field just print wherever until they find their problem.

    print statements feel like touching around in pitch darkness until I found what I sought, compared to a debugger which feels like just seeing my room and daylight while finding what I sought.













  • It renders correctly on the web as well for me.

    But the ``` being on their own line is how to write it properly, as stated this website among many others.

    This way, you can put the intended programming language on the same line as the first ```, ensuring proper colour coding!

    Ex.

    echo "Hello $name\n";
    
    echo "Hello $name\n";
    

    EDIT I checked on mobile, it rendered odd on Jerboa for me:

    Screenshot of essteeyou@lemmy.world their comment in the Jerboa client before the edit

    Now it is fixed:

    Screenshot of essteeyou@lemmy.world their comment in the Jerboa client after the edit