Better HN
topnewbestaskshowjobs
Log inSign up

paxcoder

411 karma · joined Sep 29, 2011 (15y ago) · 459 submissions

I remain banned for not giving up discussing religion. Your ability to judge some of my contributions may be hindered, depending on your "showdead" setting. Beware of this unspoken policy if you're weighing contributing to this site.
Submissions

comment 3y ago · link · parent

Strange Loop presentation by the author of Cursorless: https://www.youtube.com/watch?v=NcUJnmBqHTY

comment 3y ago · link · parent

I deprecate early returns (at least for happy cases). What article are you referring to?

comment 3y ago · link · parent

I'm not sure I understand what you mean by multiple bindings? With if-let, binding to the variable is conditional, and it only happens if all parts of the chain return an actual value. Otherwise, as soon as one returns null, a jump can be made to the alternative branch. Am I missing something?

comment 3y ago · link · parent

Optional binding can refine the type.

https://docs.swift.org/swift-book/documentation/the-swift-pr...

comment 3y ago · link · parent

Restricted to `.case(:else: breakelse))` in the conditional, there seems to be no advantage to this over optional chaining.

And allowing `breakelse` in the branch obscures control flow.

Disclaimer: I am a return/break/continue skeptic. I think they obscure control flow too.

comment 3y ago · link · parent

From what I've gathered from Catholic exorcists, demons adopt different personas, and shouldn't be trusted about anything they say. The only questions the exorcist asks are those pertaining to the case, all in the interest of breaking the claim of demons and expelling them, in the name of Christ, the stronger man from the parable. As the Lord says, Satan is a liar and a murderer from the start, and when he lies, he speaks his native tongue. What I'm saying, keeping a database of demons makes little sense.

comment 3y ago · link · parent

That is not at all the conclusion the author draws from this experience of his. Here's more of the paragraph, you quoted:

>Earthly being open-source, you could already run your own Earthly remote runner (since we use Buildkit underneath, it was essentially a remote Buildkit), connect Earthly to it, and get similar benefits to Satellites even before this was a commercial offering. And so people did this on their own, hosting it in their own environment, without us managing it for them. Once we had this packaged up in a managed offering, people were flocking to it, mainly because they did not want to manage remote runners on their own.

The author blames the failure on not validating what the were building was what clients wanted.

1
456
16