Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
petke
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
121.
▲
by
petke
11y ago
That makes it sounds rarer and worse than it is. I think its more a choice than a medical disorder. Its quite normal. If you work at home and have no family or other obligations that keeps you in sync, you tend to sleep in a bit longer than
122.
▲
by
petke
11y ago
For me night time is lazy time. The world is asleep and it doesn't demand anything of me. So I take it easy and dont get much work done. I wake up late and have to play catch up with the world again. The few times I wake up early I hav
123.
▲
by
petke
11y ago
Its human nature to always want more. Calls for people to conserve more wont work because of this. We have to start taxing pollution so that the external costs are included in the products and services we consume. Then only the few filthy
124.
▲
by
petke
11y ago
I think Herb Sutter and Bjarne Stroustrup where against it. Its like a glorified ifdef. Its too low level a solution. Concepts solves the same problem in a higher level manner. Edit: https://isocpp.org/files/papers/
125.
▲
by
petke
11y ago
Thankfully the pendulum has swung back since the 90s. Stepanov, the inventor of STL (The C++ Standard Template Library) was the pioneer in avoidance of OO. It was truly revolutionary, and had such a huge influence on library design that to
126.
▲
by
petke
11y ago
We will probably get "uniform call syntax" with C++17. So methods can be called with free function syntax and vice versa. They really are the same. http://www.open-std.org/jtc1/sc22/wg21/docs/pa
127.
▲
by
petke
11y ago
Im not sure how it is today but when I grew up in Finland in the 80s all the most popular tv-series for kids where in English only. Of the top of my head: The Transformers, Inspector Gadget, M.A.S.K., He-Man, G.I. Joe, My Little Pony, Care
128.
▲
by
petke
11y ago
Its the same in my case. Me and my class mates where taught Finnish from 1st grade, and English from 5th. (We where taught Finnish because we are Swedish speakers living in Finland). Even after all those years of lessons. Few of us spoke ev
129.
▲
by
petke
11y ago
Ever noticed how people from small countries in Europe often tend to speak English well, while people from big European countries dont? Think Sweden vs Italy. Its mostly just a happy accident. You see, in small countries they usually dont d
130.
▲
by
petke
11y ago
I dont think I agree. Abstraction in my view is (mostly) about removing implementation details that dont change from one implementation to another. Its about removing boilerplate until just the fundamental features of the implementations r
131.
▲
by
petke
11y ago
People often think of C++ as a Object oriented language. That a very old fashioned way at looking at it. Most modern C++ code avoids OOP like the plague. For instance the author of STL (The C++ standard template library) calls OOP, philosop
132.
▲
by
petke
11y ago
No need to worry. They only adds zero cost abstractions. As in, no abstractions or features are added that have a runtime performance cost compared to the optimal hand crafted solution. The standards committee is very anal about this. Also
133.
▲
by
petke
11y ago
Its the same logic as with toy commercials aimed at children. Children influence their parents by nagging, and patients influence their doctors by nagging. Parents don't want unhappy kids, and doctors don't want unhappy patients.
134.
▲
by
petke
11y ago
Thankfully we will get modules in C++ soon. Hopefully the (Microsoft) version that deprecates the preprocessor.
135.
▲
by
petke
11y ago
Sounds a bit like like https://en.wikipedia.org/wiki/Rubber_duck_debugging
136.
▲
by
petke
11y ago
The sea near where I live throws up huge amounts of sand each winter storm. It just keeps coming. The owners of the bay beach are give it away for free. They just cant get rid of it quickly enough. I take a few dump trucks worth every year.
137.
▲
by
petke
11y ago
On the other hand "Make doing the right things easy and the wrong things hard" are good design rules. Putting something alive into a refrigerator and leaving it there, will probably make it dead. It might be a serious mistake by
138.
▲
by
petke
11y ago
"I mean, who doesn’t want to be simple ? And what better way to frame a debate as simple; good, complexity; obviously bad. Could we say then that simplicity will be Go’s lasting legacy ?" I think this misses the point. Complexity