Hacker Newsnew | past | comments | ask | show | jobs | submit | 0x0dea's commentslogin

Do you know what year it is?


Vim auto-indents macro blocks just fine, and preprocessing isn't compilation. For your edification, clang-format is amazing: https://youtu.be/JSjoCisIHcM?t=1764


Couldn't find a probabilistic testing library, eh?


Do you have any suggestions? I'm all ears



The magic __COUNTER__ macro supported by some compilers can be used to simulate gensym.


Thanks. Never realized gcc had it.


Does the body have ways of shutting that down?




Ruby's Struct is pretty nifty.

    Person = Struct.new :name, :age

    people = [
      Person.new('Alice', 42),
      Person.new('Bob',   23),
      Person.new('Carol', 30)
    ]

    people.sort_by(&:age).map(&:name)
    # => ["Bob", "Carol", "Alice"]


    $ whatis code
    code: nothing appropriate.


  $ md5 <<< code
  7844a93ad4b97169834dade975b5beff


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: