Python, I think, has n number of ways of doing the same thing while Ruby's everything is object approach forces you down a single approach. So while reading ruby code, you usually don't have to shift your mental model from OOP to procedural/list comprehension etc.
If Ruby gets a good machine learning library on par with something like Pytorch, I am sure many folks will shift to it and we might see new DSL emerge.
How I wish that was a possibility. Unfortunately Python's dominance of ML and AI is a fait accompli. If anything is going to replace Python in this domain it won't be another scripting language with similar performance.
> A reminder that pretty much no lorry driver in india knows English.
It would be rare to find a lorry driver who can converse in English but most of them would know the words "Horn, OK, Please". Thye aren't obscure words and phone/smartphone is widespread in India with mostly latin script interface. So, while I agree that it has become kind of a protocol/decoration, drivers while knowing the meaning, wouldn't care much about it given that it doesn't hurt to write that and can potentially help.
> Of course you expect every passerby to steal your car and you act accordingly.
That would be an exaggeration. There hasn't been any vehicle theft in my wider social circle ever. I read news about capture vehice thieves and I wouldn't be careless about the vehicle but I wouldn't expect everyone around me as potential thief. May be things are different in TN.
I think the car stealing example was referring to the in-game behavior in GTA online. You expect car theft in GTA the same way you expect unsafe overtaking when driving in India.
My grandfather used to work in a goods shed so I knew my fair share of lorry drivers in the 90s. Horn ok please predates that era even. They knew not an sorts of English back then.
I agree and people are exeggerating the usage of horns more than it actually is.
> there's absolutely no need
But one use of horn that I found useful in India was to overtake on 2-lane hilly road. Now theoretically you should be able to see, may be hundred metres, ahead of you before you start the overtake or if you are not too keen to reach your destination, not overtake at all till you reach straight road with longer view. In practice though, trucks are slow moving and roads sometimes don't provide clear view of the road with twists and turns so it helps if you let the truck ahead of you know of your presence. Then truck dirver signals you with his hand when it is safe to overtake with his longer FOV. Apart from that, truck driver knowing of your presence can help him slow down his vehicle in case oncoming vehicle is cutting it too close for you to overtake the truck.
Is there a better way of doing this? Probably, by just avoiding any risky overtake by road markings etc. but as I said above, that could mean following the truck for few hours in the worst case. And does that mean you honk everytime you are behind a truck? Not at all.
Yes, you don't overtake if you don't have visibility because of a hill or a bend. That is enforced by traffic regulation and road markings in Europe and most of the places I've driven. And yes, that means that sometimes you get stuck behind trucks for a long time but it also means that nobody gets killed.
If you read my comment carefully, I understand that and I know how it happens around the world. But I personally would prefer to sometimes hear a horn rather than having to drive behind a slowest moving truck for hours because the hilly road has road marking catering for the worst case.
What I say above makes it sound like I think that it's sole responsibility of the drivers to keep to the rules but I do understand that the rules are much easier to follow when the vehicles are in good condition and the roads have amenities like escape routes for trucks and occasional third lanes to allow overtake, both of which require wealth and strong institutions that are not present everywhere in the world.
Still, from my experience in India (mostly in and around Delhi) what you get is not an occasional honk, it is a permanent infernal cacophony that pierces through your skull day and night.
Modern trucks in the western world have plenty of power to be surprisingly nimble negotiating ascents, it is downhill that things get more complicated for modern trucks.
If Ruby gets a good machine learning library on par with something like Pytorch, I am sure many folks will shift to it and we might see new DSL emerge.