News for hackers. Stuff that matters.
Re:Language Design: Use 'ident: Type' not 'Type ident' by MayorMonty on Friday May 01, 2020 @05:29PM (#23046710)
The first point is the most appealing to my brain at least. Type inference is a really useful feature (when paired with a nice IDE) and having a single standardized prefix to declare variables regardless of what type it is can help the mental model. This is especially true with more complex non-obvious types, where you may not know exactly what type you have without the hint from your environment

There are no comments on this comment yet.