Irakli Gozalishvili
Irakli Gozalishvili
My point is Null objects are quite exotic, JS makes them mainstream and more things to comprehend is rarely makes things simpler.
Take a look at lua very similar to JS with much less misfeature than in JS (including this one). Does great without Null objects or special Constants etc.. Very simple...
There are languages where `nil` is used in cases where JS uses either `null` or `undefined` (for example take a look at Lua). Works great and no one really misses...
Sorry I submitted this in a rush, and forgot to provide more context. The reason this came up is I'm having to do this nasty bit of a hack: https://github.com/ipfs/js-ipfs/pull/3081/files#diff-833dfdb70fcd89365dc3bddf93f78e7eR57...
> @Gozala probably better to remove class-is and just use `validateCID`. @hugomrdias remove from where ? All of the code base ?
@hugomrdias sorry I'm not sure I understand what you mean by: > @Gozala probably better to remove class-is and just use validateCID. Remove class-is from `cids` library ? If so...
> I think it can! However, while it will increase instances creation performance, it will decrease isX invocation performance, as it will have to fallback to the prototype. > Not...
@tom-james-watson I have started dgram-adapter with a hope that someone from community will pick it up and actually drive it. I have not had a chance to look at the...
After some researching it appears that lack of `referrer` / `Origin` is a [known issue](https://github.com/electron/electron/issues/7931) that is commonly mitigated via [`WebRequest`](https://github.com/electron/electron/blob/master/docs/api/web-request.md#class-webrequest) which allows setting headers before request is passed to...
I did bunch of fixes. All WRITE APIs except `writeFile` seem to work at least in self mutable dat scenario. I was unable to get `writeFile` / `configure` to work...