ChanServ changed the topic of #crystal-lang to: The Crystal programming language | https://crystal-lang.org | Fund Crystal's development: https://crystal-lang.org/sponsors | GH: https://github.com/crystal-lang/crystal | Docs: https://crystal-lang.org/docs | Gitter: https://gitter.im/crystal-lang/crystal
greenbigfrog has quit [Ping timeout: 252 seconds]
greenbigfrog has joined #crystal-lang
attlin has quit [Quit: Leaving]
attlin has joined #crystal-lang
dostoyevsky2 has quit [*.net *.split]
wowi42 has quit [*.net *.split]
notzmv has quit [*.net *.split]
oz has quit [*.net *.split]
olbat has quit [*.net *.split]
Stephie has quit [*.net *.split]
mikko has quit [*.net *.split]
jkridner has quit [*.net *.split]
josiedotlol_ has quit [*.net *.split]
dch has quit [*.net *.split]
josiedotlol has quit [*.net *.split]
manveru has quit [*.net *.split]
jrayhawk has quit [*.net *.split]
Stephie has joined #crystal-lang
dostoyevsky2 has joined #crystal-lang
notzmv has joined #crystal-lang
wowi42 has joined #crystal-lang
mikko has joined #crystal-lang
josiedotlol_ has joined #crystal-lang
dch has joined #crystal-lang
oz has joined #crystal-lang
josiedotlol has joined #crystal-lang
jkridner has joined #crystal-lang
olbat has joined #crystal-lang
manveru has joined #crystal-lang
jrayhawk has joined #crystal-lang
dostoyevsky2 has quit [Max SendQ exceeded]
dostoyevsky2 has joined #crystal-lang
Elouin has quit [Remote host closed the connection]
Elouin has joined #crystal-lang
num8er has joined #crystal-lang
<num8er> hey )))
<num8er> I've Q:
<num8er> what is correct?
<num8er> ```
<num8er> record Response,
<num8er> opcode : UInt8,
<num8er> status : Status,
<num8er> cas : UInt64,
<num8er> extras : Bytes,
<num8er> key : String,
<num8er> value : Bytes do
<num8er> def success? : Bool
<num8er> status.success?
<num8er> end
<num8er> end
<num8er> ```
<num8er> vs
<num8er> ```
<num8er> record Response,
<num8er> opcode : UInt8,
<num8er> status : Status,
<num8er> cas : UInt64,
<num8er> extras : Bytes,
<num8er> key : String,
<num8er> value : Bytes \
<num8er> do
<num8er> def success? : Bool
<num8er> status.success?
<num8er> end
<num8er> end
<num8er> ```
<num8er> btw I'm new here and any rules, mentioning of practices, links - I'm open to conform
num8er has quit []
dostoyevsky2 has quit [Quit: leaving]
dostoyevsky2 has joined #crystal-lang
<josiedotlol> pls use a pastebin type service to share code
<Munto> it's the same code, isn't it?