Mainak Mukherjeemainakkaniam.hashnode.dev·Apr 20, 2024Javascript Interview Preparation:Part 3Demystifying Functions So today we are going to discuss some popular interview questions on functions which is a very important topic in JS and obviously also required a lot in development. What are Functions in JS? According to MDN Web Docs, Functi...Discuss·34 readsjs
Diego Barrancodiagram.hashnode.dev·Apr 19, 2024Rust with diagrams: Ownership 5 - Return Values & ScopeUntil 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
Aditya Singhadityakumarsingh.hashnode.dev·Apr 18, 2024Defer Keyword in GoGreetings folks, In this article, we are going to see the use of defer keyword in Go. In simple words, to schedule the execution of a function after other functions have been executed defer is used. package main import "fmt" func main() { fmt.Pr...Harshit Aditya and 2 others are discussing this3 people are discussing thisDiscuss·9 likes·88 readsGo Language
Prajwal Aradhyablogs.codewithprajwal.dev·Apr 18, 2024Understanding Pure and Impure Functions in JavaScriptUnderstanding the difference between these two is crucial for developers, as it can greatly influence the code's predictability, testability, and maintainability. This blog post will delve into the concept of pure and impure functions in JavaScript, ...DiscussJavaScript
Abdul Basit Khan (Abdul Basit)forAbdul Basit blogabdulbasitblog.hashnode.dev·Apr 16, 2024Functions In JavaScriptWhat Is Function function is a block of code which can be use many times in our application.this function can be of without parameter or with parameter. //Without Parameter or Arguments function Add() { var a = 10; var b = 20; console.log(a + b...DiscussJavaScript
Stella Mariesmkou.hashnode.dev·Apr 15, 2024Herd Game: Code StructureWhy a herding game? I was reading the book, AI in Games by Ian Millington (2019). I didn't finish the book, getting through the first three chapters, which is not much if you check, just about 7%, but it is in my immediate queue for reading, apart fr...Discuss·1 likeJavaScript
Dionysia LemonakiforfreeCodeCampfreecodecamp.org·Apr 12, 2024Def in C – How to Define a Function in CFunctions play a fundamental role in programming in C. They allow you to write code that is organized and easier to maintain. In this article, you'll learn the basics of defining functions in C. What is a Function in C? In programming, a function is ...DiscussC
Abhishek Dandriyalabhishek-dandriyal.hashnode.dev·Apr 10, 2024Functions in JavascriptFunction Expression: A function expression in JavaScript is when you assign a function to a variable. It's an alternative way to define a function compared to the traditional function declaration. In your example: const square = function(num) { r...Discussiife in javascipt
Palash Dhavleblog.troncodes.com·Apr 8, 2024TypeScript Unlocked: FunctionsIn last blog we saw how type in TypeScript work. Now we'll see how we can apply types to functions. Function Anatomy for typescript Looking at the above image you can see how we do type checking when we write a function. If you don’t specify any typ...DiscussTypeScript UnlockedTypeScript
Abdul Basit Khan (Abdul Basit)forAbdul Basit blogabdulbasitblog.hashnode.dev·Apr 6, 2024Non-Primitive Data Types in JavaScriptWelcome back, learners! In this blog post, we'll explore JavaScript's non-primitive data types. While primitive types are the building blocks, non-primitive types like Objects and Functions allow us to create complex structures and wield the true pow...DiscussNon Primitive Data Types