If you work with Ruby, you should know that arguments in methods can be set to a default value, for example:
```
def perform(arg: "d")
# .
end
```
But did you know that you can use instance variables as default values, like this:
```
class MyCls
def initialize(arg); @arg = arg; end
def perform(arg = @arg); end
end
```
Or other arguments of this method:
```
module MyMod
def self.perform(a = nil, arg: a); end
end
```
#Ruby #Method #Default #Arguments #KeywordArguments #InstanceVariable
If you work with Ruby, you should know that arguments in methods can be set to a default value, for example:
```
def perform(arg: "d")
# .
end
```
But did you know that you can use instance variables as default values, like this:
```
class MyCls
def initialize(arg); @ARG = arg; end
def perform(arg = @ARG); end
end
```
Or other arguments of this method:
```
module MyMod
def self.perform(a = nil, arg: a); end
end
```
#Ruby #Method #Default #Arguments #KeywordArguments #InstanceVariable
Inside Ruby’s Range: A Tour Through range.c
https://rubystacknews.com/2026/05/18/inside-rubys-range-a-tour-through-range-c/
#ruby #rubyonrails #rubydev #programming
Hi friends.
I'm looking for alternatives to #rust. Ready to go learn something new. I'd love some recommendations on languages with the general rust ethos but less of the rust drama.
I know #zig is the obvious alternative, but the content I usually see promoting zig seems to indicate that they like zig because it isn't rust, which makes me think maybe I won't like zig. I actually do like rust.
#raku is on my list, but I don't think it's going to fit the bill.
I need to do:
- #webdev
- cli tooling (with emphasis on good TUI tooling)
- general scripting
- work with lots of concurrency
I want the language to:
- be fun to write
- be strongly typed
- tell me when I'm doing something stupid
- not be overly invested in a particular niche
- not be primary sponsored by a corporate entity
- not be interpreted
- include a dependency tool chain like Cargo
Taking a strong stance on:
- nothing falling over itself to cram LLMs in
I have lots and lots of experience with these already:
- #perl
- #php
- #python
- #ruby
- #elixir
- #rust
- #c
Suggestions don't need to hit every bullet point. Added tags along the way to try hitting a wide audience. Hit me with your best stuff.
Here's the online version of the lightning talk I gave at Rubycon: From MINASWAN to Pastafarian. Having no network, I wasn't able to prepare slides during the conference, but the page includes all that I had in mind!
https://userland.fr/conferences/2026/from-minaswan-to-pastafarian/

Traveling to Rimini, Italy, to attend Rubycon was both tiring and exciting, so I had insomnia the night before. I used that time to jot down a few thoughts that the recent Ruby Central shitstorm brought to mind. Seeing an empty slot, I decided to turn these into a lightning talk. I tried to blend cultural references and recent history to foster a greater sense of responsibility, and I hope the message went through! In any case, I hope to have piqued interest for the Pastafarian church…