Open in app

Sign In

Write

Sign In

Matan Lurey
Matan Lurey

579 Followers

Home

About

Published in Dart

·Aug 30, 2018

Dart 2: Legacy of the `void`

One of the questions I see the most asked on StackOverflow, Gitter, and even Google-internal support channels is the difference between the following built-in types in Dart 2: Object, dynamic, void, and Null. Long-story short, Null (or Bottom in other languages, i.e. “Nothing”) shouldn’t be used in most real user-code…

Programming

4 min read

Dart 2: Legacy of the `void`
Dart 2: Legacy of the `void`
Programming

4 min read


Aug 8, 2018

Dart 2 for fun (and profit): Types!

One of the most exciting changes to Dart, in Dart 2, is the holy grail combination of removing optional types and adding powerful type inference. The former means there is no more differentiation between a “checked” (type annotations kind of matter) and “unchecked” mode (type annotations don’t matter at all)…

Java Script

7 min read

Dart 2 for fun (and profit): Types!
Dart 2 for fun (and profit): Types!
Java Script

7 min read


Dec 15, 2017

TypeScript for 48 hours: What I learned

I participated in Ludum Dare 40 with a group of friends who are mostly non-programmers. The end result of our terrible game is here (source code). I thought about several different languages to build with, but settled on a browser-based game for ease of use (nobody needs a special device)…

Java Script

8 min read

Java Script

8 min read


Published in Dart

·Jul 4, 2017

Building data binding in the browser

Data binding, or updating the view (usually UI) from your application’s code is probably the holy grail of browser-based web frameworks — the reason they exist, and the reason web standards have tried to shift in order to make it easier to “use the platform”. In this blog post I’ll…

Java Script

9 min read

Building data binding in the browser
Building data binding in the browser
Java Script

9 min read


May 1, 2017

Building a reactive FPS Counter in Dart

As an example of how to build FRP (functional-reactive program[s]) in Dart, I decided to try building an FPS counter — that is, an utility to determine what the frame rate of a running application is. I decided I’d like to have a few goals: The library, hereby package:fps, should…

Java Script

2 min read

Building a reactive FPS Counter in Dart
Building a reactive FPS Counter in Dart
Java Script

2 min read


Apr 28, 2017

Writing ridiculously reusable Dart code

One of the most common questions I get for Dart, even within Google, is “how do I make my code more reusable?”. We work on large projects like AdWords, AdSense, and Google’s internal CRM, Greentea — which are all written in Dart. I was working with an engineer who was…

Java Script

2 min read

Writing ridiculously reusable Dart code
Writing ridiculously reusable Dart code
Java Script

2 min read


Apr 27, 2017

Possibilities for function overloading in compile-to-JS languages

We’re constantly talking on the Dart team about how to improve the language (like non-nullable types), and one of the features that has come up informally a few times is function overloading: In some programming languages, function overloading or method overloading is the ability to create multiple methods of the…

Java Script

3 min read

Possibilities for function overloading in compile-to-JS languages
Possibilities for function overloading in compile-to-JS languages
Java Script

3 min read


Published in HackerNoon.com

·Apr 26, 2017

Are Futures in Dart threads?

Well, no. Dart has a single thread, or event-loop, of execution. However, commonly you’ll see a code using Future have a comment something to the effect of “// Avoid race conditions: Check for …”. What does that mean? New to futures? Read asynchronous programming: Futures on the Dart site. While…

Nodejs

3 min read

Nodejs

3 min read


Published in Dart

·Apr 24, 2017

An intro to immutability with Dart

It’s impossible to deny that immutability is a hot topic in programming, especially front-end programming. Libraries like Immutable.js and other concepts like unidirectional data flow have argued it’s easier to reason about data when it doesn’t change underneath you: In object-oriented and functional programming, an immutable object (unchangeable object) is…

Java Script

2 min read

Java Script

2 min read


Nov 14, 2016

Lazy loading with Angular Dart

A little known fact: Angular Dart has supported lazy loading since 1.0. What does lazy loading (called deferred loading in Dart) do for you? You can break up your application into small, dependent parts It works on every browser — automatically without polyfills Use fully typed Dart code — even…

Java Script

4 min read

Lazy loading with Angular Dart
Lazy loading with Angular Dart
Java Script

4 min read

Matan Lurey

Matan Lurey

579 Followers

Software engineer @Google and @Dart_Lang. Opinionated.

Following
  • ReadWrite

    ReadWrite

  • Kevin Moore

    Kevin Moore

  • Tim Sneath

    Tim Sneath

  • Michael Thomsen

    Michael Thomsen

  • Ben Konyi

    Ben Konyi

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech