#Creative Instagram Photos & Videos

Creative - 53.9m posts

Top Posts

Latest Instagram Posts

  • @domenicosolazzo
・・・
🍄First look at Closure in JS🍄
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Let’s have a first look at the concept of closure in Javascript.
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
If you write code in Javascript, you will find the concept of Closures over and over. It does not matter if you are a beginner or a senior developer.
So, better understand this concept and what can do for you.
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
What is a closure?
A closure is an inner function that has access to the outer (enclosing) function’s variables—scope chain. ⠀⠀⠀⠀⠀⠀⠀⠀⠀
The closure has three scope chains and it has access to:
🦄Own scope variables defined between its curly brackets
🦄Outer function’s variables and parameters.
🦄Global variables.
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Closures add expressive power to the language. There are some patterns that can be implemented very easily because of closures like the Module Pattern.
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Using closure in the right way will help you to organize the code in a clean and modular way.
That’s a short introduction to closure and we will go more deep in following posts!
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
Question: What would you like to understand better about Javascript?
⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀
Follow @domenicosolazzo for more posts on javascript, software development and coding!
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀
#developer #developerlife #tech #javascript #algorithms #javascript #computerscience #developers #softwaredeveloper #programming #java #coders #amazon #entrepreneurs #codeismylife #coding #codinglife #creative #programmerrepublic #programmers #programmer #code #buildtheweb #justdvlpr #programmerrepubblic #domenicosolazzo #socialmediamarketing #peoplewhocode #python
  • @domenicosolazzo
    ・・・
    🍄First look at Closure in JS🍄
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    Let’s have a first look at the concept of closure in Javascript.
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    If you write code in Javascript, you will find the concept of Closures over and over. It does not matter if you are a beginner or a senior developer.
    So, better understand this concept and what can do for you.
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    What is a closure?
    A closure is an inner function that has access to the outer (enclosing) function’s variables—scope chain. ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    The closure has three scope chains and it has access to:
    🦄Own scope variables defined between its curly brackets
    🦄Outer function’s variables and parameters.
    🦄Global variables.
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    Closures add expressive power to the language. There are some patterns that can be implemented very easily because of closures like the Module Pattern.
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    Using closure in the right way will help you to organize the code in a clean and modular way.
    That’s a short introduction to closure and we will go more deep in following posts!
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    Question: What would you like to understand better about Javascript?
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    Follow @domenicosolazzo for more posts on javascript, software development and coding!
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    ⠀⠀⠀⠀⠀⠀⠀⠀⠀
    #developer #developerlife #tech #javascript #algorithms #javascript #computerscience #developers #softwaredeveloper #programming #java #coders #amazon #entrepreneurs #codeismylife #coding #codinglife #creative #programmerrepublic #programmers #programmer #code #buildtheweb #justdvlpr #programmerrepubblic #domenicosolazzo #socialmediamarketing #peoplewhocode #python
  • 0 0 16 seconds ago
  • She-Shed Sunday is finally here! Check out my ‘She-Shed highlight for the latest blog 🤩🤩 #creative #reflective #wisdom
  • She-Shed Sunday is finally here! Check out my ‘She-Shed highlight for the latest blog 🤩🤩 #creative #reflective #wisdom
  • 0 0 27 seconds ago
  • One of the last projects I worked on in 2018! 
Branding for La Ville Cafe in Beaconsfield ☕️ Swipe >> to see more. 
Together we worked on:
- Main Logo
- Secondary Logo
- Menu design
- Drinks menu design
- Coasters
- Loyalty Cards
- Signage
- Vouchers - Newspaper ads 
The whole package!
If you’re in the area be sure to check it out 🥰
  • One of the last projects I worked on in 2018!
    Branding for La Ville Cafe in Beaconsfield ☕️ Swipe >> to see more.
    Together we worked on:
    - Main Logo
    - Secondary Logo
    - Menu design
    - Drinks menu design
    - Coasters
    - Loyalty Cards
    - Signage
    - Vouchers - Newspaper ads
    The whole package!
    If you’re in the area be sure to check it out 🥰
  • 4 1 29 seconds ago