8,901 karma · joined Sep 5, 2009 (17y ago) · 4,581 submissions
Instruction Set Egret
Opcode Pelican
Function Sparrow
Heron of Homoiconicity
Script Pigeon
Topcolor gallery:
#729883
#cc1010
#70907d
#668b33
#399044
#256f56
#42bec6
#Be8489
#92c4a0
#117f7fcomment 15y ago · link · parent
comment 15y ago · link · parent
I'd take waiting months or years over a choice between no health care or extensive debt/bankruptcy.
If I was in the country illegally, or had no assets or desire for future credit, I could go to an emergency room and receive plenty of services without a need to pay a cent. As a law abiding, legal citizen with moderate assets, my options are very limited in the US. In all directions regarding healthcare, there is an absurd subsystem seemingly designed to require that one works for a large corporation which provides health benefits.
comment 15y ago · link · parent
Considering the ridiculous prices for health care in the US, we could easily knock 50 trillion off that by just sending all those seniors to Canada for health care. Or perhaps reforming our health care system to not charge 3x as much for worse services than are available in more civilized countries? I think someone tried that, but the people who plan to pocket most of that $99 trillion weren't happy at all about the prospect.
comment 15y ago · link · parent
Python's dict.get is a bit like the getOrElse found in Scala. It's quite handy and can be seen as advanced conceptually.
I actually added some code like that to a recent post about PHP here: http://news.ycombinator.com/item?id=2771304
comment 15y ago · link · parent
The conclusion of this article is a rather bland design, in my opinion, which looks like 50 other sites out there and has no space for ads. Hardly worth the wall of text created to herald it.
comment 15y ago · link · parent
comment 15y ago · link · parent
Once they've criminalized being a common person, then the government can exercise discretion and selection to eliminate people they does not like, for any reason.
comment 15y ago · link · parent
What do ECMAScript interpreters do in such a situation?
In the example you gave, this is dependent upon operator precedence. Presumably any method calls are resolved prior to type coercion. This is how PHP and most languages work anyhow, correct? If you do `$this->do_something() + 20`, the method's return value is used. It doesn't try to turn $this into an integer and then call a method upon it. Same for `bcadd($anObj->meth(),34)`. So... I think that isn't a problem.
comment 15y ago · link · parent
The older functions could still exist for backwards compatibility, but people who want to write clean OO code could use the new style. $anArray->map(function(){}), $aString->pos('cow'), etc.
This would be a big step for PHP, and bringing the language closer to parity with Ruby and Python. Not sure how it works with eager type coercion, but JavaScript does it somehow.
comment 15y ago · link · parent
comment 15y ago · link · parent
3082.
Etsy AB2: framework for A/B testing, feature ramp up, and more(github.com ↗)
2 points · by code_duck · 15y ago · discuss
comment 15y ago · link · parent
comment 15y ago · link · parent