News for hackers. Stuff that matters.
Re:Yes, Python is Slow, and I Don’t Care by rockostrich on Friday September 08, 2017 @01:48PM (#15202403)

    case class Probability(value: Double) { require(value <= 0 && value >= 1, "probability must be between 0 and 1" }
Re:Yes, Python is Slow, and I Don’t Care by hellofunk on Friday September 08, 2017 @02:18PM (#15202669)
What's the language and what does "require" do? Is that a compile-time mechanism?