This reminds me of ARM-17 that I tried to model after
Haskell/Python/Clojure https://github.com/puppetlabs/armatures/pull/64 . It
stalled out due to lack of time, though it may have some relevant content.



-Hunter

On Tue, Feb 10, 2015 at 12:44 PM, Heck, Walter <walterh...@olindata.com>
wrote:

> Hi Henrik,
> On Tue, Feb 10, 2015 at 9:30 PM, Henrik Lindberg <
> henrik.lindb...@cloudsmith.com> wrote:
>
>> On 2015-10-02 19:52, Walter Heck wrote:
>>
>>> I'm personally more of a fan of what some programming languages call
>>> interfaces; a sort of contract if you will that a module implements.
>>>
>>>  Yes that is good - does not solve the issue of modules having the same
>> name though - either the module name must change, or modules must be
>> installed with both author and name and then referenced the same way.
>>
> But with this you wouldn't need to have more then one module with the same
> name? All you'd need is a single module that satisfies all the interfaces
> the rest of your code asks for. I would think that if this was implemented,
> the community would gravitate towards a single IMysql interface which can
> then be implemented by different mysql modules in different ways.
>
> cheers,
> --
> Best regards,
>
> Walter Heck
> CEO / Founder OlinData
> <https://t.yesware.com/tl/2627942011ccc3835f76c6e9ba4c0af91f3d3722/53f65fbbd041f0e792b2eaca63996aba/53e6d075ec31fd4e14e81c226c7f32cd?ytl=http%3A%2F%2Folindata.com%2F%3Fsrc%3Dwh_gapp>
> - Open Source Training & Consulting
>
> Check out our upcoming trainings
> <https://t.yesware.com/tl/2627942011ccc3835f76c6e9ba4c0af91f3d3722/53f65fbbd041f0e792b2eaca63996aba/50b3fd816e9110607700dc6c8a41a2cb?ytl=http%3A%2F%2Folindata.com%2Ftraining%2Fupcoming>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Puppet Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to puppet-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/puppet-dev/CAOfYMj4uk2OUtQ5tbG6waX0K4FQRfUST8Q2hf-sfp5Pz%3DsADJw%40mail.gmail.com
> <https://groups.google.com/d/msgid/puppet-dev/CAOfYMj4uk2OUtQ5tbG6waX0K4FQRfUST8Q2hf-sfp5Pz%3DsADJw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/CAJaQvGBtx1P1hvoaS9ySyX9kh97axybQR2t2qOV%2BF6vwKT5CSQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to