Skip to content

Instantly share code, notes, and snippets.

View halitbatur's full-sized avatar
🏠
Working from home

Halit Batur halitbatur

🏠
Working from home
View GitHub Profile
@halitbatur
halitbatur / cloudcomputing.md
Created July 5, 2022 11:00
Discussion about cloud computing

Cloud Computing discussion

  • What are some use cases of cloud computing?
  • Mention some of the advantages of cloud computing.
  • What are the most popular cloud providers?
  • What are cloud functions? mention at least 2 use cases.
  • What are CI and CD? and how are they helpful
  • What is serverless architecture?
  • What is Kubernetes?
@halitbatur
halitbatur / reaactPropsStateAndEvents.md
Last active November 17, 2022 16:02
Discussion about React state, props and Events

Discussion questions about react:

Please discuss with your teams and answer these questions in your own words.

  1. What is the difference between state and props in React?
  2. When should you use state and props in React?
  3. What is the difference between stateful and stateless components in React?
  4. How can you pass props to a component in React?
  5. How does react handle events, can you write an example?
@halitbatur
halitbatur / useEffect.md
Created November 24, 2022 15:06
useEffect Discussion
  1. When does a React component re-render?
  2. What does the React.useMemo hook do?
  3. How can you replicate componentWillUnmount using useEffect ?
  4. How can you replicate componentDidUpdate using useEffect ?
@halitbatur
halitbatur / variables.md
Created March 16, 2023 13:40
Discussion Questions about JS

JS basics discussion

  • What is the difference between const and let? and why don't we use var?

  • What does return and console.log do inside a function and what is the difference between them?

  • What is a paramater in JS function and why is it there?

  • What are truthy and falsy values in JS? give some example on each

@halitbatur
halitbatur / firstClassFunctions.md
Created March 23, 2023 17:11
first-class functions
  1. What is a first-class function, and how does it differ from other types of functions?
  2. How can first-class functions be used in JavaScript to pass functions as arguments to other functions?
  3. Explain the difference between array.map(), array.reduce(), and array.filter(). In what scenarios would you use each of these array methods?
  4. Write a function that uses array.map() to double every number in an array. How would you modify the function to triple every number instead?
  5. Write a function that uses array.filter() to return only the even numbers in an array. How would you modify the function to return only the odd numbers instead?
  6. Write a function that uses array.reduce() to find the sum of all the numbers in an array. How would you modify the function to find the product of all the numbers instead?
@halitbatur
halitbatur / scope.md
Created March 23, 2023 18:45
Scope disscusion

Scopes Discussion

  • What is the scope of variable GLOBAL_DATA in the example below:

Pretend in the console, that we type: console.log(GLOBAL_DATA);

<script>
 let GLOBAL_DATA = { value : 1};
@halitbatur
halitbatur / jstesting.md
Last active July 21, 2023 20:32
Testing Disscusion

Testing in JS disscusion

  1. What is the purpose of unit testing in JavaScript development? How does it contribute to the overall quality of a software application?
  2. Explain the difference between manual testing and automated testing. What are the advantages of using automated testing in JavaScript projects?
  3. What is a test suite, and how does it relate to test cases in JavaScript testing? Provide an example of a test suite and its corresponding test cases.
  4. Describe the concept of test-driven development (TDD) in JavaScript. How does TDD influence the development process and help in writing robust and reliable code?
  5. What are the popular testing frameworks and libraries available for JavaScript? Compare and contrast two of them, highlighting their key features and use cases.
@halitbatur
halitbatur / cloudcomputingdiscussion.md
Created June 13, 2023 14:14
Discussion questions for cloud computing

Cloud Computing Discussion

  • What are some use cases of cloud computing?
  • Mention some of the advantages of cloud computing.
  • What are the most popular cloud providers?
  • What are cloud functions? mention at least 2 use cases.
  • What are CI and CD? and how are they helpful
  • What is serverless architecture?
  • What is Kubernetes?
@halitbatur
halitbatur / fetchDisscusion.md
Created October 4, 2023 10:07
Fetch Disscusion

Fetch Discussion

  1. What do you think "asynchronous" means in the context of programming? Why might it be important?
  2. Imagine you're on a website, and you click a button to view a list of your friends. The list takes some time to appear. Why might that be the case?
  3. How do you think a website's responsiveness impacts user experience? What could be the consequences if a site becomes unresponsive for a few seconds?
  4. Why might it be problematic if a browser had to "wait" for every operation to complete before doing anything else?
  5. If you were designing a website that needed to fetch information, like a news site, what challenges do you anticipate you'd face? How might you ensure the website remains responsive?
  6. Are there other ways you've heard of (or can research) for handling operations that might take some time? For instance, how might you deal with loading an image?
  7. What might happen if a website tries to fetch some data, but there's an issue (e.g., the data doesn't exist, or the server is d
@halitbatur
halitbatur / reactquestions.md
Created October 12, 2023 13:36
React Discussion Questions

React Discussion questions

  1. What problems does React aim to solve?
  2. How might React differ from other JavaScript frameworks or libraries you've heard of?
  3. How might building an application with components be advantageous?
  4. How does React's Virtual DOM differ from the actual DOM, and why might this be beneficial?
  5. How does JSX combine JavaScript and HTML-like markup?
  6. How does a traditional website differ from a Single Page Application?
  7. Why might developers choose to build an SPA using React?
  8. How might an application's data or user interface be affected by changes over time?
  9. How do you think React manages this dynamic data?