Coding with Aman

Welcome to Coding With Aman!

I'm Aman Sahni, an IT professional sharing 10+ years of knowledge to help you learn important concepts and crack interviews.

Learn Java, Spring Boot, and how to design systems that can handle anything.

With 10 years in IT, I've seen it all and I'm here to guide you. My tutorials are designed to be clear, concise, and focused on real-world application.

Join me on this coding journey โ€“ subscribe now!


Coding with Aman

Handling Curveball Questions is very important to crack Interviews!

Youโ€™ve nailed the tech rounds, and suddenly the interviewer throws a curveball:

๐Ÿ‘‰ โ€œWhatโ€™s your favorite Java feature?โ€
๐Ÿ‘‰ โ€œWhat would you change in Java if you could?โ€
๐Ÿ‘‰ โ€œHow do you stay up-to-date with Java?โ€

These arenโ€™t textbook questions โ€” theyโ€™re meant to test depth, authenticity, and how you think beyond code.

Below are some of the example responses:

1) Favorite Java Feature?
The Stream API. It changed how we write and reason about data processing โ€” bringing functional style, better readability, and performance with parallel streams.

2) One thing you'd change?
Stronger native support for immutable collections, like Guavaโ€™s. Java's List.of() is a start, but the ecosystem deserves more expressive immutability tools.

3) How do you stay current with Java developments?
I follow OpenJDK mailing lists, participate in guilds, read JEPs, play with preview features, and contribute to OSS โ€” it keeps my skills fresh and relevant.

These questions donโ€™t have โ€œrightโ€ answers. Use them to highlight your thinking, preferences, and growth mindset.

#java #springboot #programming

2 months ago | [YT] | 14

Coding with Aman

If you have got an interview in the next 2-3 days then donโ€™t try to learn everything from scratch. Instead, revise smart.

You can spend just ~3 hours on these focused videos to brush up on core concepts which can help in your interviews:

โœ… Generics in Java (~10 mins)
๐Ÿ”— linktw.in/UdHRxw

โœ… Multithreading Crash Course (~90 mins)
๐Ÿ”— linktw.in/kLDryG

โœ… Java Streams In-Depth (~40 mins)
๐Ÿ”— linktw.in/jdXjZq

โœ… Top 10 Spring Boot Concepts (~50 mins)
๐Ÿ”— linktw.in/hmooIN

โœ… System Design Masterclass (~15 mins)
๐Ÿ”— linktw.in/UWROqql

๐Ÿง  Revise smart. Go in confident.

If you find this helpful, feel free to share it with someone preparing too! ๐Ÿ’ช

4 months ago | [YT] | 30

Coding with Aman

Based on my 10 years of experience in the industry, below two lessons are really important which can help in your career growth:

๐Ÿ‘‰ An uncontrolled schedule is a silent career killer โ€” you donโ€™t even realize it until it's too late. Own your time like you own your meetings and proactively block time in your calendar for coding, learning, deep work, and strategic thinking.

๐Ÿ‘‰ Being smart is important. But being someone people want to collaborate with is what truly sets you apart.

๐Ÿ‘‰ Empathy, emotional intelligence, and the ability to work well with others will take you farther than cleverness alone.

4 months ago | [YT] | 29

Coding with Aman

Java 24 got released a few days back, and Iโ€™m genuinely excited about how Java is solving long-standing multithreading challenges. ๐Ÿ™Œ

If you're a Java developer, start exploring below three features โ€” theyโ€™re not just cool, theyโ€™re the future of Java:

1) Virtual Threads โ€“ Lightweight threads that make writing scalable concurrent apps much easier.

2) Structured Concurrency โ€“ Treat multiple tasks as a single unit of work, making cancellation and error handling super clean.

3) Scoped Values โ€“ A modern, safer alternative to ThreadLocal for sharing immutable data across threads.

These APIs will be game-changers especially when used together.

#java

6 months ago | [YT] | 29

Coding with Aman

Which of the following naming styles are supported by Spring Boot's relaxed binding for configuration properties?

11 months ago | [YT] | 6

Coding with Aman

You have a base class Bird with a fly() method, but you need to create a subclass Penguin that cannot fly. Which SOLID principle does this violate?

11 months ago | [YT] | 12

Coding with Aman

You notice that class A has a private field of type class B, and class B has a private field of type class A. Both classes are accessing each otherโ€™s internal states frequently. Which code smell is this?

11 months ago | [YT] | 5

Coding with Aman

You are developing a text editor that supports optional features like spell-checking, grammar-checking, and plagiarism detection. You want to add these features dynamically without altering the core editor functionality. Which pattern should be applied and why?

11 months ago | [YT] | 6

Coding with Aman

I have started Java Design patterns (low level design) playlist which will help to understand the basics of design patterns, who invented them, how to use them, categories, 21 Design patterns and code smells.

Feedbacks and suggestions always welcomed ๐Ÿ˜Š๐Ÿ‘จ๐Ÿปโ€๐Ÿ’ป

#designpatterns #lld #java

11 months ago | [YT] | 13

Coding with Aman

What does "squashing commits" mean in Git?

11 months ago | [YT] | 16