News for hackers. Stuff that matters.
Re:The Janet Language by spikyllama on Friday February 17, 2023 @11:47PM (#34843992)
line noise much? man, that example is not pretty
Re:The Janet Language by nostrademons on Saturday February 18, 2023 @12:05AM (#34844083)
It's a Lisp. For anyone acquainted with other Lisp dialects, it's about as readable as it gets.
Re:The Janet Language by epgui on Saturday February 18, 2023 @01:06AM (#34844394)
If you're not used to working with lisps, your reaction is basically just unfamiliarity, and not actual discernment. Lisps are inarguably and objectively syntactically simpler than non-s-expression languages.
Re:The Janet Language by klyrs on Saturday February 18, 2023 @02:17AM (#34844756)
Pro-tip: move every open-paren to the right of its first enclosed token.
Re:The Janet Language by gus_massa on Saturday February 18, 2023 @07:39AM (#34846462)
It also help to move each closing paren to it's own line, so instead of

      )))

 it looks like

      )
    )
  )
It's almost the same number of parens, just a different formatting.
Re:The Janet Language by epgui on Saturday February 18, 2023 @03:55PM (#34850987)
Please don’t do this… There’s plugins for working effectively with lisps. You probably just need the rainbow parens or better contextual highlighting.