The💪 :
https://nextleap.app/online-compiler/java-programming/m7x3nbndn
Feel free to share your thoughts in the comments! If you enjoyed the challenge, drop a👍 or ❤️
HarryPotter#castSpell method has a bug - see if you can spot and fix it https://nextleap.app/online-compiler/java-programming/m7x3nbndn
Feel free to share your thoughts in the comments! If you enjoyed the challenge, drop a
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1 1
Your thoughts on this post?
Anonymous Poll
13%
Too challenging
0%
A bit long…
25%
Just right!
63%
I’m ready for JUnit!
What is the output of the following code?
Anonymous Quiz
15%
15 Java 5 10
42%
15 Java 15
24%
15 Java 510
18%
510 Java 510
Hey everyone! 👋
I wanted to take a moment to share some thoughts about this channel and why the activity here has been low🔋
When I started this channel, my goal was to help beginner developers get into Java📱 development - sharing insights on technologies, learning paths, and best practices. However, over time, I noticed that there was very little engagement - few likes, comments, or discussions. And to be honest, that affected my motivation. Without feedback, it’s hard to understand if the content is actually useful or interesting.
Because of this, I decided to focus on something that would be more engaging for me personally - learning new technologies while sharing my progress. Recently, I started a new channel where I document my journey of learning Swift🔢 and SwiftUI 👶 This time, I’m writing in Russian, so if you understand the language and are interested in 🍏 development, feel free to check it out: https://t.me/+9Y323c-9kkw1MzBi
That’s not all! In the near future, I’m planning to create another channel where I will share my experience learning AWS👩💻 and Google Cloud 👩💻
This one will be in English, just like this Java channel.
I appreciate everyone who has been here, and if you’re interested in my new journey - whether it’s Swift now or cloud technologies in the future - stay tuned!
Let’s keep learning together!🚀
I wanted to take a moment to share some thoughts about this channel and why the activity here has been low
When I started this channel, my goal was to help beginner developers get into Java
Because of this, I decided to focus on something that would be more engaging for me personally - learning new technologies while sharing my progress. Recently, I started a new channel where I document my journey of learning Swift
That’s not all! In the near future, I’m planning to create another channel where I will share my experience learning AWS
This one will be in English, just like this Java channel.
I appreciate everyone who has been here, and if you’re interested in my new journey - whether it’s Swift now or cloud technologies in the future - stay tuned!
Let’s keep learning together!
Please open Telegram to view this post
VIEW IN TELEGRAM
Telegram
Kotlin/Swift (iOS) Туда и Обратно
Канал - журнал, рассказывающий об опыте изучения Swift & iOS backend-разработчиком на Java & Kotlin
How to Ask ChatGPT 📱 as a Beginner Developer (and Not Get Burned)
🔤 🔤 - Intro
When I was just starting to code, ChatGPT didn’t exist.
(Yes, I’m that old. Okay, maybe not that old, but you get the point.)
Back then, I had to google endlessly, dig through Stack Overflow threads from 2012, and cry over cryptic compiler errors that no one seemed to explain well. So when ChatGPT appeared, I was like - wow. This changes everything.
But here’s the catch: it also makes it dangerously easy to stop thinking. To just copy-paste code that looks right but isn’t. Especially if you’re just getting started.
That’s why I’m writing this mini-series - short, honest posts for beginners or junior devs on how to actually use ChatGPT to learn, not just survive.
If you’re new to coding, or even just feeling a bit lost - you’re not alone.
I’ll try to keep things short, real, and sometimes a little bit funny.
Stay tuned for Post🔤 🔤
When I was just starting to code, ChatGPT didn’t exist.
(Yes, I’m that old. Okay, maybe not that old, but you get the point.)
Back then, I had to google endlessly, dig through Stack Overflow threads from 2012, and cry over cryptic compiler errors that no one seemed to explain well. So when ChatGPT appeared, I was like - wow. This changes everything.
But here’s the catch: it also makes it dangerously easy to stop thinking. To just copy-paste code that looks right but isn’t. Especially if you’re just getting started.
That’s why I’m writing this mini-series - short, honest posts for beginners or junior devs on how to actually use ChatGPT to learn, not just survive.
If you’re new to coding, or even just feeling a bit lost - you’re not alone.
I’ll try to keep things short, real, and sometimes a little bit funny.
Stay tuned for Post
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3
Post 🔤 🔤 - Always run the code
When ChatGPT first came out, I was amazed.
You could ask: “How do I sort a list?” - and💥 it gives you code. Clean, confident, senior-style 😎
You copy it. Paste it. Move on.
But then you realize:
- it doesn’t compile😵
- the method doesn’t exist😵💫
- or worse - it kind of works, but not the way you want🤨
As a beginner, it’s so easy to stop thinking and just trust the code. I’ve been there - that’s why I’m saying:
Always run the code.
📌 Run it in your IDE, in a Playground, or in an online sandbox. Make sure:
🟡 it compiles,
🟡 it behaves as expected,
🟡 and you roughly understand what it’s doing.
Want to level up faster?
Write a quick note to yourself: what did you just learn? Even a sentence helps.
🙃 ChatGPT is a great assistant, but it can make mistakes.
You’re not dumb - you just need to check the code.
So:
Trust, but verify. Run it. Watch it. Understand it.
When ChatGPT first came out, I was amazed.
You could ask: “How do I sort a list?” - and
You copy it. Paste it. Move on.
But then you realize:
- it doesn’t compile
- the method doesn’t exist
- or worse - it kind of works, but not the way you want
As a beginner, it’s so easy to stop thinking and just trust the code. I’ve been there - that’s why I’m saying:
Always run the code.
Want to level up faster?
Write a quick note to yourself: what did you just learn? Even a sentence helps.
🙃 ChatGPT is a great assistant, but it can make mistakes.
You’re not dumb - you just need to check the code.
So:
Trust, but verify. Run it. Watch it. Understand it.
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2
Post 🔤 🔤 - Don't just ask "how", ask "why"
When I work with Java, it's all crystal clear: I know the ecosystem, I understand what's going on under the hood, and any steps from ChatGPT or documentation feel like an open book📖 But recently I started learning Swift and SwiftUI - and things got trickier.
Sure, you can just follow step-by-step instructions: copy, paste, run - done. But without knowing why it works, you risk falling into the "magic" trap. It's fine today, but tomorrow the context changes, and the code breaks - and you have no clue where to start debugging.
That's why I always try to dig deeper. If ChatGPT gives me an answer, I'll ask: why is it like this? what if I do it differently? are there alternatives?
⚠️ One catch: this can take a lot of time. The tree of topics can grow wide and deep. You ask about one thing, and the explanation sparks more questions. Sometimes you start with a SwiftUI layout question and end up discussing CPU architecture 🤯 ChatGPT doesn't always know when to stop, so sometimes it's better to have a mentor who will say, "Enough, go write code".
💡 My tip: when learning something new, switch between two modes - "just get it done" and "now understand why it works". That way you get both results and lasting knowledge.
When I work with Java, it's all crystal clear: I know the ecosystem, I understand what's going on under the hood, and any steps from ChatGPT or documentation feel like an open book
Sure, you can just follow step-by-step instructions: copy, paste, run - done. But without knowing why it works, you risk falling into the "magic" trap. It's fine today, but tomorrow the context changes, and the code breaks - and you have no clue where to start debugging.
That's why I always try to dig deeper. If ChatGPT gives me an answer, I'll ask: why is it like this? what if I do it differently? are there alternatives?
Please open Telegram to view this post
VIEW IN TELEGRAM
Post 🔤 🔤 - Check the docs, not just the bot
One of the most dangerous traps when working with ChatGPT is trusting it too much.
I often see this - and sometimes catch myself doing it too - when ChatGPT confidently provides:
🔸 method names
🔸 function signatures
🔸 parameters
🔸 a "recommended" way to use an API
And it all looks very convincing😌
Especially when you're working with a technology that's new to you - like Swift / SwiftUI or some cloud SDK.
But here's the key thing: ChatGPT is not a compiler and not official documentation.
It can:
🔸 mix up API versions
🔸 suggest outdated approaches
🔸 or simply invent a method that sounds logical but doesn’t actually exist 🤷♂️
In Java, I usually notice this immediately.
In a new tech stack - not always. And that's exactly where official documentation becomes critical.
📌 If ChatGPT suggests:
🔸 a new method
🔸 an annotation
🔸 a modifier
- pause and open the docs.
Apple Docs, Oracle Docs, AWS Docs - it doesn't matter. That's your source of truth.
Yes, reading docs is harder than copy-pasting code. But they give you context, constraints, and real-world examples.
🤖 I treat ChatGPT like a navigator:
"Show me the direction" - yes.
"Be the single source of truth" - no.
💡 A good rule of thumb:
ChatGPT👉 ideas and explanations
Documentation👉 verification and details
One of the most dangerous traps when working with ChatGPT is trusting it too much.
I often see this - and sometimes catch myself doing it too - when ChatGPT confidently provides:
And it all looks very convincing
Especially when you're working with a technology that's new to you - like Swift / SwiftUI or some cloud SDK.
But here's the key thing: ChatGPT is not a compiler and not official documentation.
It can:
In Java, I usually notice this immediately.
In a new tech stack - not always. And that's exactly where official documentation becomes critical.
- pause and open the docs.
Apple Docs, Oracle Docs, AWS Docs - it doesn't matter. That's your source of truth.
Yes, reading docs is harder than copy-pasting code. But they give you context, constraints, and real-world examples.
"Show me the direction" - yes.
"Be the single source of truth" - no.
ChatGPT
Documentation
Please open Telegram to view this post
VIEW IN TELEGRAM
👍1🔥1
Post 🔤 🔤 - Compare multiple answers
One thing I noticed when working with ChatGPT:
the first answer is not always the best one.
Most of the time, it's... decent.
It works, it looks fine - but that doesn't mean it's the right solution for your case.
I've had situations where ChatGPT🤖 gave me a solution, I implemented it... and later realized:
- it's not idiomatic
- it's overcomplicated
- or there's a much simpler way to do the same thing😅
This happens a lot when you're working with a new technology.
For example, in SwiftUI📱 there are often multiple ways to build the same UI - but some are much more "native" than others.
📌 What helped me:
I started asking the same question in different ways.
For example:
🔴 Is there a simpler way to do this?
🔴 What would be a more idiomatic solution?
🔴 How would an experienced developer approach this?
And suddenly - I get a completely different answer. Sometimes much better.
🤖 ChatGPT doesn't really "think" in one fixed solution. It generates responses.
So by rephrasing your question, you explore different parts of the solution space.
⚠️ Important:
Don't just collect answers - compare them.
Ask yourself:
🔴 Which one is easier?
🔴 Which one is more readable?
🔴 Which one fits the ecosystem better?
💡 My rule:
If something feels a bit "off" - ask again.
It's cheap, fast, and often gives you a better result.
One thing I noticed when working with ChatGPT:
the first answer is not always the best one.
Most of the time, it's... decent.
It works, it looks fine - but that doesn't mean it's the right solution for your case.
I've had situations where ChatGPT
- it's not idiomatic
- it's overcomplicated
- or there's a much simpler way to do the same thing
This happens a lot when you're working with a new technology.
For example, in SwiftUI
I started asking the same question in different ways.
For example:
And suddenly - I get a completely different answer. Sometimes much better.
So by rephrasing your question, you explore different parts of the solution space.
Don't just collect answers - compare them.
Ask yourself:
If something feels a bit "off" - ask again.
It's cheap, fast, and often gives you a better result.
Please open Telegram to view this post
VIEW IN TELEGRAM
Hello my dear readers! I would like to advertise my another channel where I tell about a microcontroller based project: traffic light 🚦
This is the electronics & programming worlds together. What could be more exciting?😎
https://t.me/BitByBitLab
This is the electronics & programming worlds together. What could be more exciting?
https://t.me/BitByBitLab
Please open Telegram to view this post
VIEW IN TELEGRAM
Telegram
Bit by Bit Lab
Building things across software and hardware.
This is my engineering log:
- backend (Java/Kotlin), iOS, and general programming
- microcontrollers, Arduino, Raspberry Pi
- small DIY projects and experiments
- tools, setups, and things I’m learning
This is my engineering log:
- backend (Java/Kotlin), iOS, and general programming
- microcontrollers, Arduino, Raspberry Pi
- small DIY projects and experiments
- tools, setups, and things I’m learning
❤1👍1