4 ms·
Arguably Ruby is worse because you can execute instance methods in interpolation, but I still don't see why that's germane to this discussion other than to pick
by anamoulous 10y ago
Arguably Ruby is worse because you can execute instance methods in interpolation, but I still don't see why that's germane to this discussion other than to pick a fight about languages.
- smitherfield 10y agoRuby string interpolation can only happen in literal source code, not in user input. 2.4.0 :001 > a = 5 => 5 2.4.0 :002 > gets.chomp #{a} => "\#{a}"