anecdata of people not understanding the differences between extern crate, mod, and use
-
-
Replying to @withoutboats @burntsushi5
i can confirm that i fought w/
@steveklabnik about this when he taught me it and i'm still not sure what mod does2 replies 0 retweets 10 likes -
also on hn today https://news.ycombinator.com/item?id=13272880 …
1 reply 0 retweets 2 likes -
@ManishEarth Do we think that removing `extern crate` will actually make it easier though?4 replies 0 retweets 0 likes -
-
Replying to @steveklabnik @burntsushi5 and
is it mod vs extern crate? for me mod was the sore thumb
2 replies 0 retweets 1 like -
Replying to @ag_dubs @steveklabnik and
I think we can get rid of both mod and extern crate. mod is worse.
2 replies 0 retweets 0 likes -
Replying to @wycats @steveklabnik and
i think extern crate, + optional use for name space stuff works ok. mod=ughwat
1 reply 0 retweets 0 likes -
Replying to @ag_dubs @steveklabnik and
I think we can make `use` work ~ like `require` in node and call it a day.
1 reply 0 retweets 1 like -
Replying to @wycats @steveklabnik and
i'd be excited to see extern crate+use ~= require
1 reply 0 retweets 0 likes
me too :) we could also make something like `import` in ES6 work.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.