Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Order by importance #208

Open
sheriffderek opened this issue Nov 9, 2021 · 4 comments
Open

Order by importance #208

sheriffderek opened this issue Nov 9, 2021 · 4 comments

Comments

@sheriffderek
Copy link

sheriffderek commented Nov 9, 2021

I'm not a prolific JS dev or anything, but "Call Stack" being #1 seems pretty unimportant. Most if not ALL devs I've ever worked with know very little about this. I'm not saying it isn't important (at least at a base level of understanding) but - is it the most important thing on this list if you were trying to teach your friend?

@jesusantguerrero
Copy link

In mid/senior-level interviews there are chances of live code sessions, where questions are about fundamental concepts or you would need to know fundamental concepts or understand how the language works to answer.

A basic example will be if they put some timeout and promises printing logs and ask you in what order the logs are going to be printed

You can check out the logic here.

https://www.jsv9000.app/?code=c2V0VGltZW91dChmdW5jdGlvbiBhKCkge2NvbnNvbGUubG9nKDEpfSwgMCk7CgpQcm9taXNlLnJlc29sdmUoKS50aGVuKGZ1bmN0aW9uIGIoKSB7CiAgY29uc29sZS5sb2coIjIiKQogIHJldHVybiBzZXRUaW1lb3V0KGZ1bmN0aW9uIGMoKSB7CiAgICBjb25zb2xlLmxvZygiMyIpCiAgfSkKfSkudGhlbihmdW5jdGlvbiBkKCkgewogIGZ1bmN0aW9uIGUoKSB7CiAgICBjb25zb2xlLmxvZyg0KQogIH0KICBlKCkKfSk7Cgpjb25zb2xlLmxvZyg1KQ%3D%3D

@sheriffderek
Copy link
Author

2 years later, I'm sure I haven't had to think about the call stack once in my real work. (I got pulled over by some email alerts) But - just tossing in another vote for that! : )

@anchitgupta01
Copy link

i think order will be from basic to advance to get learn things feasibly

@brandon698sherrick
Copy link

This is the bedrock of any programming language. Understanding how to store and manipulate data (numbers, strings, booleans, etc.) is essential. Concepts like if statements, loops (for, while), and conditional logic (ternary operator) form the core of how programs make decisions and execute code. Reusable blocks of code that perform specific tasks. They are essential for organizing code and promoting modularity. JavaScript uses objects to store collections of key-value pairs. They are fundamental for representing real-world entities and data structures. Ordered lists of values, used to store collections of similar data items. They are essential for working with lists and sequences. If your friend is interested in web development, understanding how to interact with the Document Object Model (DOM) is crucial for building dynamic web pages. This might involve concepts like selecting elements and modifying their content or styles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants