1. 8

    I recently learned how modern IDE’s provide the kind of features Rust LS is targeting. For anyone else interested, here is a great video explaining the same: https://channel9.msdn.com/Blogs/Seth-Juarez/Anders-Hejlsberg-on-Modern-Compiler-Construction

    1. 1

      It’s usually a good idea to append the year to the post title when posting an old link. See Story submission guidelines

      1. 2

        will do in the future :)

      1. 2

        This is a great collection, I have dozens of tabs open in my browser right now, all thanks to this page. I usually can’t handle more than 10 tabs.

        1. 6

          I’m far from a great programmer so I find TDD to be very helpful.

          If I can’t write proper tests it helps me highlight that I don’t know enough about the problem I am trying to solve. I find this to be especially important when writing code specified by others (as opposed to writing some idea of my own).

          Also, I really, really, really hate re-work so having tests up front with known good and known bad inputs reduces risk that I secretly break code which I then have to go back and fix months later.

          Python and Go have decent support for my way of working but there are cases where I would prefer to write something in C (especially pledge() in OpenBSD is a huge draw) but don’t because I am not familiar with anything that makes TDD as easy in Python/Go.

          What are C’s answers to, say, py-nosetest or go test?

          1. 1

            After reading the OP, I have been researching the same. What is a good tool that I can use in my systems projects in C. It may or may not support TDD style, but at least should enable me to want to write more tests fast.

            1. 1

              For c++ I’ve been using CATCH and I’m a big fan. It makes setting up tests almost as easy as for Python or Racket. I think it may work for C too.

            1. 2

              That really ought to be the link for this article, instead of the current one.

              Also, I think the part about weirdness is some bullshit–it’s kinda telling that while they’re pushing for diversity all of the sudden there’s no room left for more typical “weirdos”. Saying that pet names for places (“shire” instead of server room, “happy hatchling day” instead of birthday, etc.) is just a way to beat down nerds.

              Otherwise, a decent writeup.

              1. 1

                Thanks, I did not realize (being within a university network) that the link I submitted was under a paywall.