Javier on Nostr: You probably haven't used much Clojure, Scala or Haskell (and Lisp, but this is ...
You probably haven't used much Clojure, Scala or Haskell (and Lisp, but this is dynamic), they use pointers internally for everything, while you have the impression they don't. And they are very well optimized. So it is not massive copying, it's just a bit, combined with pointer magic.
> and no, being a good programmer is only part of the story... if we were talking about carpentry, would you agree that frilly decorative crochet pieces around the tools are going to not impede with the work at hand?
Nice comparition, but I would rather compare C to a knife and Haskell to a full featured programmable electric saw. You can do the same with both, but with the knife you have to do it by hand, while with the electric saw you just have to introduce the parameters.
About Java, it's not the language itself the good part, but the JVM, or at least it was at my time, probably it is no longer the case.
Python is for doing 100 to 1000 lines scripts, I wouldn't make a full application on it.
And Go, I have no idea, I'm very old and I retired before it went mainstream.
Published at
2024-04-03 16:26:20Event JSON
{
"id": "6ebba20c9488baf433dfa21b185dd36c23b9edb7b904f5fd1d169ebe1926cf17",
"pubkey": "f72e682e90cea98c66f57f69546d6350836cde78f5b8a0262767aaf6c51af867",
"created_at": 1712161580,
"kind": 1,
"tags": [
[
"e",
"92c370b9225a5ae09e830ced6784703a5927c57a8e28a5b3ca15c13fc70b7316",
"wss://nostr.oxtr.dev/",
"root"
],
[
"e",
"868fdffcb00797e56c268bccfd73388c98875c28412f2a60b9bd497ce7c48a87",
"wss://nostr.oxtr.dev/",
"reply"
],
[
"p",
"4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"",
"mention"
]
],
"content": "You probably haven't used much Clojure, Scala or Haskell (and Lisp, but this is dynamic), they use pointers internally for everything, while you have the impression they don't. And they are very well optimized. So it is not massive copying, it's just a bit, combined with pointer magic.\n\n\u003e and no, being a good programmer is only part of the story... if we were talking about carpentry, would you agree that frilly decorative crochet pieces around the tools are going to not impede with the work at hand?\n\nNice comparition, but I would rather compare C to a knife and Haskell to a full featured programmable electric saw. You can do the same with both, but with the knife you have to do it by hand, while with the electric saw you just have to introduce the parameters.\n\nAbout Java, it's not the language itself the good part, but the JVM, or at least it was at my time, probably it is no longer the case.\n\nPython is for doing 100 to 1000 lines scripts, I wouldn't make a full application on it.\n\nAnd Go, I have no idea, I'm very old and I retired before it went mainstream.\n",
"sig": "aac219c92903996dcf3cfd5a59f3aef89a67e1cbe7d579b23e4ca23e66eea12562ca989bad724b206c7e8ff9301eb27cb10e3dcb2c4048f6a6de7363c631b6a0"
}