Comment Re:Boy oh boy! (Score 1) 414
wait a minute...
The most effective debugging tool is still careful thought, coupled with judiciously placed print statements.
Brian Kernighan, true as it ever was, and always will be.
In theory, people shouldn't know more than what collection to use...
i think the theory and practice in your statement are exactly backwards. in theory, people shouldn't use tools they don't understand the implications of. if you don't know how some library is going to behave in all cases your program could conceivably encounter (and many it couldn't), you shouldn't be using it. in practice, we all end up doing so, if only because of the volume and scope of what we're dealing with, and the fact that what we're doing shifts over time. still, i think we'd want that gap to be as small as possible.
My argument is that learning to implement a sorting algorithm will not impart special knowledge beyond the experience that can be attained by completing virtually any other task. Like I said above, I see absolutely zero value in the ability to recite a particular solution from memory.
the problem is that you're conflating two different things. the "ability to recite a particular solution from memory" is largely, i'd agree, useless in most cases. but that's not really what this is about. the process of learning imparts special knowledge beyond what is learned. you begin to understand the "whys" of things in ways that you simply cannot if you've never learned the thing.
in most ways, statements of the form "you must know X" are really proxies for statements of the form "you must have learned X" (even current retention is less important), mostly because they're so much easier to verify.
The one who threatens to stop delivering cargo to country-X if it can't defend itself against piracy.
not likely, at least not in the face of competition not making such demands. see below.
The other will never make it to any ports.
well, now that's fairly obviously false, isn't it? given that the prevailing rule is that conventionally armed ships are not allowed into many ports, and most ships comply to get into most ports, and most ships get to their destination, your claim looks pretty foolish.
you have this idea that Maersk could simply dictate terms, but that's not true (or they would have done it already). as long as there's enough competition (and you only need a handful of companies, not a diverse ecosystem), someone will be willing to say "we'll take our chances with the water cannon and oversized loud speaker in exchange for Maersk's share of your traffic".
mind you, i think it's quite likely that the government in question would, in fact, cave to Maersk's demands, but there isn't really an economic reason to do so, at least in this market. we've just built a global culture where governments are afraid to stand up to corporate interests.
and your last paragraph seems like a total non sequitur to me. what does what you said have to do with your inability to imagine any plausible motivations for this "anything but guns" mandate other than hippy love? i just don't follow.
we need more of these head-to-head jackass elimination contests!
You carry a squirt gun, I'll take a fully-armed crew carrying M-16s.
okay. but only one of us will be able to enter many international ports. know which one?
this isn't about "feelgood BS", it's about international and local laws, primarily, and the safety of crew and innocents they come into contact with.
look, i've not seen anyone get particularly defensive of the pirates. if you're raiding, kidnaping, ransoming, and killing, well, you take your chances with getting mowed down. but i find it really interesting that you can't come up with a single good reason why a traditional firearm might not be the best plan other than some straw man hippie love.
If the movie Aliens taught us anything, it's that sheer rough-n-ready manpower is not always the answer.
no, Alien taught us that. Aliens taught us the opposite: best response is to take off and nuke the site from orbit. weren't you paying attention?
as penance, you now have to go watch Alien 3.
It seems that more and more mathematicians are using a new, high level language named "research student".