Jon

Results 48 comments of Jon

Hello! Sorry for such a delayed response. I'm not sure this is the approach that we'd want to take here. The `forceFirst` option of `wrapFocus` is really a utility for...

Hello! I'm basically in full agreement with what RX14 has said. I really don't know enough about the internals of the Crystal compiler to know what is and isn't possible...

I would really rather avoid re-using `__LINE__` and `__FILE__`, since it puts a condition on what they mean depending on the context (i.e., it becomes "`__LINE__` is replaced by the...

Huh, I hadn't seen that description of it before. That's certainly a little bit nicer than what I wrote. I'm still not a huge fan of those semantics, either, cause...

A concern with this is how it would affect block parameters that are really captured functions with multiple clauses. Should it match if at least one of those clauses matches?...

I spent a solid hour writing out an example usage of a `ValueStore` protocol as an abstract interface for storage types like YAML, JSON, databases, etc. What I got out...

I think I've found one legitimate use case for some kind of protocol enforcement, and it's actually very simple. Take the following class: ```ruby class SomeCollection include Enumerable end ```...

This was an interesting read from José Valim on how to properly implement protocols: http://blog.plataformatec.com.br/2014/06/comparing-protocols-and-extensions-in-swift-and-elixir/.

I think having an expectation that `rescue`s that need cause information use some sort of type restriction (potentitally just `Exception`, though ideally more exact based on the context) would be...

The big thing I'd like to avoid here is setting a global variable. Ruby sets `$~`, which is useful for golfing, but that's about it. However, the current semantics of...