Ruby vs. Python comes down to the for loop

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • pushgen

  • For me, its the explicitness in Python that is killer. I can see a name and match that to an import and match that to a package. Grabbing a function pointer works exactly as I would expect.

    Stealing from Krister Stendahl's laws for religious discourse, Ruby's composable iteration is one area I have holy envy, particularly after I got used to it in Rust. I've used Python's generators many times just to have to switch to an explicit for loop. Things are generally better with a composable iteration model but occasionally I find myself switching to loops in Rust.

    Unlike Ruby, Rust does pull-iteration, like Python, though there are experiments with Ruby-style push-iteration [0] [1].

    [0] https://github.com/AndWass/pushgen

    [1] https://epage.github.io/blog/2021/07/pushgen-experiment/

  • FoxDot

    Python driven environment for Live Coding

  • Not sure how they compare feature-wise, but take a look at FoxDot:

    https://github.com/Qirky/FoxDot

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts