News for hackers. Stuff that matters.
Re:Exploring Flutter for Cross-Platform Mobile Development by tomatsu on Sunday May 28, 2017 @06:37AM (#14433829)
> Why do I need to care if something takes a `child: (single object)` argument or a `children: [LIST of objects]`?

The IDE tells you what's needed and the latest version of the plugin automatically adds a list literal and places the cursor inside it:

https://groups.google.com/forum/#!topic/flutter-dev/LXafJQqS...

Personally, I think it makes sense to differentiate between exactly one and zero or more.

> Why do I need to memorize which objects take which styling arguments?

The IDE should do that for you.

Re:Exploring Flutter for Cross-Platform Mobile Development by mmjaa on Monday May 29, 2017 @08:12AM (#14438706)
>The IDE should do that for you.

Fail. IDE dependence is an anti-pattern and a programmer-smell.

Re:Exploring Flutter for Cross-Platform Mobile Development by tomatsu on Wednesday May 31, 2017 @01:48PM (#14454469)
Either the IDE/editor is able to assist you or you have to consult the documentation regularly.

That's just how it is.

JS' standard library, for example, is really tiny but I haven't memorized all of it. If the editor can't clue me in, I have to check the docs.

Re:Exploring Flutter for Cross-Platform Mobile Development by mmjaa on Thursday June 01, 2017 @04:57AM (#14458849)
Nothing wrong with doing any of it, as long as its a dependency you can manage while also maintaining productivity... but such is the life of a Javascript developer.