Results 611 comments of Ian Hickson

> A simpler solution might be to treat `null` as falsey like most other languages do. Please don't do that, I catch all kinds of bugs via our current "it...

@munificent I use a _lot_ of nullable types (that is, types that I want "null" to be valid for).

FWIW in my use case I ended up just creating my own tiny package that takes the superset of arguments I wanted to provide to the various clients, and provides...

not yet public but it's basically four files, http.dart, http_io.dart, http_stub.dart, and http_web.dart: ```dart // http.dart export 'package:http/http.dart'; export 'http_stub.dart' if (dart.library.io) 'http_io.dart' if (dart.library.js_interop) 'http_web.dart'; ``` ```dart // http_stub.dart...

Trying to understand the use case here better, is the idea that you would be navigating a codebase (e.g. on GitHub) and you would want to quickly see for each...

That sounds like a yes? That seems like a reasonable use case. It looks like https://pub.dev/packages/idea_widget_preview is indeed working on that use case, is it sufficient for your needs or...

FWIW the author of that package says [they'd be happy](https://github.com/andrasferenczi/idea_widget_preview/commit/c94d351a5e12e4860a7f852ba59738ec127c6353#commitcomment-124557714) for someone to take it over, it sounds like they just moved on to other things, it wasn't a technical...

(Assigning to myself to follow up on the idea and maybe write a design doc, not to implement it.)

avoiding having to explicitly write code for this (like with swiftui/jpc) would be a huge win.

I was just talking to @stuartmorgan about a related topic on Discord and expressed that I think if I were designing the versioning system from scratch, I would probably use...