News for hackers. Stuff that matters.
Re:Developer UX at Google by ktta on Wednesday August 02, 2017 @08:46AM (#14910073)
This[1] was linked to in the post.

I've been playing around with flutter, and saw a lot of code similar to this. Where is this style from? I've written apps in Java for Android but never encountered such style.

The post refers to this as problematic because developers fail to map the code spatially. While I agree, I also find this kind of code very unreadable and unelegant. I'm interested in what others think. Isn't this a part of the UX? It becomes a bit hard for me to maintain proper context with this way of writing code.

[1]: https://gist.github.com/anonymous/6dcf061bad914e1a0d18653eda...

Re:Developer UX at Google by sethladd on Thursday August 03, 2017 @02:39PM (#14922419)
(disclaimer: I'm on the Flutter team)

We're looking at ways to make it easier to glance at and understand Flutter code. Here's one experiment: https://github.com/Dart-Code/Dart-Code/issues/383

Notice how we're auto-inserting "synthetic" comments to clearly mark the closing parens/brackets. So far, the feedback has been very positive, it helps improve scanning and reading the code.

Feedback welcome (via the GitHub issue :)

Re:Developer UX at Google by ktta on Friday August 04, 2017 @02:24AM (#14926732)
That looks a lot better! Thanks for working on these little improvements too.