News for hackers. Stuff that matters.
Re:Announcing Dart 2 Stable and the Dart Web Platform by leshow on Wednesday August 08, 2018 @09:41AM (#17715822)
The asterisk was formatted out. Read the book, they are types.
Re:Announcing Dart 2 Stable and the Dart Web Platform by EugeneOZ on Wednesday August 08, 2018 @01:38PM (#17717789)
So you can write "let x:const = 5"? if "const" is a type.
Re:Announcing Dart 2 Stable and the Dart Web Platform by leshow on Friday August 10, 2018 @10:16AM (#17733423)
You were just told the formatting removed the asterisk. const isn't a type, but a const pointer is, so is a mut pointer. It says so in the book AND it's in the position of a type in the code. What other information do you need to convince you that you're wrong?