• 0 Posts
  • 71 Comments
Joined 2 years ago
cake
Cake day: June 16th, 2023

help-circle

  • I spent a summer in south India a few years ago during monsoon season. I was fucking miserable in my jeans and shirts until I switched over to wearing loose, flowing clothes made of bleached kahdi (loose homespun cotton) like the locals. It keeps the sun off you and even when it gets soaked it doesn’t cling to your skin, and then whenever the rain stops it dries completely very quickly. Other westerners I met made fun of me for pretending to go native, but they had no clue how effective it was.



  • I just went through that for a while and saw nothing that doesn’t look exactly like C#. If it’s based around .NET and looks exactly like C#, why the fuck not just use C#?

    As somebody who first started coding BASIC on an Apple IIe in 1981, I am just so tired of new languages. They all do basically the same shit and there’s just no real point to any of them.











  • ChickenLadyLovesLife@lemmy.worldtoProgrammer Humor@lemmy.mlComenting code
    link
    fedilink
    English
    arrow-up
    6
    arrow-down
    2
    ·
    edit-2
    9 months ago

    if the code changes and the comment isn’t updated accordingly, it can be ambiguous.

    People always cite this as a reason comments are bad. In 30+ years as a developer I have seen (and participated in) a lot of failed software projects, but not once has a mismatch between comments and code been the actual cause of the failure. Moreover, the same logic could be applied to the names of methods and variables (“if the code changes and the method and variable names aren’t updated accordingly, it can be ambiguous”) but nobody ever suggests getting rid of that. At the end of the day, comments are useful for imparting information about the code to future developers (or yourself) that is too complicated to be adequately communicated by a method name.







  • I learned it while at the same time learning (or really enhancing my previous knowledge of) javascript, thanks to an insane mostly-Finnish app development platform known as Qt Creator, which for no rational reason uses C++ for the under-hood-stuff and javascript for the UI front end. Just an absolutely horrible mismatch of mental states. For bonus points, the company that I worked for that used this monstrosity for its suite of apps got purchased by a huge west coast company and the apps were shut down and everybody was fired, after two years of my working on this shit.