Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Chamfer and fillet are awesome, but the pipe… mixed feelings, especially since it uses a dash. Either a normal pipe or an Ocaml-like |> would feel more natural.


The goal of pipe is to allow the code to read top to bottom. I always found it hard to explain the way an OpenSCAD program reads upwards when nesting operations.

As for the syntax there are certainly a lot of ways it could feel. JS devs would likely be familiar with =>, F# and Ocaml |>, Java ->. In the end I just picked one that felt natural to type for myself. From my experience if you write in enough languages you develop the ability to switch as needed.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: