Java vs Python: Curly Braces as Code Accessories
More Relevant Posts
-
The interesting thing: When I started working with Python, I built a lot of stuff as I would in Java. This helped me build big, robust, stable applications in Python. But when I got back to Java, I started looking for solutions from Python to make applications simpler and write (or generate with Claude Code) more convenient code for enterprise-level applications.
To view or add a comment, sign in
-
𝗥𝗲𝗰𝗨𝗿𝘀𝗶𝗼𝗻 𝗣𝗿𝗼𝗴𝗿𝗮𝗺𝘀 You want to learn about recursion. Here are some examples: - Print numbers from 1 to 5 in Java, Python, and Javascript - Print odd numbers from 1 to 9 in Java, Python, and Javascript - Print multiples of 5 from 5 to 25 in Java, Python, and Javascript - Calculate the factorial of a number in Java, Python, and Javascript These examples will help you understand how recursion works. Source: https://lnkd.in/gAfBhKdn
To view or add a comment, sign in
-
This is a little project or lab for Java. This is to learn how to define and initialize/assign a value to a variable. Java seems to be more specific than Python. With that said, if you want to define a variable and initialize a value of a string to that variable, you have to spell it out like String title(variable = (initialize) " Bands of Brothers"( a little grammatical error here, a string). Also, int is an integer just like in Python. However, when we get to assigning a float. If you assign a decimal number, it only allows 21 to 21, something like that. If you use the double "method", it gives you more digits, from my understanding. When you create a document, the public class has to match the file name as well. It's like bash, case sensitive, and similar to Python. Practice makes perfect! Happy learning everyone. #python #html #java #softwaredeveloper #softwareengineers #it #programming #softwaredevelopment
To view or add a comment, sign in
-
-
1. Stop chasing every language We often try to learn Python, Java, Go, JavaScript, and everything at once. But Saumya Singh made it clear join this video https://lnkd.in/gZnKsAq2 Depth matters more than randomness.
To view or add a comment, sign in
-
In Java, private means private. In Python, it means: “I trust you not to look.” I was exploring encapsulation and discovered something interesting. In Java, access is enforced. In Python, it’s… negotiated. A double underscore (__attr) doesn’t truly hide anything. It just renames it. Which means: You *can* still access it — if you know how. That realization changed how I think about class design. Java protects the code. Python trusts the developer. Two different philosophies. Which one do you prefer? 👇 Curious to hear your perspective #Python #Java #OOP #SoftwareEngineering #LearningInPublic
To view or add a comment, sign in
-
Everyone is busy memorizing Python & Java syntax… but nobody is building real logic 🤯💻 Stop copying code. Start thinking like a programmer. That’s the real skill. 🚀🔥 Syntax can be Googled… logic can’t. 💡 #programming #coding #python #developer #codinglife
To view or add a comment, sign in
-
-
Nobody told me this when I started coding. 👇 Most developers pick a language out of habit — not strategy. Here's what actually matters: ✅ Building something that needs to be secure & tamper-proof? → Java ✅ Building something that needs to crunch massive data? → Python Both are powerful. Both have a purpose. The clarity is in knowing which problem you're solving. #Java #Python #CodeNewbie #ProgrammingTips #TechCommunity
To view or add a comment, sign in
-
-
Python vs Java — Which one should you choose? 🤔 Both are powerful, in-demand languages shaping today’s tech world. 👉 The best choice? Start with one, master it, and grow into both. Your coding journey matters more than the language you pick. 🚀 #Python #Java #Programming #Coding #SoftwareDevelopment #Developers #TechCareers #LearnToCode #CodingJourney #DataScience #BackendDevelopment #AndroidDevelopment #TechSkills #CareerGrowth #ITJobs #ProgrammingLanguages #augusitsolutions
To view or add a comment, sign in
-
-
1.4 seconds. That's how long Java took to print numbers from 1 to 1 crore. Python took 1.76 minutes for the exact same task. Watch the live test. Be shocked. Then start building your Java foundation the right way. Comment to get the code sent straight to your DM!
Same Code. Different Languages. Shocking Results.
To view or add a comment, sign in
-
This is so relatable 😄 Many developers worry about learning every new language or framework, but the real strength comes from understanding how to solve problems and think logically. Whether it's Python, JavaScript, Java, or any other language, the core idea is always the same — break the problem down and build the solution step by step. Syntax may change, but problem-solving skills stay with you for life.
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
First love always