Diego Barrancodiagram.hashnode.devยท11 hours agoRust with diagrams: Ownership 5 - What is, Rules, Scope & FunctionsUntil now, we discussing about Rust memory approach and how variables & data interacting on Stack & Heap. It's time to learn about Ownership Rust concept. What is Ownership? Ownership is a set of rules that govern a Rust program manages memory. All p...DiscussRust
Meghana S Kmeghanask.hashnode.devยทApr 2, 2024Scope in JavascriptWhat exactly is the scope? Why do we need it? Scope determines the accessibility/usage of variables, functions and objects from different parts of the code. Before diving into its types, there is a term called lexical scope. Let's try to understand t...Discussvariable accessibility
Hemant Besracodeinjava.hashnode.devยทMar 15, 2024Spring core and JDBCLets make a project to fetch data from a table. I have MySQL installed in my machine, below is the details. Now, as we all know that to connect to DB in java we need a JDBC Driver, i have downloaded MySql JDBC Driver jar "mysql-connector-j-8.0.31.ja...DiscussSpring FrameworkJDBC
Jieun Leezeunny.hashnode.devยทMar 12, 2024JavaScript: ์ด๋ค ๋ฐฉ์์ผ๋ก ํจ์ ์ ์ํ๋ ๊ฒ์ ์ ํธํ์ธ์? - (1)๋ค์ด๊ฐ๋ฉฐ ์ธํฐ๋ทฐ์์ "์ด๋ค ๋ฐฉ์์ผ๋ก ํจ์ ์ ์ํ๋ ๊ฒ์ ์ ํธํ์ธ์?" ๋ผ๋ ์ง๋ฌธ์ ๋ฐ์ ์ ์ด ์๋ค. ๊ทธ ๋น์์๋ JS์ ๊ดํ ๊ณต๋ถ๊ฐ ๋ถ์กฑํ๊ธฐ์ ์ ์ ๋ฐฉ์์ ๋ฐ๋ผ ์ด๋ค ์ฐจ์ด๊ฐ ์๋์ง ํ์คํ๊ฒ ์์ง ๋ชปํ๋ค. ๊ณ ๋ก ๋๋ต์ ํ์ง๋ง ๊ทธ์ ๋ํ ๊ทผ๊ฑฐ๊ฐ ๋ถ์กฑํ๋ค. JS๋ฅผ ๊ณต๋ถํ๊ณ ๋์ ์ด ์ง๋ฌธ์ ํฐ ๊ทธ๋ฆผ์ ์๊ฒ ๋์๋ค. ํจ์ ์ ์ ๋ฐฉ์์ ๋ฐ๋ผ ์ค์ฝํ, ํธ์ด์คํ , this ๋ฑ JS์ ๋ค๋ฅธ ๊ฐ๋ ๋ค์ด ์จ์ด์์๊ณ ๊ทธ ๊ฐ๋ ๋ค๊น์ง ์ ๋๋ก ์๊ณ ์๋๋๋ฅผ ํ๋จํ๊ธฐ ์ํ ...Discussยท60 readsJavaScript
Atanu Sarkardisciple.hashnode.devยทMar 11, 2024Do I have any scope here? Meh...not muchEvery variable in C has a defined scope. Scope refers to the accessibility or visibility of a variable at different points in a program. Block Scope A variable, which is declared within a statement block, ceases to exist as soon as the control exits ...DiscussScope
Insha Ramininshaweb.hashnode.devยทMar 4, 2024Python Scopes & LEGB โ Rules GuideThe concept of scoping in Python allows for greater control over elements in your code, which reduces the chances of accidental or unwanted changes. Before you explore scope and its intricacies, itโs important to know that Python has four different t...DiscussPython 3
Abdullah Bin Altafdevopswithabdullah.hashnode.devยทFeb 18, 2024Lecture # 7 - FunctionsFunctions: In Python, a function is a block of reusable code that performs a specific task. Functions provide a way to organize and modularize code, making it easier to understand, reuse, and maintain. Functions can take inputs (arguments) and option...Discussยท31 readsDevops
Ricardo Rocha // ๐จโ๐ปbittonic.hashnode.devยทFeb 12, 2024๐กUnlocking the Secrets: A Conversational Dive into JavaScript VariablesLet's chat ๐ฌ about JavaScript variables โ those containers where you stash your data, like a digital backpack for your code. ๐คจ What is a variable? Variables are like boxes. You give each box a name (the variable name) and throw stuff (data) inside ...DiscussJavaScript
Ricardo Rocha // ๐จโ๐ปbittonic.hashnode.devยทFeb 5, 2024๐ JavaScript Hoisting: Your Code's Elevator Ride to Confusion (and Maybe Awesomeness!)Alright, fellow coders! ๐ Buckle up because we're about to take a ride on the JavaScript Elevator, and it goes by the name "Hoisting." Ever heard of it? If not, don't worry โ I'm here to unravel the mystery behind this quirky feature that might just...Discussยท26 readsJavaScript
Anjanesh LekshminarayananforAlpine JSalpinejs.inยทJan 19, 2024How to access AlpineJS Data variable outside scopeThis is actually revealing a one-liner solution because Rahul Rajput of rajputrahul.com has already posted a good article and example of how to access a AlpineJS variable outside of its scope at https://www.rajputrahul.com/access-alpinejs-variable-ou...Discussยท111 readsalpinejs