4 ms·
> All I'm getting paid to do is drive nails. Because you only have a hammer, what do you expect? > Also, programming languages are not tools That is obviousl
by jeena 11y ago
> All I'm getting paid to do is drive nails.
Because you only have a hammer, what do you expect?
> Also, programming languages are not tools
That is obviously not true. If I want to write a decision engine then Prolog is a good tool for that, if I want to write a high volume web-api then Go or Erlang is a good tool for that, if I want to write a kernel module then C is a good tool for that. And so on.
Saying that all objects are nail-like and all materials are wood-like is, at least in my world, quite crazy.
- vinceguidry 11y ago> Because you only have a hammer, what do you expect? That's right. But it's not that I have a hammer. I am the hammer. Ruby is an extension of my mind, just like how a fencer's sword becomes an extension of his arm. Why in the world would a champion fencer stop spending 10+ hours a day practicing his art and start picking up axe throwing? Doesn't make any sense. It's not something you would do by choice. I used to think that devs who bounced around languages and tech stacks were getting more well-rounded. Now I believe they are cheating themselves out of mastery. > That is obviously not true. If I want to write a decision engine then Prolog is a good tool for that, if I want to write a high volume web-api then Go or Erlang is a good tool for that, if I want to write a kernel module then C is a good tool for that. And so on. That's ridiculous. I can write a decision engine in Ruby. I can write a high-volume web-API using Rails. You can even write a kernel module with Ruby: https://github.com/utshina/mruby-lkm https://github.com/utshina/mruby-lkm
- jeena 11y agoI never said you can't fix a computer with a hammer, it is just clearly not the right tool for that.
- vinceguidry 11y agoYou're stretching your metaphor entirely too far.
- fenollp 11y agoYou are both right. One says such-and-such is good for this, which is right (keyword is good). The other says "I can do this and that with my hammer". Yes, true. But yeah add the words "not slow as hell" and "maintainable" and one of you is right, the other is delusional. BTW that link to "a kernel module wrote in Ruby" is pretty much all C with a few lines of Ruby on top.
- vinceguidry 11y ago> BTW that link to "a kernel module wrote in Ruby" is pretty much all C with a few lines of Ruby on top. Did you just look at the language stats? That project implements Ruby using mruby in a kernel module. Of course it's written in C, Ruby is written in C. The few bits of Ruby are just a hello world example.