3 ms·
I personally think if you have raw, irrational, visceral reaction to programming languages, there's some priorities problem here. Those are tools. You're suppos
by smsm42 13y ago
I personally think if you have raw, irrational, visceral reaction to programming languages, there's some priorities problem here. Those are tools. You're supposed to use them, not fall in deep emotional love (or hate) with them, that's what you do with people, not tools. I know this opinion may be unpopular and I know people do fall in love with tools (and use people) but I think they're doing it all wrong.
- eevee 13y agoTools should be designed to fit with humans; the goal is to minimize how much humans have to contort themselves to fit their tools. There'll always be some degree of learning and adjusting. But a mallet is still an improvement over a rock, because it's designed to fit in a human hand. I doubt anyone scoffed at the mallet and blogged that rocks have 80% market share so why can't we just get over it already.
- smsm42 13y agoThat's fine. People have different needs and preferences. Some drive Honda Accord, some drive BMW convertible and some drive GMC truck. It's just looks a little silly when Accord driver comes out and starts pronouncing that trucks are absolutely useless and he has deep visceral hate with anything that ugly stupid space at the back that nobody ever needs and millions of people that buy trucks are actually idiots just incapable of driving a clearly superior Accord.
- eevee 13y agoI'm not sure how to reconcile this analogy with the existence of government programs (carpool lanes, tax incentives for hybrids) that encourage the use of more efficient cars with more people in them, on the grounds that it's better overall for the ecosystem.
- smsm42 13y agoI sincerely hope you don't imply you'd like government coercion to be used on people "for their own good" when they choose what tool to use for their purposes. Or for the government bureaucrats to select winners in software world and facilitate wealth transfer from actually popular tools to those that are only viable as beneficiaries of government coercion.
- vectorpush 13y agoI think his point is that the truck analogy doesn't favor PHP when he considers that society has made an effort to reduce the use of trucks due to their general inefficiency compared to sedans. I think the analogy fails because trucks and sedans are different tools for different purposes (one is better for transporting people, one is better for transporting cargo), while PHP and Ruby pretty much do the same thing, one is just prettier and streamlined.
- smsm42 13y ago>>> while PHP and Ruby pretty much do the same thing Says who? >>> one is just prettier and streamlined. By which objective measure of "prettier" and "streamlined"?
- vectorpush 13y agoSays who? Says the fact that PHP and Ruby are both object oriented imperative scripting languages that are commonly used for connecting to a DB and spitting out markup. It's impossible to shove a refrigerator into the back of a sedan, but there is no analogous refrigerator that PHP xor Ruby is incapable of hauling. By which objective measure of "prettier" and "streamlined"? Well it is subjective, but the nebulous consensus is that Ruby has a cleaner and more readable syntax than PHP.
- smsm42 13y agoAny Turing-complete language can do any computational task that is computable by Turing-complete languages, so by that criteria every language is the same. Obviously, in practice they are not. >>> Well it is subjective, but the nebulous consensus is that Ruby has a cleaner and more readable syntax than PHP. Consensus of whom? "Nobody I know voted for him", right?
- Nekorosu 13y agoIt's not about love. Applied to programming tools beauty/ugliness describes a set of special qualities: expressiveness, readability and mathematical symmetry of it's structure. The process involving the tool which lacks this qualities is more prone to human errors. Also a bit of emotional attachment to the things you do everyday is good for your mental health. The lack of it is a sign you should change your job or even occupation.
- smsm42 13y agoThe problem is that if you look into the things these qualities applied to, you'd find that correlation between virtually any objectively measurable quality and love feelings expressed is minimal to non-existent. There's no objective measure by which you can conclude Ruby (as an example) is "more readable" than PHP. Of course, you can say "it's easier for me to read Ruby", but that's different thing - it's pretty easy for me to read Russian, but that doesn't mean I get to claim Russian language is superior to Mandarin, which I can't read at all, or to English, which I can read as easy, but probably appreciate the subtle meanings of it less. Yet more it doesn't make sense to me to express visceral hate for Mandarin each time it is mentioned anywhere or express my loathing and disgust to anybody that keeps using it, despite its obvious unsuitability to any practical purpose.
- jonahx 13y ago> There's no objective measure by which you can conclude Ruby (as an example) is "more readable" than PHP. Of course there is. You could, for example, survey developers who had experience with both and ask them. If you wanted to be more scientific, you could randomly select a group of freshman computer students, randomly assign half to a ruby group and half to a php group. Teach the ruby group ruby for year 1 and php for year 2, and vice versa for the php group. Then survey everyone. The point is you are trying to make this into an amorphous philosophical issue, when in fact it's a practical question that does have an answer. This is not scientific, but it is a personal observation: Most (not all, but most) of the developers I've met who make the arguments you are making and defend php as "just as good as any other language" and dismiss its detractors as hipster bandwagon followers don't actually have that much experience working with a language like python or ruby. It's rare to find people with lots of experience in both php and ruby/python who prefer php. Again, that's not "proof," but it's what I've observed personally.