Readit News logoReadit News
nithinbekal commented on Do I not like Ruby anymore? (2024)   sgt.hootr.club/molten-mat... · Posted by u/Vedor
pansa2 · 3 days ago
> it’s a shame no language is as beautiful as Ruby [...] I really think it's a bad choice of Ruby not to care for types

Do you think Ruby could change something so fundamental as dynamic => static typing and still retain its beauty?

The only static typing solution I've seen for Ruby is Sorbet, and it's... not beautiful.

nithinbekal · 3 days ago
Sorbet now supports inline RBS signatures, which I find a lot more readable. If you use VS code with Ruby LSP, the syntax highlighting is pretty great for the signatures too.

https://sorbet.org/docs/rbs-support

nithinbekal commented on Ask HN: What Pocket alternatives did you move to?    · Posted by u/ahmedfromtunis
nithinbekal · a month ago
I replaced it with a tiny app that I built for myself, that just has the features of Pocket that I was using.

https://bukmark.me/

nithinbekal commented on Abstract Methods and NotImplementedError in Ruby   nithinbekal.com/posts/abs... · Posted by u/nithinbekal
yawboakye · a year ago
`UndefinedMethodError` perhaps? that way we can restore the distinction between method declaration (which assigns a name, within some namespace) and method definition/implementation which gives the function its ability.
nithinbekal · a year ago
Wouldn't that be too similar to NoMethodError? I recently came across the idiom in Smalltalk, where you would call subclassResponsibility:

    someMethod:
      self subclassResponsibility
I've suggested the name in the ruby bug tracker issue here:

https://bugs.ruby-lang.org/issues/18915

u/nithinbekal

KarmaCake day469December 17, 2010
About
Blog: https://nithinbekal.com/

Github: https://github.com/nithinbekal

View Original