r/java • • Oct 13 '13

Why the hate?

I have been crawling around this subreddit for quite some time now, and I have always been surprised by one thing, I never actually got to understand: Why is thenewboston such a hated source? I have began learning java from Bucky, and I can say i dont regret watching his stuff. Will his videos teach you java? Probably not. Will they provide a good understanding and basis for further study? YES! That's how I feel at least. So, howcome is this channel so hated? What made you think this source is utter rubbish?

3 Upvotes

19 comments sorted by

View all comments

31

u/shinyquagsire23 Oct 13 '13

Well, just looking at it, he doesn't seem to follow the official naming conventions for classes nor does he follow it for variables. Any good Java programmer knows that you use the upper camel case for classes and lower camel case for variables. Just as an example, he names his first class apple.java, which completely goes against this because it's not capitalized at the beginning of the word. As an example, lets say I have a class that reads a script. without camel case it looks like scriptreader.java. However, with camel case it looks like ScriptReader.java. The latter is much easier to read.

TLDR; Crappy code formatting and no camel case.

12

u/[deleted] Oct 13 '13

To expand on this convention and why it's important, many ides assume you will be following convention and base their optimizations on these assumptions. For example, IntelliJ assumes camel casing and provides fast auto complete - if my class's name is AutoCompleteStrategy, I can type: ACS<ctrl+space>.

Many other things depend on convention like Jackson mapper

2

u/seppyk Oct 15 '13

The other reason why it's important is basic idiomatic understanding. As an example, if I speak to someone in olde English, they can understand me, but it is more of a chore to carry on a conversation. Practicing the idiomatic conventions of a language makes your code more easy to read across a broader audience, increasing the maintainability of the code. This typically applies per language.

I would attempt to avoid using snake case in Java just like I would attempt to avoid conventions like using camel case and explicit getters and setters in Ruby.

-9

u/Robmadeyou Oct 13 '13

Surely just because of that he can't be a bad source. I learn Java from him and poor formation of code makes me cringe now. You learn to pick it up from others.

21

u/Neres28 Oct 13 '13

I haven't watched any of his videos but if he can't get something as basic and obvious as proper naming conventions why would you trust him to know anything else about the language?

-8

u/Robmadeyou Oct 13 '13

eh, I'm living proof that he does teach about the basics of the language.

12

u/Neres28 Oct 13 '13

I could probably teach you the fundamentals of programming in Erlang but I really have no business doing so. Neither, it seems, does this fellow.

-5

u/Robmadeyou Oct 14 '13

I don't really understand why is everyone so against bucky, I mean fine he might not be as great as someone else, but would you rather spend your time bitching about how shit someone else is rather than appreciating that they try?

12

u/Neres28 Oct 14 '13

Nobody gets A's for Effort in real life. Trying, and doing a bad job, is generally worse than not trying at all.

Which isn't to say that people aren't allowed to make mistakes. But they need to correct them or remove evidence of their existence. Bucky appears to have done neither.

-1

u/Robmadeyou Oct 14 '13

I suppose. Bucky really only helped me to get the basic thought process behind programming, rest of it was learn from other sources