News for hackers. Stuff that matters.
Re:Why I still recommend Julia by oivey on Sunday June 26, 2022 @12:16PM (#31885254)
You could do something like this:

  plus_one(x::Number) = x + 1
  function plus_one(x)
    @warn "untested type usage of plus_one"
    x + 1
  end
That's cumbersome, but a macro could make it less annoying.
Re:Why I still recommend Julia by gugagore on Sunday June 26, 2022 @12:56PM (#31885609)
That is not a full solution to the problem of detecting untested types. What if "plus_one" works for Int, Float32, etc. but not with MyNumber, all of which would dispatch to "plus_one(::Number)".