84 karma · joined Jul 17, 2017 (9y ago) · 43 submissions
comment 2y ago · link · parent
comment 2y ago · link · parent
> Also, here you're prioritising your work over someone else's.
That's what the whole article is about. The struggle is that holding a context in your mind is easily broken by small interruptions. It's not by choice. So the question is how do you reconcile people on both sides working together.
comment 3y ago · link · parent
comment 3y ago · link · parent
// Beware the SI's broken definition
// of Hz. You should treat the radian as being correct, as a fundamental
// dimensionless property of the universe that falls out of pure math like
// the Taylor series for sin[x], and you should treat the Hz as being a
// fundamental property of incompetence by committee.
...
// You are perfectly right. You are perfectly wrong. You look dumb and
// unreasonable. The person arguing the opposite looks dumb and unreasonable.
//
// Hz == YOU CANNOT WIN
//
// (Insert "IT'S A TRAP" image here.)comment 4y ago · link · parent
I personally like adding easter eggs to my own code, but I wouldn't do it in software used by billions. At most a funny comment in the code, but nothing executable.
comment 5y ago · link · parent
> 95% to 98% selected the curvy shape as "bouba" and the jagged one as "kiki", suggesting that the human brain somehow attaches abstract meanings to the shapes and sounds in a consistent way
So apart from visually impaired (from birth) people, we may have a pattern in mapping shapes to phonemes.
comment 6y ago · link · parent
comment 6y ago · link · parent
Part of the issue is that, while you can use the usual C idioms in C++ (e.g. a function takes an array and its length as arguments), you don't need to, especially if you're using C++ correctly. This is one of the points of the article.
Like hellofunk said, this has nothing to do with the type system. But the solution to what you're talking about is fundamental C++: use the standard library.
comment 6y ago · link · parent
However, since all the code is open source, third parties often do benchmarks across platforms. Michael Larabel from Phoronix does a really good job of this.
comment 6y ago · link · parent
Having said that, I don't know what a wearable would look like. I don't think smart watches are the future - just a stepping stone in the wearable direction. It's too small to replace a smartphone, and doesn't have a flexible user experience. For example, I lose one hand's worth of interactivity with a smart watch, and I have to keep my arm bent to do so.
Where can you wear something that you can still easily interact with? I dunno. Maybe a James Bond shoe phone.