eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

228
active users

#observable

0 posts0 participants0 posts today

#Swift #Observable

Is there any good practice for working with Observable and protocols?

I’d like to conform a protocol to Observable (so I could mock it in tests and previews, and pass around only protocol types in most of my code, not concrete types), but Observable macro seems to be geared towards working with concrete types

So what are your best practices and thoughts on Observable vs mocking/testing

Being able to get `mgcv::gam` into JS/Observable via #RStats {webr} is just the bees knees.

#Observable Plot just has basic linear regression (it's nowhere near as robust as `geom_smooth()`), and it's almost zero effort to slide in fit data from other models thanks to the work of George & team.