Earlier quoted context omitted.
>.NET went with non-standard SQL-like names (select/where) […] Which names do you believe are standard?
`where` is intuitive as a synonym for `filter`, but it's the `select` that always threw me as a synonym for `map`. I get that they're trying to expose an SQL-like API, but yeah, map is always about mutation, but `select`only does mutation sometimes in SQL.
Ruby 3.0 Preview 1
101–110 of 207 posts
Re: Ruby 3.0 Preview 1
#102I love Ruby and great to see Ruby love on hacker news. Just curious on how popular it is in the hacker news community ?
I only ever tried out a rails tutorial once, and coming from a C/C++ background, but having used with many languages, too many things felt like magic back then, but no further experience with the language itself, so can’t really judge it. However, now I’m on the operational side of things, and there are 2 types of applications I avoid to deploy/maintain, mainly because of their runtime: Java and Ruby apps. It’s very…
Re: Ruby 3.0 Preview 1
#103Re: Ruby 3.0 Preview 1
#104I love Ruby and great to see Ruby love on hacker news. Just curious on how popular it is in the hacker news community ?
I only ever tried out a rails tutorial once, and coming from a C/C++ background, but having used with many languages, too many things felt like magic back then, but no further experience with the language itself, so can’t really judge it. However, now I’m on the operational side of things, and there are 2 types of applications I avoid to deploy/maintain, mainly because of their runtime: Java and Ruby apps. It’s very…
Not that Ruby = rails
Re: Ruby 3.0 Preview 1
#105Am I alone in saying; for some damn reason, I don't like Ruby.. I appreciate what it can do, and indeed what it does.. I just feel like I slipped in between that moment to appreciate it more. I will go and spend some time to learn it more but out of a novelty aspect.. And that makes me feel bad.
Re: Ruby 3.0 Preview 1
#106So now there are basically no dynamically typed languages left. There's Scheme, JavaScript, what else? All languages nowadays are converging to TypeScript/Rust. It's kind of sad.
A matter of perspective, I suppose. You seem to like dynamic typing so static typing seems ubiquitous and inescapable. I find dynamic typing completely infuriating over 100 lines or so, and dynamic typing seems inescapable.
Others have pointed out the big dynamically typed languages, so I won't rehash, but suffice it to say, there basically are some dynamically typed languages left.
Re: Ruby 3.0 Preview 1
#107Much as I would love to believe Ruby 3.0 delivers some kind of speed bump my simple test of doing what Ruby supposedly does best - parsing a log file with a regex - shows Ruby 16% slower than the Python equivalent. Ruby puts IO.foreach('logs1.txt').grep /\b\w{15}\b/ Python from re import compile with open('logs1.txt', 'r') as fh: regex = compile(r'\b\w{15}\b') for line in fh: if regex.search(line): print(line, end=''…
Re: Ruby 3.0 Preview 1
#108I love Ruby and great to see Ruby love on hacker news. Just curious on how popular it is in the hacker news community ?
You know I've long stopped caring about how popular a language is in the community. As I get older the question I ask myself is do I honestly enjoy using it? If the answer is yes, then I put it in my programming toolbox and ignore the hype.
Re: Ruby 3.0 Preview 1
#109I love Ruby and great to see Ruby love on hacker news. Just curious on how popular it is in the hacker news community ?
I only ever tried out a rails tutorial once, and coming from a C/C++ background, but having used with many languages, too many things felt like magic back then, but no further experience with the language itself, so can’t really judge it. However, now I’m on the operational side of things, and there are 2 types of applications I avoid to deploy/maintain, mainly because of their runtime: Java and Ruby apps. It’s very…
Go is easiest if we're talking about pre compiled binaries. If you include builds, dependency hell is real.
C#, JS, and Java have been easy for me. Install JVM/CLR/Node and run one command. Old school Java with EE servers and Tomcat and such was a nightmare but everything I've done recently is self hosting