<adam12>
Does the symbol even serve any purpose pragmatically? or just make it read better? bizzare.
<ox1eef_>
I don't think it has a purpose beyond explaining the logic of the code that follows.
<ox1eef_>
It is unusual but I kind of like it.
<adam12>
ox1eef_: I agree.
hightower3 has quit [Quit: Leaving]
hightower2 has joined #ruby
<ox1eef_>
The rubocop defaults would (probably) have a nervous breakdown given such code though.
shiru has joined #ruby
<adam12>
lol.
hightower2 has quit [Remote host closed the connection]
hightower2 has joined #ruby
caedmon has joined #ruby
caedmon has quit [Client Quit]
crax23 has joined #ruby
caedmon has joined #ruby
cartdrige has quit [Ping timeout: 272 seconds]
caedmon has quit [Quit: caedmon]
cartdrige has joined #ruby
crax23 has quit [Ping timeout: 272 seconds]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 272 seconds]
wra1th has joined #ruby
jhass has quit [Ping timeout: 252 seconds]
Y05hito__ has joined #ruby
crax23 has quit [Ping timeout: 252 seconds]
cartdrige has joined #ruby
jhass has joined #ruby
Y05hito__ has quit [Ping timeout: 260 seconds]
wra1th has quit [Quit: wra1th]
hansolo has quit [Remote host closed the connection]
wra1th has joined #ruby
moldorcoder7 has quit [Ping timeout: 255 seconds]
work has quit [Quit: Connection closed for inactivity]
hansolo has joined #ruby
stirl has joined #ruby
work has joined #ruby
stirl has quit [Remote host closed the connection]
willfish has joined #ruby
willfish has quit [Ping timeout: 260 seconds]
crax23 has joined #ruby
cartdrige has quit [Ping timeout: 268 seconds]
wra1th has quit [Quit: wra1th]
Rounin has quit [Ping timeout: 272 seconds]
<ox1eef_>
madprops: yeah, it is *kind of* like 'var' versus 'let', or 'const'. In Ruby though, 'for' does not have a block, so not quite the same. You will find if behaves the same, eg: if true; bar = 1; end; p bar # => 1.
<madprops>
yeah
<madprops>
i like that
<madprops>
scrict scoping can be annoying to deal with
<madprops>
strict
<ox1eef_>
I'm not sure a huge fan of that, I'd like if to have its own scope but I've never saw it be an issue in practice either.
work has quit [Quit: Connection closed for inactivity]
otisolsen70 has joined #ruby
otisolsen70 has quit [Remote host closed the connection]