Comment

Comment by shaicoleman

There are thousands of little things that make Ruby nice. They all add up to a more enjoyable experience. I'll give you one tiny example:

Python:

    from datetime import date
    if date.today().weekday() == 5:
      print("It's Saturday")
Ruby:

    require 'date'
    puts "It's Saturday" if Date.today.saturday?
parent shaicoleman 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton