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.
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.