394 karma · joined January 30, 2014
It's hard to get across that the answer is usually one of the Greys and, even then, the shade will probably vary a little from time to time.
Rules are the children of Principles, they're important handrails as you're learning but to progress from there you have to understand the Principles behind them and how they confirm or contradict eachother.
Can you expand on what you mean when quoting those words in this context? I can't put my finger on what point you're trying to make here.
HN: Shrinkpack – npm dependencies as tarballs, prevents “left-pad” style breakage - https://news.ycombinator.com/item?id=11353908
export default { foo: 2 };
export const foo = 3;
// other file
import { foo } from './file'
console.log(foo);
Presumably last one wins or, if the other way around, a reassignment of const error?
> give it an empty alt attribute to indicate to the screen reader that it shouldn’t try to read out the file name or something
¯\_(ツ)_/¯
For anyone else curious about Rust, my own learning spree was triggered after reading the "A very brief intro to Rust" Slide Deck [1] by Ashley Williams [2].
[1] https://ashleygwilliams.github.io/a-very-brief-intro-to-rust...
It's great to see attention is being spent on what is a really important area, one which has been largely under-appreciated in Node.js until now (aside from for a short period after the left-pad incident).
Kudos to Facebook, I look forward to giving it a try.
Its not completely there yet, but I think there's something worth exploring further in this idea.