Java Enum Tutorial

preview_player
Показать описание

#keeponcoding #tech #programming
Рекомендации по теме
Комментарии
Автор

Great video! One suggestion I would make is to exemplify common use cases in the industry, so people can have a better idea when they can use it! Keep up with the great content.

serrottf
Автор

I really get good vibes when I watch your videos

biswamohandwari
Автор

Simply the best java enum tutorial on YouTube!

smohammadhn
Автор

Great explanation! I didn't remember the constructor's part

leonardolima
Автор

thanks , always your videos full of explanation and useful contents

alifarhadali
Автор

nice video. short, simple, clean, and concise . thx

torch
Автор

i just can't wrap my head arround in this concepts.

christianpaul
Автор

Thank you for clarity of video. Listen to your vocabulary to explain reasoning! Newbie learning Ruby on Rails and next Javascript then Python w/ bcamp. Appreciate way u explain tech.

cUser
Автор

I am going through Enums that were introduced in Java 1.5. In Effective Java 2'nd Edition it's mentioned that before Java 1.5 there were int and String enum patterns which were having some deficiencies.

I understood the cons of int enum patterns but while going through String enum patterns I got the basic idea but didn't get the deep sense of below statements mentioned under Item30 in Effective Java:

This variant, known as the String enum pattern, is even less desirable. While it does provide printable strings for its constants, it can lead to performance problems because it relies on string comparisons. Worse, it can lead naive users to hard-code string constants into client code instead of using field names. If such a hard-coded string constant contains a typographical error, it will escape detection at compile time and result in bugs at runtime.

Can anyone help me in understanding what these lines explaining. I would appreciate if it can be explained with some code snippet.

Thanks

chungfup
Автор

Hey man love your videos but I was wondering do you ever do one on one conversation about software engineering? Of course if you’re compensated for your time.

franciscovelez
Автор

Let’s say you have a enum field that’s part of your api. Would adding a new enum type be considered breaking your api?

moezzzz
Автор

If this man makes a course i will be the first to buy!

krishnaharix
Автор

Great Video! But i got a doubt i'm really Stuck with Programming i can barely solve easy/medium level competitive type coding.

seriouslyserious
Автор

I don't understand how mine doesn't work even though I did exactly what the video said

tuxedious