normalperson@yhbt.net wrote: > I am thinking of adding preemption support to this feature for compatibility with 1.8 non-preemptive vs preemptive. coroutines are non-preemptive. threads are preemptive. Are we talking about havi...dsferreira (Daniel Ferreira)
grzesiek (Grzegorz Bizon) wrote: > I guess that this is usually a bad idea, but it depends on what you are using your tests for. When I have to develop a complex module I usually follow TDD because TDD is a design tool for me, not a t...dsferreira (Daniel Ferreira)
Hi Robert, I agree that we should not change current ruby behaviour. I see the proposal as an extra functionality not a behaviour change. Regarding allowing ruby hackers to do all they want: * Ruby allows developers to find their...dsferreira (Daniel Ferreira)
Hi Grzegorz, My proposal regarding the implementation of Internal Interfaces (internal access modifier) https://bugs.ruby-lang.org/issues/9992 was pondered when thinking around those terms but applies to internal classes/modules that...dsferreira (Daniel Ferreira)
shevegen (Robert A. Heiler) wrote: > A bit similar to the doc that explains the "Symbol versus String" situation that has been added recently. Can you please paste here the link to the “Symbol versus String” doc?dsferreira (Daniel Ferreira)
phluid61 (Matthew Kerwin) wrote: > For what it's worth, I think __main__ is best, or main? I would agree with `main` in the following way: ```ruby # Kernel#main method to be overridden and only run if __FILE__ == $0 def main ...dsferreira (Daniel Ferreira)
graywolf (Gray Wolf) wrote: > Exactly, and the condition is: was this file directly executed?. We have two different contexts: * File context (FILE#executed?) - Was the file executed? * Code context (`Kernel#executable?`) - Is...dsferreira (Daniel Ferreira)
graywolf (Gray Wolf) wrote: > So Kernel#executable? tells me that something is able to be executed, not that it was in fact executed. Correct, `Kernel#executable?` infers if the code is able to be executed. Usually when we use ...dsferreira (Daniel Ferreira)