Shivam DubeyforGo Tutorialgo-tutorial.hashnode.dev·Nov 13, 2024Mastering the for Loop in Go: The Only Loop You NeedIn Go, the for loop is the only looping construct you need. Unlike many other programming languages that have multiple types of loops (such as while and do-while), Go simplifies things by using the versatile for loop to handle all iterative tasks. By...Discussgo loop
Debajyoti Chandadevopsjournaldj.hashnode.dev·Nov 9, 2024Daily Log: November 8, 2024After a short break, I spent some time brushing up my Java knowledge and wrote some programs to reflect on : String class String is a reference data type and comes with several inbuilt methods which facilitate playing with String values. public class...DiscussSDET Learning logsJava
GaramYoongaramyoon.hashnode.dev·Nov 3, 2024Flag, Is It Always Efficient?//variables int value; int numOfValue = 0; int sum = 0; int stop = 100; int flag = 1; //first code with flag do { if (sum <= 100 && flag == 1 ) { Console.Write("Enter the value: "); value = Convert.ToInt32(Console....DiscussC#
gayatri kumargeekee.hashnode.dev·Oct 31, 2024Loop the Loop: Iterating Through Data!Imagine you’re on a Ferris wheel. The ride goes around, and each time you reach the top, you start the loop over again. In programming, loops are like this Ferris wheel: they allow you to repeat a set of actions until you decide to stop. Whether you’...Discuss·50 likesWeb Developmentjs
Faria Karimfariakarim.hashnode.dev·Oct 31, 2024Ballerina Basics: 5 Fundamental Programming ConceptsIntroduction: This blog covers five fundamental programming concepts—variables, control structures, functions, data structures, and OOP—illustrated with examples in Ballerina. Mastering these basics is key to building efficient applications. 1. Varia...Discussfundamentals
Stanley Owarietaday3-of-30days-js-blog.hashnode.dev·Oct 24, 2024Mastering JavaScript Loops: A Complete Guide for Software EngineersLoops are essential tools in JavaScript that enable developers to efficiently perform repetitive tasks. Understanding how loops operate and when to use them is vital for any software engineer. In this article, we will explore the different types of l...Discuss·10 likesJavaScript
Vitthal Korvanvitthal-korvan.hashnode.dev·Oct 10, 2024Loops in JavaScriptWhat is loops? Loops in JavaScript allow you to repeatedly execute a block of code as long as a specified condition is true. Types of loops: 1. For Loop The for loop repeats a block of code a specific number of times, typically when you know how many...DiscussJavaScript CoreJavaScript
Arnav SinghforPython for Noobspythonfornoobs.hashnode.dev·Oct 9, 2024Mastering Python Loops: For, While & Nested Loops ExplainedWhat will you learn? ConceptSummary For LoopRepeats a block of code a specific number of times using a sequence. While LoopContinues running a block of code as long as a condition remains true. Nested LoopsA loop inside another loop, useful ...Discuss·10 likesPython for Noobswhile loop python
Arnav SinghforPython for Noobspythonfornoobs.hashnode.dev·Oct 8, 2024Control Flow in Python: If Statements, Loops, and MoreWhen writing code, you'll often need to make decisions and control how the program flows based on different conditions. This is known as control flow, and Python offers various ways to implement it. In this article, we’ll explore Python's control flo...Discuss·10 likesPython for Noobscontrol flow
Shubhendu Jadhavsj0730.hashnode.dev·Sep 15, 2024if else loopsconsole.log("hello wrold"); let a=5; a++; a--; console.log(a); let b=2; console.log("a=",a,"&b=",b); console.log("a+b=",a+b); console.log("a-b=",a-b); console.log("a*b=",a*b); console.log("a/b=",a/b); console.log("a%b=",a%b); a!==b; console.log("a!...DiscussLoops