• greyscaleA
    link
    fedilink
    English
    arrow-up
    7
    ·
    1 day ago

    That was my first reaction until I noticed its object-orientated.

    Then I baulked at having to rawdog node and npm on my machine.

    no thank you.

    • CarrotsHaveEars@lemmy.ml
      link
      fedilink
      arrow-up
      4
      arrow-down
      3
      ·
      1 day ago

      You guys feel free to keep being JS-phobic but please don’t describe setting up an ECMAScript runtime environment scarily complicated. It’s apt install node npm notably on Ubuntu/Debian. That’s it.

      Besides, there are Bun and Deno now which are evidently faster runtime than Node.

      If you have a problem with the language itself, please criticise at it, not something made from it. In fact, being a programmatic schematic file, a script rather than a compiled language makes more sense because a script evolves faster in development while sacrificing performance. Performance isn’t top priority.

      And you said it’s object-oriented? Which part of this piece of code in their tutorial looks OO to you?

      https://fluidcad.io/docs/guides/sketching/introduction

      circle(50, "xy")               // circle on the XY plane
      rect(100, 60, "front")         // rectangle on the front plane
      line([0, 0], [100, 50], "xz")  // line on the XZ plane
      slot(80, 20, "xy")             // slot on the XY plane
      arc(50, 0, 90, "front")       // arc on the front plane
      
      • greyscaleA
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        You’re arguing the wrong points. You didn’t really read what I said.

        I don’t care about Javascript. I don’t want my computer catching dependency hell or cryptominer herpes.

        I don’t want that shit rawdogging my system, go package it up into something sensible. I don’t want its entrails all over my system and I don’t want it breaking something elses dependencies.