r/programming • • Jul 28 '19

Enums - one of the underrated features of Java

https://www.banterly.net/2019/07/28/one-of-the-more-underrated-features-of-java/
0 Upvotes

22 comments sorted by

33

u/[deleted] Jul 28 '19

Can we please stop using memes in technical articles such as these. They serve no purpose other than attempt at making a joke that no one came there looking for.

-19

u/dragosb91 Jul 28 '19

Why are you speaking on behalf of everyone? Just because you do not like something does not mean others also do not like it. It is the internet, if you do not like something you are free to just ignore it.

15

u/chucker23n Jul 28 '19

It is the internet, if you do not like something you are free to just ignore it.

For example, you could’ve ignored the comment above yours.

4

u/yamachi Jul 28 '19

I don't like it either. It's a little cringe-inducing tbh, especially when an article has a bad meme after every few sentences. I know many others dislike it, too.

4

u/realjoeydood Jul 28 '19

Because he's likely speaking from a level of experience and expertise acquired from the professional realm.

You asked...

-7

u/ithika Jul 28 '19

Unlikely, it looks like they're whining like someone who has nothing valuable to say so will argue over what colour the wheel should be once it's invented.

16

u/[deleted] Jul 28 '19

call me elitist or old school but that's pathetic on so many levels

-7

u/dragosb91 Jul 28 '19

Sorry I do not understand...what is pathetic about it?

24

u/[deleted] Jul 28 '19

enums are at least a 40 year old concept, and memes in articles like that annoy me to no end.

-8

u/dragosb91 Jul 28 '19

sorry that they annoy you, but you always have the liberty to close them and not read them if you do not like them...still not sure what is pathetic about it?

14

u/[deleted] Jul 28 '19 edited Jul 28 '19

You don't have to agree obviously but since you asked to clarify... Its pathetic because its a very basic concept that has been around for decades in a great many different languages, therefore its something that any programmer that isn't a total hack should already know about. Then the article explains it to you like you're a 9 year old with some unfunny internet "jokes". That's why I perceive this article as pathetic, its low effort, uninteresting, irrelevant and cringe worthy.

If you want to learn about Enums go read up about them in a decent book about Java, if you actually learn these fundamental concepts from random blog posts like this you are doing it wrong... smh

0

u/[deleted] Jul 28 '19

-6

u/dragosb91 Jul 28 '19 edited Jul 28 '19

So you think that if a post is not targetting you then its pathetic? wow nice person you are I would like to hang out with you kappa, I assume based on your very smart logic that also the textbook where you originally learned about enums was also pathetic, low effort, uninteresting and irrelevant

8

u/[deleted] Jul 28 '19

Oh come on, just because we have a difference of opinion about this article doesn't mean we wouldn't get along. Do you have to agree with everyone?

(textbooks have a peer review process that ensure a certain level of quality, thats why I would recommend those as a source to learn these concepts, not random blog posts)

0

u/dragosb91 Jul 28 '19 edited Jul 28 '19

The only thing I am saying is that yes maybe for a senior programmer at google yes it may very be uninteresting and irrelevant, but trust me I saw code written by principle engineers who were using int constants and of the sort and also there are a lot of begginers out there that are not really thaught this things in school.

-4

u/[deleted] Jul 28 '19

Yeah OP, get off his lawn!

3

u/manzanita2 Jul 28 '19

Good article, but doesn't even cover all that can be done with Enums. For example once you have private constructor and some fields, you can store a bunch of a associated fields within each enum.

-4

u/richardhell Jul 28 '19

Here come the geniuses to comment on the memes and not on the subject of the blog...

10

u/chucker23n Jul 28 '19 edited Jul 28 '19

Well, they are simply a poor fit. It’s like a late-night show host who applies the [sting](https://en.m.wikipedia.org/wiki/Sting_(percussion) or canned laughter too much. Author is (presumably) trying to explain a useful, serious topic, yet diminishing their own effort by treating their own paragraphs as punchlines.

1

u/richardhell Aug 30 '19

ba dum tss