Fork me on GitHub
#yada
<
2015-11-08
>
malcolmsparks18:11:56

@stijn: I keep meeting people who don't like protocols, but for reasons like your example, I think they're a good feature.

stijn18:11:34

@malcolmsparks: yes they are nice, but it takes some getting used to

stijn18:11:53

I totally understand kovasb's point though, it's not easy to get started

stijn18:11:14

and the phonebook example depending on modular doesn't make it any easier

malcolmsparks18:11:47

I've just replied at length to his email - I agree with him - as you know yada's design has been moving, but I think for good reasons - it's hard to document a moving target

stijn18:11:26

sure, I think documentation will definitely solve this

malcolmsparks18:11:57

phonebook only depends on modular's co-dependency. Perhaps it would be better to remove that

malcolmsparks18:11:18

you're right, i'll remove it, or at least factor our a version that doesn't use it

stijn18:11:03

I guess it's for the reverse routing lookup, no?

stijn18:11:13

i'm not using modular and I solved that by a delay on an atom deref

stijn18:11:03

it's actually the only place where I have a circular dependency

malcolmsparks18:11:48

actually, co-dependency uses the same atom deref idea - it's a general solution for dealing with circular dependencies in component systems

malcolmsparks18:11:56

but we don't need phonebook to be a component system

malcolmsparks18:11:08

I mean, it's fine to have other examples, but phonebook should be a little easier

malcolmsparks18:11:15

I'll add it to the TODO list!

malcolmsparks18:11:37

@stijn: btw. thanks for your malformed? issue, I'm now in full agreement, I just needed some time to sit down and think about it!

malcolmsparks18:11:58

so I'll be moving towards that goal

malcolmsparks18:11:05

I want to cut a release in the next week or so

malcolmsparks18:11:32

I think most folks have been surviving by forking their own yada versions !

malcolmsparks18:11:59

(there's at least 12 forks of yada)

stijn18:11:06

alright sounds exiting! simple_smile

stijn18:11:34

well, it's just a few tweaks here and there to make it work for our case, but in general it works very well