Why does Java still make “simple things” verbose—by design? Michel Charpentier’s wishlist reads like a tour of modern language ergonomics: tuples, named args, local functions, type aliases, variance. Steal the patterns: https://lnkd.in/dyu2agtD #OpenJDK #JVM #Java #ProgrammingLanguages Kotlin Multiplatform Updates and Showcases Scala Developer
JAVAPRO’s Post
More Relevant Posts
-
DSA journey 🚀 📌 LeetCode #1137 – N-th Tribonacci Number 💻 Language: Java 🔹 Approach: Handle base cases (n == 0, n == 1, n == 2) Use an iterative approach instead of recursion Track the last three values to build the Tribonacci sequence ⏱ Time Complexity: O(n) 🧩 Space Complexity: O(1) Consistency over perfection 💯 #DSA #Java #LeetCode #ProblemSolving #LearningInPublic
To view or add a comment, sign in
-
-
🚀 Unlock 7 game-changing parameterized constructor Java tips for developers! From overloading & immutability to validation, copy constructors, Builder patterns, types overview, and edge-case testing—level up your OOP skills today. Perfect for cleaner, safer code. Check it out: https://lnkd.in/geHzGVD8 #Java #JavaDevelopment #OOP #ProgrammingTips #JavaTips #Constructor #SoftwareEngineering #DevCommunity #analyticsjobs
To view or add a comment, sign in
-
-
Hello Everyone👋👋 What is method overloading in Java? Method overloading allows multiple methods in the same class to share the same name but differ in parameter lists (number, type, or order of parameters). The compiler resolves the correct method based on the arguments at compile time. Return type alone cannot differentiate overloaded methods. #Java #backend #frontend #FullStack #software #developer #programming #code #inheritance #class #object #interface #lambda #API #GenAI #SpringAI #GenAI #OpenAI #LLM #Claude #AI #RAG #Langchain #SpringBoot #collections #Array #AWS #abstract #interview
To view or add a comment, sign in
-
💡 From Code to Screen: Understanding Java & Kotlin For a long time, I was confused about what really happens after we write code. Compile? JVM? Execute? When does each step actually happen? This simple flow finally made everything clear 👇 🔹 1. Write the code (Java / Kotlin) We write code in a human-friendly language that the computer cannot understand directly. 🔹 2. Compile The compiler translates the code into a .class file (bytecode)`. 🔹 3. JVM (Java Virtual Machine) The JVM reads the bytecode and translates it into instructions the operating system understands. 👉 This is why Java/Kotlin follow “Write Once, Run Anywhere”. 🔹 4. Execution & Output The program runs, and the result appears on the screen. 📌 Golden rule to remember: Code → Compile → .class → JVM → Execute → Output If you’re a beginner or have ever felt confused about this flow, this mental model makes a huge difference 🚀 #Java #Kotlin #JVM #ProgrammingBasics #SoftwareDevelopment #LearningInPublic #DeveloperJourney
To view or add a comment, sign in
-
-
Building AI apps on the JVM? Start with the Embabel guide 👇 Embabel is an agentic AI framework for Java & Kotlin, founded by Rod Johnson (creator of the Spring Framework). Here's how to get rolling with the Guide: https://lnkd.in/gAJdDs_3
To view or add a comment, sign in
-
-
Hello Everyone👋👋 What is a Java Virtual Machine? JVM is a Java interpreter. It loads, verifies and consequently executes the bytecode created in this language. It is platform-dependent wherein its software is different for different operating systems. #Java #backend #frontend #FullStack #software #developer #programming #code #inheritance #class #object #AI #GenAI #OpenAI #Array #ArrayList #HashMap #collections #Claude #LLM #RAG #Langchain #super #constructor #functional #interface #abstract #React #interview
To view or add a comment, sign in
-
Kotlin’s 'when' construct used to feel like a “modern” alternative to Java’s switch in the beginning... But since new 'switch' in Java since v17 - not true anymore. On the pattern matching, Kotlin has been behind Scala for over a decade - and now it’s arguably behind Java too ( Java’s pattern matching has turned switch into a real data-oriented branching tool, especially with: - type patterns - record deconstruction patterns - guards (when) Kotlin still shines with exhaustive when over sealed hierarchies. But Java is currently ahead on first-class deconstruction + guards directly in the lang. And honestly, it’s a bit sad for Kotlin. It was positioned as a bold “next-gen JVM language”, backed not only by JetBrains but also a huge community, yet this specific area feels like it is not moving fast enough. Timeline for context: - Pattern matching for switch started as preview (JDK 17 era) and is a standard feature in modern Java releases (see JEP history). - Record patterns are part of Java 21 (JEP 440). #java #kotlin #scala #jvm #patternmatching #softwareengineering
To view or add a comment, sign in
-
-
I put together a small repo comparing how different JVM languages handle the same simple task: validating a Person with a few business rules and accumulating all errors at once. Nothing fancy — just the same logic in Java, Kotlin, Scala 3, Clojure, and Jank (https://lnkd.in/e7W7UCDm a new Clojure dialect that compiles natively via LLVM). What surprised me: the "traditional" Java version needed the most complex setup — three libraries and a multi-phase Gradle build — to do what Kotlin/Scala/Clojure express in a few lines out of the box. The JVM has a lot more to offer beyond Java. https://lnkd.in/ejcX-MPb
To view or add a comment, sign in
-
DSA journey 🚀 📌 LeetCode #977 – Squares of a Sorted Array 💻 Language: Java 🔹 Approach (Two Pointer Technique): Initialize two pointers at the start and end of the array Compare squares of both ends Place the larger square at the end of the result array Move pointers inward accordingly Continue until all elements are processed This works because the array is already sorted, but negative numbers can produce larger squares 💡 ⏱ Time Complexity: O(n) 🧩 Space Complexity: O(n) Efficient and elegant ✨ Consistency over perfection 💯 #DSA #Java #LeetCode #ProblemSolving #LearningInPublic
To view or add a comment, sign in
-
-
DSA journey 🚀 📌 LeetCode #1 – Two Sum 💻 Language: Java 🔹 Approach: Use two nested loops to check all possible pairs Compare the sum of each pair with the target Return indices once the matching pair is found ⏱ Time Complexity: O(n²) 🧩 Space Complexity: O(1) Consistency over perfection 💯 #DSA #Java #LeetCode #ProblemSolving #LearningInPublic #DSAWithedSlash
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