Expert Talk: Zig Programming Language & Linters • Andrew Kelley & Jeroen Engels • GOTO 2022

Поделиться
HTML-код
  • Опубликовано: 9 ноя 2024

Комментарии • 8

  • @WolfgangSchuster
    @WolfgangSchuster Год назад +5

    The "600 line diff" view that Andrew mentions preferring is how I actually use elm-review most of the time. I run it with --fix-all and auto apply the fixes, then skim through the git diff. Makes it really easy to see what's happening at a large scale.

  • @steveoc64
    @steveoc64 Год назад +9

    Would be interesting to roll zls into the compiler executable- so it becomes a runtime param “zig ls”
    Then it would always be in synch with the compiler version, and benefit from the parser, hot code reload, etc

    • @devshmsec
      @devshmsec 5 месяцев назад +2

      they could include it in 1.0 version because everything is changing in the language right now that's why docs is not also complete.

  • @krumbergify
    @krumbergify Год назад +1

    Golangci-lint has a lint check for long lines which is good, but it also triggers on long lines which sometimes have to be long and sometimes they should be broken up.

  • @nathanfranck5822
    @nathanfranck5822 Год назад +7

    Right into the part of zig that bothers me the most! I would love more nuanced language server support in Zig, though I realize it's a super tough job

  • @angeloceccato
    @angeloceccato Год назад +6

    I love it if Zig will take some of the Elm language ergonomics!

    • @tenv
      @tenv 26 дней назад

      @@angeloceccato zig prioritizes reading over writing, hence why lots of things have to be explicit. Despite that the ergonomics are quite nice.

  • @derschutz4737
    @derschutz4737 Год назад

    Someone should mention algebraic effects to Andrew.