🧠 Day 9 of 75 Days of Knowledge Theme: Functions & Modular Programming — Java | Python | JavaScript Functions are like mini-programs inside your program — they take input, do something, and give back results. They make your code clean, reusable, and easier to debug. Today’s focus: defining, calling, and returning values from functions, and learning parameters, scope, and modularity. 💡 Concepts Covered Function definition & calling Parameters and arguments Return values Local vs global scope Reusable modular code 📚 Learn Functions in Each Language 📘 Python — Functions & Return Values 👉 https://lnkd.in/g5xhz9Aj 👉 https://lnkd.in/g42sJBRD 📗 Java — Methods in Java 👉 https://lnkd.in/gv_ZSdVe 👉 https://lnkd.in/gn2f2pz6 📙 JavaScript — Functions 👉 https://lnkd.in/gmfbZkdA 👉 https://lnkd.in/gUyQ74N8 🧩 Try This Practice Idea Write a function to find the factorial of a number Build a greeting function that takes a name and returns a message Create a calculator using multiple small functions #75DaysOfKnowledge #ProgrammingBasics #Functions #ModularProgramming #CleanCode #Java #Python #JavaScript #LeetCode #CodingJourney #LearnToCode
"Day 9 of 75 Days of Knowledge: Functions & Modular Programming in Java, Python, JavaScript"
More Relevant Posts
-
🧠 Day 12 of 75 Days of Knowledge Theme: Functions & Methods — Java | Python | JavaScript Functions are how we organize logic into reusable blocks. They make your code cleaner, smarter, and easier to test. Today’s focus: how functions work, pass values, and return results in each language. 💡 Concepts Covered Defining and calling functions Function parameters and arguments Return values and scope Default & keyword arguments (Python) Function overloading (Java) Arrow functions (JavaScript) Pass by value vs reference 📚 Learn Functions in Each Language 📘 Python — Functions 👉 https://lnkd.in/g5xhz9Aj 👉 https://lnkd.in/g42sJBRD 📗 Java — Methods 👉 https://lnkd.in/gQuK4T9b 👉 https://lnkd.in/gn2f2pz6 📙 JavaScript — Functions 👉 https://lnkd.in/gmfbZkdA 👉 https://lnkd.in/gUyQ74N8 🧩 Try This Practice Idea Write a function to find factorial of a number Create a function to check prime numbers Make a greeting function with parameters Try recursive function for Fibonacci series #75DaysOfKnowledge #ProgrammingBasics #Functions #Methods #CodeReusability #Java #Python #JavaScript #LeetCode #CodingJourney #LearnToCode
To view or add a comment, sign in
-
🔥 Day 5 of 75 Days of Knowledge Theme: Input and Output (I/O) Operations — Java | Python | JavaScript Every interactive program depends on I/O — taking user input and displaying results. From reading numbers to handling files, mastering I/O gives your code the ability to communicate with the real world. 🌍 💡 Concepts Covered Reading input from users Displaying formatted output File reading & writing basics Console-based interaction 📚 Learn I/O in Your Favorite Language 📘 Python – Input, Output & Files 👉 https://lnkd.in/gHEKrd_T 👉 https://lnkd.in/guDkuq98 📗 Java – Input/Output & File Handling 👉 https://lnkd.in/gF-3Tb7D 👉 https://lnkd.in/gkMwMKaf 📙 JavaScript – Input, Output & File Reading (Node.js) 👉 https://lnkd.in/gWnnAxe6 👉 https://lnkd.in/gXssxiii Hands-On Practice 🧠 Try online: https://replit.com/~ 💡 Visualize flow: https://pythontutor.com/ #75DaysOfKnowledge #LeetCode #Java #Python #JavaScript #InputOutput #CodingJourney #LearnToCode
To view or add a comment, sign in
-
🔥 Day 6 of 75 Days of Knowledge Theme: Operators & Expressions — Java | Python | JavaScript Operators are the tools that make logic work. They help us calculate, compare, and make decisions in code. Today’s focus was on mastering expressions — how data combines and transforms using operators. 💡 Concepts Covered Arithmetic, Comparison & Logical Operators Assignment & Bitwise Operators Operator Precedence Expressions & Evaluation 📚 Learn Operators in Each Language 📘 Python – Operators Made Simple 👉 https://lnkd.in/g9MTvK3F 👉 https://lnkd.in/gVgBrR4s 📗 Java – Operator Types & Precedence 👉 https://lnkd.in/gMJcCe9z 👉 https://lnkd.in/gBefza2s 📙 JavaScript – Expressions & Operators 👉 https://lnkd.in/gHjTpPk9 👉 https://lnkd.in/gjnhepYH 🧮 Mini Practice Ideas ✅ Try building a simple calculator ✅ Compare user inputs with logical operators ✅ Experiment with precedence using parentheses 💡 Practice online: https://replit.com/~ 💬 Reflection: Understanding operators builds the logic engine inside your brain 🧠 Every condition, loop, and algorithm you write relies on mastering these small but powerful symbols. #75DaysOfKnowledge #ProgrammingBasics #Operators #Expressions #Java #Python #JavaScript #LeetCode #CodingJourney #LearnToCode
To view or add a comment, sign in
-
🚀 Quick Experiment: Comparing Lines of Code Across Languages I recently did a small personal experiment to compare how many lines of code (LOC) are typically required to implement the same task in Python, Java, and C++. 📌 Assumption: Each new statement appears on its own line — no one-liners or compressed logic. Here are the results: 🐍 Python: 11 LOC ☕ Java: 36 LOC 💻 C++: 44 LOC Key Takeaways Python is very concise for implementing tasks. Java requires more structure and verbosity. C++ is the most verbose among the three. 💡 Note: This experiment considers Lines of Code only, not execution speed or efficiency. I’d love to hear your thoughts: Do you value code compactness over verbosity for readability and maintenance? Hashtags #Programming #Python #Java #CPlusPlus #CodeEfficiency #SoftwareDevelopment #CodingExperiment #DeveloperInsights #TechLearning #ProgrammingTips
To view or add a comment, sign in
-
Choosing the right programming language can shape your projects. Here are the top 3 languages developers are using this year: ✅ Python: Clean, simple, and versatile ✅ JavaScript: Still the go-to for web development ✅ Java: Stable, reliable, and widely used in enterprise systems Want to stay ahead in tech? Start with the languages that are leading the way. #CodeSmarter #DeveloperLife #Programming2025 #Python #JavaScript #Java #TechTrends
To view or add a comment, sign in
-
-
I'm thrilled to share my latest and most challenging project: a Multi-Language Static Code Analyzer built from scratch in C++! Ever wondered how your IDE finds unused variables or functions? I wanted to build my own to understand the magic behind it. This tool analyzes C++, Java, and Python source code to find bugs and improve code quality. It's a complete, modular pipeline: 🧠 Multi-Language Parsers: It builds a full Abstract Syntax Tree (AST) for C++, Java, and even handles Python's tricky indentation-based syntax. 🔍 Intelligent Analyzer: It's not just a simple check. The analyzer intelligently detects truly unused variables and functions by cross-referencing all declarations vs. usages in any scope. 📄 Professional HTML Reporting: The best part! The tool generates a dynamic, color-coded HTML report that shows the original source code and highlights the exact lines with issues (red for variables, green for functions). This was an incredible deep dive into compiler design, advanced C++, and building scalable, multi-language architectures. I'm really proud of how the final report turned out! The full source code is available on my GitHub. I'd love to hear what you think! #CPlusPlus #Java #Python #SoftwareEngineering #CompilerDesign #StaticAnalysis #DeveloperTools #PortfolioProject #OOP
To view or add a comment, sign in
-
Some languages did not get the class implementations right. In Rust and Python, you need to access class/struct fields through "self". In Go language, you usually access struct fields using a single letter variable like "s" for Server struct. All this is unnecessary, you should be able to access class/struct fields like you would access local variables. This is how it is done in Java and C++. Cluttering the class/struct code with "self" makes the code less readable.
To view or add a comment, sign in
-
𝑼𝒏𝒅𝒆𝒓 𝒕𝒉𝒆 𝑯𝒐𝒐𝒅: 𝑯𝒐𝒘 𝑷𝒓𝒐𝒈𝒓𝒂𝒎𝒎𝒊𝒏𝒈 𝑳𝒂𝒏𝒈𝒖𝒂𝒈𝒆𝒔 𝑹𝒆𝒂𝒍𝒍𝒚 𝑾𝒐𝒓𝒌 Have you ever wondered how our code actually talks to the computer? 🤔 Computers only understand binary (0s and 1s), but we write in languages like Java, Python, or JavaScript. So, how does our code get translated into something a machine understands? That’s where compilers and interpreters come in. Compiler → Translates the entire program into machine code before execution. Fast execution Errors shown after compilation Example: C, C++, Go Interpreter → Reads and executes line by line. Easy to debug Slower performance Example: Python, JavaScript Java is a mix of both! It first compiles code into bytecode, and then the JVM interprets it into machine code. That’s why Java is “Write Once, Run Anywhere.” JavaScript, on the other hand, runs directly in browsers using engines like V8, which now use Just-In-Time (JIT) compilation to boost speed — combining the best of both worlds. In short: Compilers prepare the whole meal before serving. Interpreters cook each bite as you eat! Which one do you prefer working with — compiled or interpreted languages? #Programming #Java #JavaScript #SoftwareDevelopment #Learning
To view or add a comment, sign in
-
🤔 Python or Java for your next backend project in 2025? The debate rages on, but which one aligns with your goals—rapid prototyping with Python's simplicity or Java's rock-solid enterprise scalability? In our latest blog, we break it down: From syntax showdowns (Python's 3 lines vs. Java's 10) and performance edges (Java's JIT speed for high-traffic apps) to real-world wins like Netflix's AI magic with Python and LinkedIn's billion-user backbone in Java. Discover strengths, drawbacks, use cases, and when to pick each to future-proof your tech stack. Dive in: https://lnkd.in/dcqu87jS Python fan or Java loyalist? Drop your pick and why below! 👇 #PythonVsJava #BackendDevelopment #ProgrammingLanguages #TechTrends #SoftwareEngineering
To view or add a comment, sign in
-
-
Python vs Java: The battle of modern programming giants. Python and Java rank among the two languages with the largest global influence on technology and programming. While they are both very powerful languages with support for objects they have their unique perspectives and advantages that attract different kinds of programmers. #java #python #medium #writing #blog #srini #article #post https://lnkd.in/gkUEPr-5
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development