Markus Schirp

Results 267 comments of Markus Schirp

dm2 will focus on this: Being a good mapper. We not plan to couple the mapper with a validations library, also I do not plan to couple this library to...

@ndmitchell > Precompile the expression matching into a lookup machine rather than a linear traversal over all patterns one-by-one. So per "Flag matcher" the AST is traversed once right now?

@solnic There are cases you want to lift or push keys down or up in the hierarchy. This is especially common when mapping non trivial APIs data formats to/from rich...

@ahawkins I have a ticked for these. This mutation will be removed. Or at least be more intelligent on them. I personally prefer to refactor the need for `||=` away,...

@ahawkins There is no general advice for all `||=`. Specific advice is possible: ``` ruby def self.config @config ||= Config.new end ``` You lazy initialize a mutable object under a...

@ahawkins The warnings about "Cannot find definition of Foo#bar" will are not really warnings. I added these at the time the matcher was not as good as today. I'll only...

@ahawkins Writing code in a way thats easily mutation testable is hard. But it pays back. Does not matter what you see on twitter. People think I prefer local maxima.

@ahawkins I'm busy. Cannot expand the following: Options for testing Threaded code: - Inject a predicable Thread mock. (Allows most scenarios to be steered explicitly!) - Ignore the Thread subject...

@solnic `Anima::Builder` was a local maxima. Where I did not spotted a better local maxima the new code. Dunno if I can ever prove we reached a global maxima of...

@ahawkins Catching up on a 4 y old thread. `mutant-minitest` was just merged to master. Do you want to retry? I'd be happy to advice.