Bjørn Erik Pedersen

Results 871 comments of Bjørn Erik Pedersen

>Does it make sense to ignore open connections on CTRL+c? Yes it does. I vaguely remember a similar issue, but not the details ...

Yea, but it sounds like a lot of work (work being the deprecation dance).

I would be all over this if you could get me a great new container name that we could use for this, e.g. `.Contents`...

Nevermind, @regisphilibert -- and thanks for bringing this up. I just did a test at https://play.golang.org/p/LiN4WdipGsv As long as `.Content` prints like before and behaves like a string whenever needed,...

OK, there is one challenge ... `Content` currently is of type `template.HTML` -- making it a string leads to all kinds of escaping issues. Hmm...

>What is the motivation behind making .Content a string? No, that isn't something we're going to do ... That was just one of my technical ramblings ... The above would...

>One thing of importance though: I think (I know I am) a lot of people are using {{ with .Content }} That looks like a showstopper. Even with empty content,...

But ... if you look at https://dictionary.cambridge.org/grammar/british-grammar/content-or-contents So, I'm Norwegian, but to me it looks like we may be saved by a typo here, that the correct term should have...

>api = "2.0" # Introduce breaking changes on an opt-in basis If we do the above that will be the new default (I have never heard of a software project...

We can keep `.Content`, but we need to eventually get rid of `.WordCount` and similar.