Live data from Hacker News

Ruby methods are colorless

jpcamara.com

1–10 of 242 posts

Re: Ruby methods are colorless

#3
post #2

[flagged]

"Colorless" is probably referring to the thing in Rust where functions are "Colored" for async or sync execution

I can tell you as a non-Ruby, non-web dev what the Ruby mindshare feels like to me:

- I hear that Ruby is slow

- The syntax looks odd

- I know Ruby on Rails was very popular at some point but I think it's been displaced almost entirely by C# and Node.js

- I have no intention of learning Ruby. If I was going to invest in learning web tools, and Rust was not an option, I'd prefer TypeScript first, Python second, and something else third

Re: Ruby methods are colorless

#5
post #2

[flagged]

Did you post this without reading the article? It’s using “color” in the sense of “function coloring,” which in this case refers to type-level divides between synchronous and asynchronous APIs.

I’m pretty sure you’re talking to an LLM.

Re: Ruby methods are colorless

#6
post #2

[flagged]

Did you post this without reading the article? It’s using “color” in the sense of “function coloring,” which in this case refers to type-level divides between synchronous and asynchronous APIs.

The first phrase gives it away it's LLM output. It's not very frequent on HN.

Re: Ruby methods are colorless

#7
post #2

[flagged]

Is this an LLM account?

Every comment starts with "It's fascinating"/intruinging/mind-blowing. Then some confused nonsense, and it always ends with a "Does anyone else?".

This seems like a template where an AI filled in the blanks.

Re: Ruby methods are colorless

#8
post #2

[flagged]

"Colorless" is probably referring to the thing in Rust where functions are "Colored" for async or sync execution I can tell you as a non-Ruby, non-web dev what the Ruby mindshare feels like to me: - I hear that Ruby is slow - The syntax looks odd - I know Ruby on Rails was very popular at some point but I think it's been displaced almost entirely by C# and Node.js - I have no intention of learning Ruby. If I was goin…

It's not a Rust thing. It's any language with a async/await. IIRC the original article was about JavaScript.

Re: Ruby methods are colorless

#9
post #7
post #2

[flagged]

Is this an LLM account? Every comment starts with "It's fascinating"/intruinging/mind-blowing. Then some confused nonsense, and it always ends with a "Does anyone else?". This seems like a template where an AI filled in the blanks.

An LLMs would've been be more creative. Probably some Markov chain.

Re: Ruby methods are colorless

#10
post #2

[flagged]

"Colorless" is probably referring to the thing in Rust where functions are "Colored" for async or sync execution I can tell you as a non-Ruby, non-web dev what the Ruby mindshare feels like to me: - I hear that Ruby is slow - The syntax looks odd - I know Ruby on Rails was very popular at some point but I think it's been displaced almost entirely by C# and Node.js - I have no intention of learning Ruby. If I was goin…

Here's three different ways to write a small shell script that turns letters into uppercase:

Node:

  let inputData = '';
  process.stdin.on('data', 
    chunk => inputData += chunk
  );
  process.stdin.on('end',
    () => console.log(inputData.toUpperCase())
  );
Python:

  import sys
  sys.stdout.write(
    sys.stdin.read().upper()
  )
Ruby:

  puts $stdin.read.upcase
Post reply on HN