These are chat archives for rust-lang/rust

18th
Aug 2017
Sebastian Blei
@iamsebastian
Aug 18 2017 07:10
Could anybody tell me about the warnings and why they exist?
http://play.integer32.com/?gist=443ea78e8f90b7882c4f85a7f4c06124&version=stable
Ah, ok. Got it. The compiler is just telling me, that the first assigned value has not been read.
Răzvan Flavius Panda
@razvan-panda
Aug 18 2017 09:48
Anyone would be interested in joining a group about artificial general intelligence / strong AI? https://gitter.im/artificial-general-intelligence/Lobby
Zhigang Song
@sidgwick
Aug 18 2017 09:49
👍🏼
Joonas Koivunen
@koivunej
Aug 18 2017 14:35
is there an official term/name/... for the _ variable binding?
Jonas Platte
@jplatte
Aug 18 2017 14:37
I'd just refer to it as "underscore let binding" if I was searching for it
I don't think there is an official term for it
Kevin K.
@kbknapp
Aug 18 2017 14:37
I've never heard one for it
Joonas Koivunen
@koivunej
Aug 18 2017 14:38
@jplatte I guess the underscore is more greppable or searchable (in source code), good point...
Restioson
@Restioson
Aug 18 2017 16:41
default?
stevensonmt
@stevensonmt
Aug 18 2017 17:01
Isn't it more wildcard than default?
Restioson
@Restioson
Aug 18 2017 17:01
/shrug
Michal 'vorner' Vaner
@vorner
Aug 18 2017 17:02
I usually call it „garbage“ variable or „throw-away“ variable. But I don't think that is in any way official.
Grégoire Geis
@71
Aug 18 2017 17:46
I don't know about Rust, but I believe it's called a "discard" in many programming languages.