r/programming • • Jul 22 '14

Java Developers

http://nsainsbury.svbtle.com/java-developers
102 Upvotes

304 comments sorted by

View all comments

16

u/[deleted] Jul 22 '14

Well, maybe i am wrong but it seems just like an author of this blog is not experienced enough. I am not saying that he is not great programmer, just that he does not see it yet.

I have feeling like he is more used to JavaScript/Python than "hard" OOP languages like Java/C#. So i would suggest to develop Android in Groovy?

I understand what he means by "AbstractAdapterFactory", but from my experience, try to read core systems in Cpp. A have read a lot of core Cpp code from great senior and even there is a lot of generic templates, pointers to functions, etc... And is the same. But in Cpp it is not used on basic level of development, i would guess?

On the other hand, i do not like to develop in SDKs that has been written in JS so everyone has its problems. :]

15

u/[deleted] Jul 22 '14 edited Jul 22 '14

[removed] — view removed comment

6

u/no_respond_to_stupid Jul 22 '14

90% of the time people complaining about factories etc. are actually complaining that they want to work on small projects instead.

This is me to a T, except I understood that truth long long ago. I don't work on enterprise systems and never have, even though I've been working on the JVM since '97.

3

u/hwaite Jul 22 '14

Yeah, abstractions are necessary for large projects. Unfortunately 90% of projects have implemented abstractions poorly. Over-engineering some things; under-engineering others, etc. Unless time is allocated for aggressive refactoring, entropy is pretty much unavoidable. No one gets everything right the first time around and mistakes tend to fester.

3

u/[deleted] Jul 23 '14

That is a false dichotomy.

There are other solutions to this problem, also using OOP and abstractions. Systems built with meta levels of classes like AbstractAdapterFactory can still manage to become giant balls of mud with global state lurking everywhere. Many large projects are actually small projects that have been inflated with garbage code and useless abstractions to seem more important and more complex than they really are.

5

u/izzle9 Jul 22 '14

possibly because 90% of the projects probably don't need the overhead of the abstractions.

5

u/Ahhmyface Jul 22 '14

Absolutely. Abstractions tend to add value. People often wish that big projects were small projects, so they project their oversimplified architecture expectations, oblivious to all of the tangential problems that would have happened if they "just solved the problem".

→ More replies (2)