Discussion:
[dart-misc] Any plan to remove ";" at each line ? :)
赵新悦
2018-01-24 18:31:19 UTC
Permalink
Any plan to remove ";" at each line ? :)
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
'Anders Sandholm' via Dart Misc
2018-01-25 06:11:42 UTC
Permalink
https://github.com/dart-lang/sdk/issues/30347
Post by 赵新悦
Any plan to remove ";" at each line ? :)
--
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
---
You received this message because you are subscribed to the Google Groups
"Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
Anders Sandholm, Product Manager, Dart
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Randal L. Schwartz
2018-01-25 15:10:23 UTC
Permalink
赵新悦> Any plan to remove ";" at each line ? :)

I was on a panel at a web-dev conference with Brendan Eich (the inventor
of JavaScript) during the first dot-com boom.

The first thing out of his mouth when he's introducing himself:
"I'm very sorry for optional semicolons... not sure what I was thinking."
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<***@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/Dart consulting, Technical writing, Comedy, etc. etc.
Still trying to think of something clever for the fourth line of this .sig
--
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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
'Bob Nystrom' via Dart Misc
2018-01-25 23:31:14 UTC
Permalink
赵新悊> Any plan to remove ";" at each line ? :)
I was on a panel at a web-dev conference with Brendan Eich (the inventor
of JavaScript) during the first dot-com boom.
"I'm very sorry for optional semicolons... not sure what I was thinking."
It's important to contextualize that. Each language that makes semicolons
optional defines its own rules for when a newline works like a semicolon
and when it does not. No two languages that I know of use the same rules.

When Brendan's talking about this, he's talking about *the specific rules
he came up with for JS* (in a famously short amount of time). Those rules
are understood to be terrible by just about everyone.

That's *not* an indictment of optional semicolons *in general*. Programmers
working in Go, Lua, Python, Ruby, Scala, Kotlin, Swift, etc. all happily
omit their semicolons with little ill effect.

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
---
You received this message because you are subscribed to the Google Groups "Dart Misc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to misc+***@dartlang.org.
Continue reading on narkive:
Loading...