Hacker GitHub

← All repos

egonSchiele/contracts.ruby

View on GitHub ↗ ★ 1,457 Ruby

Contracts for Ruby.

14 mentions on Hacker News by 10 people: 3 stories, 11 comments · first 2012-06-11 · latest 2024-10-04

Mentions per year 14 mentions · busiest year 2015 (4)
20082026
  1. …the idea because backwards compatibility? I think the closest gem that achieves this is contracts. https://github.com/egonSchiele/contracts.ruby?tab=readme-ov-...
    comment by Alifatisk · 2024-10-04 · in Ask HN: Is Ruby/RoR Dead?
  2. …core. I think a more defined process would mean a better future for Ruby and Ruby developers. - [1] https://github.com/egonschiele/contracts.ruby - [2] https://github.com/DefinitelyTyped/DefinitelyTyped
    comment by egonschiele · 2023-05-05 · in A few words on Ruby's type annotations state
  3. I've used contracts any time this type of thing was necessary. https://github.com/egonSchiele/contracts.ruby
  4. …popular and mature library that I am surprised nobody has mentioned yet named 'Contracts.ruby' https://github.com/egonSchiele/contracts.ruby This syntax is also more appealing to my eyes than what rdl provides. Contract Num => Num def…
  5. Not sure if this will do, but there's Contracts for Ruby: https://github.com/egonSchiele/contracts.ruby
    comment by mendelk · 2016-06-06 · in Flow vs. Typescript
  6. This already exists in a relatively mature form: https://github.com/egonSchiele/contracts.ruby
    comment by moe · 2015-04-09 · in Gradual type checking for Ruby
  7. This is very similar to contracts.ruby, which is cool. I'd love for more contract discussions. https://github.com/egonSchiele/contracts.ruby
    comment by JoelMcCracken · 2015-04-09 · in Gradual type checking for Ruby
  8. …understand why it is useful. If it's something that interests you, I'd love some help! The project: https://github.com/egonSchiele/contracts.ruby
  9. If, like me, you were wondering how contracts.ruby works, the comments in here are quite instructive: https://github.com/egonSchiele/contracts.ruby/blob/master/li...
    comment by bshimmin · 2015-03-07 · in My Weird Ruby
  10. Have you looked contracts.ruby ( https://github.com/egonSchiele/contracts.ruby )? I'm sure you could overlap some code
  11. …type-checking to Ruby code. After looking at these I implemented a contracts library for Ruby ( https://github.com/egonSchiele/contracts.ruby ) to get myself some better dynamic checking. The next step is to use the annotations for the…
    comment by egonschiele · 2012-09-19 · in John Carmack on Static Code Analysis