To be clear, I wasn't seriously proposing this, I'm just hoping to learn
a little about why people like Snap or not or the distinctions vs Yesod.
I'm thinking that:

(A) it will give me and others perspective about our Yesod work just to
be aware of the ways it would have worked in Snap, and

(B) perhaps there are some bits of Snap that are useful either as actual
tools to pull in or just as ideas for how we structure things.

I don't think it makes any sense to actually switch entirely. We need to
focus on launching obviously.

On 06/18/2015 05:43 AM, Jason Harrer wrote:
> Hi, Aaron -
> 
> I just did a quick scan of the Snap documentation.  I have two quick
> initial reactions:
> 
> 1) Although Snap appears to be somewhat simpler, it doesn't
> necessarily appear to be better laid out than Yesod.  It will most
> likely require extra lines of code to perform the same tasks in Snap
> as we currently do in Yesod.  The appeal to me would be that it looks
> like we're working within one Monad and not multiple Transformative
> Monads, which would make things much simpler to at least comprehend,
> if not implement.
> 
> 2) Even if it were much simpler, you're talking about a COMPLETE
> rewrite of pretty much the ENTIRE site.  Even if a switch to Snap
> would be viewed as a good thing, this should be more of a
> Snowdrift.coop 2.0 type of decision.  You're most likely be looking at
> pushing out launch by months, if not years, by switching to Snap so
> late in the game.
> 
> Ultimately, whether or not it's a good idea in the long run, I don't
> know.  Whether or not it's a good idea to do right now, the answer
> from me would be not a chance.  Should everyone else think we need to
> consider this more heavily, I'm more than willing to look over the
> documentation more closely and form a more informed opinion at that
> time.
> 
> - Jason
> 
> 
> On Wed, Jun 17, 2015 at 11:39 PM, Aaron Wolf <aa...@snowdrift.coop> wrote:
>> So, Greg Hale suggested that if Snowdrift.coop were to switch to Snap
>> (which he acknowledged probably doesn't make sense and would distract
>> from moving forward mainly), he'd be happy to help refactor to make it
>> happen. He's still up for helping otherwise, but I wanted to just
>> discuss briefly the issue for my own edification at least.
>>
>> Obviously, I'm not the experienced coder, so I have no business having a
>> real opinion here. The experienced folks on the team have their views —
>> David chose Yesod without real knowledge about the pros and cons I
>> believe. Other people have expressed mixed feelings and certainly some
>> criticism of the amount of template Haskell in Yesod. However, here's
>> what I like about Yesod:
>>
>> * Hamlet and Cassius template languages are superb, eliminate extraneous
>> junk, very flexible, very beginner-friendly
>>
>> * Type-safe URLs and other stuff maximizing strong typing throughout so
>> everything is compile-time checked
>>
>> I have little opinion about the rest of it, although the routes
>> structure and model setup is reasonable enough for me.
>>
>> I know little about Snap, but I have seen that it is the one other
>> active, robust framework. Happstack is more minimal and effectively
>> feature complete so has seen little activity in a couple years. Really,
>> for robust and active projects, it's Snap or Yesod.
>>
>> I saw a post in which the Snap developer emphasized the modularity of
>> things. I.e. it's possible to use Yesod's Shakespearean templates
>> (Haskell, Cassius) with other things from Snap. To some degree, if we
>> can really pick and choose, then there *might* be reason enough to
>> consider some modules / pieces of Snap and utilize them even if our core
>> remains Yesod…
>>
>> Without much real investigation, I do not particularly like Snap's Heist
>> framework, certainly I love Hamlet so that's not worth much discussion
>> unless anyone can point out really great things about Heist that would
>> be interesting.
>>
>> On the surface level, the only thing about Snap's claims about itself
>> that seem really compelling is that it claims to be really beginner
>> friendly, even to beginning Haskellers…
>>
>> So, I'm hoping to just learn some about this and be open to considering
>> the issues. Certainly if we *ever* consider any of this, better sooner
>> than later. But mostly, I'm just curious. I feel like understanding what
>> people like about Snap will be insightful and valuable even if we make
>> no change and stick to all the core Yesod stuff.
>>
>> Cheers,
>> Aaron
>>
>> --
>> Aaron Wolf Snowdrift.coop <https://snowdrift.coop>
>> _______________________________________________
>> Dev mailing list
>> Dev@lists.snowdrift.coop
>> https://lists.snowdrift.coop/mailman/listinfo/dev

-- 
Aaron Wolf Snowdrift.coop <https://snowdrift.coop>
_______________________________________________
Dev mailing list
Dev@lists.snowdrift.coop
https://lists.snowdrift.coop/mailman/listinfo/dev

Reply via email to