Results 184 comments of Kasper Peulen

> I think that better to put an asterisk like if*, switch*, for*, while*. That makes very much sense to me if the * indicates an implicit `do*` expression. And...

@babakness I will go through all your message another time, but in the meantime there seem to be some miscommunication. What I meant was that `if` meant implicit do expression...

Let's move most of this discussion to the relevant issue in the relevant repo: https://github.com/tc39/proposal-do-expressions/issues/9 That is this issue about implicit do expressions. I think the only thing relevant to...

@yjbanov I like how this looks: ```dart class Counter extends Stateful { Counter(this.greeting); final String greeting; int createInitialState() => 0; @override Widget build(StatefulBuildContext context, int state) { return Boilerplate(Column(children: [...

> This exacerbates the "build methods are too big and hard to read problem". Imagine you have a monolithic stateful widget whose build method is getting unwieldy. Ideally, you'd take...

@Hixie @tatumizer I like the idea of “data classes”/records like that, but Im not sure how that would look like in my widget above with inheritance. And also how do...

I agree with munificent. But I think Dart needs the exponentiation operator `**` for some cases: ```dart const largeThing = 10**14; ``` Dart should then allow exponentiation of constant numbers...

I tried to fix this with a couple of changes. First, I added `needsRegularUpdate: false` to all elements that contained mathjax (and didn't need updates). Then I changed the JXG.board.prototype.moveObject...