‹ BackHN Continuity

Thread

What Zig felt like, coming from Rust

282 points · 351 comments · ksec

  1. MiroslavPokorny · · focus · HN ↗
    Im sorry running all tests is just dumb and a time waster when you want to fix just one or a few tests out of many.
    1. bayindirh · · focus · HN ↗
      You can run any number of named tests, from what I understood?
      1. MiroslavPokorny · · focus · HN ↗
        Of course you can, but theres a reason why people like IDES where they can point and click to select and run tests rather than typing names.
        1. bayindirh · · focus · HN ↗
          Depends. I'm a huge fan of Eclipse (yes, that one) and use it heavily for my C++ and Python projects, yet I have no problems with hitting a couple of more keys to run some named tests when required (i.e. Go).

          When I'm in my flow state, I find reaching for a pointing device is taking longer than typing something in, BTW. Keyboard driven interfaces and terminals are underrated.

          1. MiroslavPokorny · · focus · HN ↗
            You just reiterated my point, people dont like typing long command lines with names when they could just use the smarts of an IDE.
            1. bayindirh · · focus · HN ↗
              I don't think so. Selectively running tests is not in my top 100 reasons to use an IDE list, even.

              I like IDEs for all the code insight they provide. Running a named tests by typing its name is not a nuisance by any measurable distance (for me).

              1. MiroslavPokorny · · focus · HN ↗
                Not everyone likes the flavour of ice cream that you prefer, and thats why there are many different flavours and different cultures create their own, like say Gelato.

                You might not find point and click selection of tests valuable, but the world loves GUI for the same reason, people prefer to click rather than type long commands etc. Thats why finder and windows explorer exist, because enough people would rather use that UI rather than typing at the command line.

                1. bayindirh · · focus · HN ↗
                  And you know what? That's OK! I don't expect my list of choices match other people, or dictate theirs in any capacity.

                  I'm just putting forward my perspective and choices, which are also not made of granite and subject to change to the scenario, needs and possibilities in any given moment.

                  I strongly advocate people work the way they feel comfortable happy. Because (even if slow), it's smooth, and smooth is fast.

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.