Discussion:
[dart-misc] Notes from last week's DEP meeting
'Bob Nystrom' via Dart Misc
2015-10-20 17:00:09 UTC
Permalink
Here's my notes:

https://github.com/dart-lang/dart_enhancement_proposals/blob/master/Meetings/2015-10-14%20DEP%20Committee%20Meeting.md

Cheers!

– bob
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Gen
2015-10-20 19:10:46 UTC
Permalink
Dealing with lazy compile errorsFor running some prototype code within the
IDE, it is nice that not all code is required to be valid.
For final code and automated testing, any invalid code should be eagerly
refused by the VM or compiler.

Config-specific code
<https://github.com/dart-lang/dart_enhancement_proposals/issues/40>
https://github.com/munificent/dep-interface-libraries/blob/master/Proposal.md
https://github.com/dart-lang/dart_enhancement_proposals/blob/master/Meetings/2015-10-14%20DEP%20Committee%20Meeting.md
I prefer error detection to be as early and complete as possible.

Besides I see no need for special true value constants if:
- For substitute libraries:
import libraryA or libraryB;
import libraryC if dartium or libraryD;
or:
import libraryA else libraryB;
import libraryC if dartium else libraryD;

- For alternative codeblocks:
import libraryA as x;
import libraryB as y if browser;
if(x) {
if(import libraryC){
....
}
...
} else {
...
}

- Optionally something similar in the .packages file
(https://github.com/lrhn/dep-pkgspec/blob/master/DEP-pkgspec.md):

unittest if browser:/home/somebody/.pub/cache/unittest-0.9.9/lib/

unittest if chrome:/home/somebody/.pub/cache/unittest-0.9.9/lib/


- Environment flags like platform flags can be declared in the .packages
file or can be given as arguments to the compiler.
Post by 'Bob Nystrom' via Dart Misc
https://github.com/dart-lang/dart_enhancement_proposals/blob/master/Meetings/2015-10-14%20DEP%20Committee%20Meeting.md
Cheers!
– bob
--
For other discussions, see https://groups.google.com/a/dartlang.org/

For HOWTO questions, visit http://stackoverflow.com/tags/dart

To file a bug report or feature request, go to http://www.dartbug.com/new

To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Loading...