499 karma · joined February 27, 2009
Aren't those the customers less likely to quibble over paid wi-fi?
When I was flying for business (almost exclusively Delta), I would pay for the wi-fi every single flight. And I never thought twice, because I was expensing it.
At worst, I thought it was tacky for Delta to nickel-and-dime me (well, the client, actually). The only time it would matter to me personally, is when I was flying for pleasure, on my own dime.
Directing resources to those already best-placed to use them is tempting, but taking it to its logical conclusion only perpetuates "the rich get richer and the poor get poorer." That, by itself, is a recipe for collapse over the long-term.
Again, without even touching on the moral aspects.
And that's without even getting into the morality of inherent advantage.
I think you misunderstand my position. It's better for the creator to simply specify it when they write the code - i.e. static typing.
> the type profiler makes no attempt whatsoever at discerning the "meaning" of the data
Your examples are waaay beyond what I need or expect. What I need is for the program to recognize that, for a number, 123 and 456 are valid, but "abc" will never be. Conversely, for an identifier, no matter how many runs use values like 123, someday someone might provide the value "abc" and that's ok. Also, any code that attempts to sum up a collection of identifiers should not be runnable, even if the identifiers in question all happen to be numbers.
This is something that static typing provides, and no amount of profiling will ever be able to divine.
> In the vast majority of cases, you will find that your brain already has a very specific type in mind for each variable
Sure, for the code I write. But I've seen plenty of code written by juniors where, upon inspection, it was completely inscrutable whether a given parameter expects an integer, a string, a brick wall or a banana.
Which is all to say that my default position is unchanged: dynamic typing is unhelpful for anything larger than small, single-purpose scripts.
How does the type profiler know that the variable that only contained values like "123" or "456" was handling identifiers, not numbers?
Is it, though? Maybe from a biological perspective, but definitely not in terms of lifestyle.
The times I've needed to lose weight, the first few pounds came off easily, because I usually just need to clean up a few bad habits. But then I typically settle in to a set point that's still above a healthy weight. At that point, further reductions require more and more calorie micromanagement.
Sure, there are times when I don't know or don't have the time to come up with the best structured solution, but have to put something out there that just works. I would argue that's where you should strive to make it even more readable, because the uncertainty means the odds of having to revisit it later are even greater.
And my argument is that readable code is the most direct route to that state.
> > And code is always incorrect.
> This makes a strawman of my argument.
It would if it was actually part of my argument, and not a cheeky parting shot.
Here's the straightforward version. In my experience, the most productive way to approach code is to assume that at some point a bug will be found, or you will have to extend it. You may disagree, of course, but my views all flow from this assumption.
If your code is correct but unreadable or disorganized, it will be hard to extend.
If your code is incorrect, but organized and readable, it will be easy to fix.
If your code is incorrect and organized, but unreadable, it will be hard to fix and extend, but easy to make it more readable, thus more extensible and fixable.
If your code is incorrect and disorganized but readable, it will be hard to fix and extend, but easy to refactor, thus more extensible and fixable.
And code is always incorrect.
I have the Elite 85t and it works fine with my Android phone and both my Dell Win 10 machines, so it may be a Mac issue. No excuse for their shitty behavior, but I'd research Mac-specific BT fixes.
Or it could be an issue with the button functionality. Try disabling button actions for calls in Sound+.
https://reprog.wordpress.com/2010/04/25/writing-correct-code...
I have no idea what the rationale for this is, especially considering the potential for corrupting the emphasis of the original headline, like in this case.