• Tlaloc_Temporal@lemmy.ca
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    6 hours ago

    I wish I could do this with every IDE. Get rid of all the semicolons and most curly braces and replace them with structural whitespace. You could even save the files with the punctuation and compile that to whitespace when editing.

    • verdigris@lemmy.ml
      link
      fedilink
      arrow-up
      3
      ·
      edit-2
      59 minutes ago

      You people are insane. Languages with meaningful whitespace are my personal hell. Don’t you value being able to space/tab/newline as you please?

    • PeriodicallyPedantic@lemmy.ca
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      3 hours ago

      For a long time we’ve said it’s important to separate semantics and presentation (eg html vs css).

      I’ve always wondered why we never followed our own advice when creating new programming languages. Let the IDE present whatever TF you want, and in the background it’s simply building an Abstract Syntax Tree and serializing that to a file in whatever serialization format it prefers.

      I’ve dreamed of making my own data-flow language that follows that principle, but I have neither the knowledge of compilers nor the free time to try.