Hacker Newsnew | past | comments | ask | show | jobs | submit | squidbidness's commentslogin

Worth pointing out though that we do already know the answer: 42


Yes, so we would require a 3rd, maybe a 4th?


To my understanding, "common-law" technically refers to the body of precedent that the United States grandfathered in from English jurisprudence and prior colonial practice into the new United States government, as opposed to "precedence", which is the general principle by which prior rulings at the right scope are respected like statutes are. But that's just a semantic quibble.

But on the question of the weight that precedence carries: I'd be curious how you feel about federally enforce integration of schools as a result of Brown v. Board of Education, or abortion as a right thanks to Roe v. Wade, as two examples of seminal increases of rights resulting from the heavy role of precedence.

Personally I'm a bit of a hybrid in my own opinion. I'm partial to the sentiment that the legislature is the supreme branch of the Government, being the representatives of the people. So in principle, I'm opposed to drastically new doctrines arriving by way of court ruling, especially when they seem a little too "creative" and go outside the scope of interpreting existing law and statute into the territory of what "ought to be law". I prefer that such significant changes be a matter of federal statute, or when they're a matter of novel constitutional interpretation, that they originate in actual constitutional amendment. (Though even then in the case of federal statute, there are very real questions about how and when the federal Congress may override the states, and jurisprudence/precedence has been an important part of working out those questions).

But on the other hand, I am strong a believer that once a court with sufficient scope and jurisdiction has ruled, and a further appeals process is either at a dead end or would be too injurious for various reasons, then upholding the rule of law is of preeminent importance to the stability of society against the breakout of violence or factionalism. So, for example, in the case of Roe v. Wade, I feel the ruling was far too creative and far too tenuous in its actual references to the Constitution. Nevertheless, it is now the law of the land, and if I want the other protections the government provides and protects for me, I feel it would be hypocritical to flout that law just in the cases that I prefer. I actually feel that the outcome of Roe v. Wade was morally egregious; but I won't rebel against it or seek redress outside the established legal order unless I feel ready to morally take responsibility for the potential consequences of anarchy or of violence outside the civil order. Of course, not every question of civil disobedience is realistically divisive or pervasive enough that civil war is likely if I or others rebel. But civil war and anarchy can be the product of a thousand cuts, as it war, and if I had to oversimplify and take it to an extreme, I would say that I do not feel morally justified in flouting a nationally established law unless I feel sure that even the risk of widespread death and war might be warranted. Even with ongoing inequities and injustices (sometimes severe and chronic) in American Society, I still personally feel we generally (generally!) enjoy such a magnitude of protection, liberty, and privilege in this country, and I'm not sure that risking that is truly moral on the balance.


I love the irony in this.


I love how github fosters discovery and remote collaboration, though one of its liabilities is when great git command-line features are effectively lost unless github re-implements or exposes them, because some conventions incentivize only doing what github itself can do.


I see from retina_sam's comment that there's a fellow Mormon commenting here ;-)


A plausible financial incentive for them would be rent-seeking: they might be afraid they lose money on the balance if you only have to buy the game once. Doing it this way they have a shot at getting money from you again for the same game when new consoles come out.


IIRC Stroustrup mentions a desire for features such as these for versions of C++ after C++17.


C++11 c++14 c++17 does that mean that we might see a match statement in c++20? It would be a significant addition - similar in complexity to anonymous functions.


i remember that Bjarne Stroustrup held a talk in cppcon15 where he talked a lot about the GSL library [1] - it would add type annotations that can be checked by a tool, so as to check for potential memory problems (to me that sounds like a poor man's borrow checker).

One year later: i see the template library [1] but i don't see the analysis tool. Does anybody know what happened with this initiative?

[1] https://www.youtube.com/watch?v=1OEu9C51K2A

[2] https://github.com/Microsoft/GSL


The tools are called clang tidy and Visual Studio 2015 Update 3.

Other vendors might eventually add support as well.


To clarify a question raised in this write-up:

"auto [a , b , c] = getvalues();

"The braces are needed, getvalues returns a tuple. std::pair is not mentioned in the proposal, so its unclear if this works with pair, which is returned by the STL in some insert methods."

Destructured bindings will work with arrays; plain aggregate structs; and any class that offers a specialization of std::get<>(), so both std::tuple and std::pair are supported as a consequence. (C++11 added std::get<>() for std::pair).


What if the number of lhs values don't match the number of rhs values?


Compile-time error:

Otherwise, if the expression std::tuple_size<E>::value is a well-formed integral constant expression, the number of elements in the identifier-list shall be equal to the value of that expression

(E is the return type of "getvalues" in squidbidness's example, the initializer-list is "a, b, c".)


Pedantic correction: "less they become ..." should be "_lest_ they become..."


But that's just the prior, isn't it? What's the full Bayesian picture?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: