@WebDevCaleb It's a big reason I was never a React Redux fan; Switch statement overload. :)
My codebase search found switch statements in some autogen and downpiling code.
And I commonly see it in server code pivoting on the HTTP method type, eg, this autogen Netlify boilerplate code....
#techtips
write out workflows
add docs to every function, describe the why
consider all ways to solve a problem
think big picture, in systems terms
graph out your app
clone and run open source repos
- perf test & document where top bottlenecks are
sleep on tough problems
#techtips
write out workflows
add docs to every function, describe the why
consider all ways to solve a problem
think big picture, in systems terms
graph out your app
clone and run open source repos
- perf test & document where top bottlenecks are
sleep on tough problems
@recoiljs@recoiljs I was wondering if you could make available the source code for your sample drag 'n drop demo that you use to explain the Recoil state management library in your presentation video
I would love to tinker with it locally.
Thank you!
https://t.co/njNGM2uFCj
@robbie_carlton @EriPDev @dan_abramov a closure without declared local state...
const outerFunc = v => () => console.log(v);
outerFunc("hello")();
//=> hello
@mountain_ghosts @dan_abramov If you don't clarify, you're going to be disappointed.
Don't assume that interviewers are perfectly fair, knowledgable or experts at interviewing.
Take assertive responsibility for yourself and your success.
Don't depend on others being obligated to make your success easier.
@mountain_ghosts @dan_abramov Always be sure to ask...
"Are there any constraints?"
or
"Is there a preferred style you'd like the code to be in?"
Also be sure to ask upfront to look at some of the company's code, to see where they are in the architectural, best-practices, and readability scheme of things.