Earlier quoted context omitted.
Isn't it just a little sad that the biggest selling point of a language is that mediocre developers won't cause too many problems with it?
It's not sad, because most developers are mediocre. It may not apply to you, but if you work in the industry long enough you realize that very few of your colleagues are good/great. And there's nothing wrong with that, but if you want to build systems that have to be maintained over multiple years, you somehow have to compensate for that. Java is one compensation.
Java Developers
231–240 of 321 posts
Re: Java Developers
#232Re: Java Developers
#233Re: Java Developers
#234Re: Java Developers
#235Earlier quoted context omitted.
Writing low-level code is important for writing the underlying libraries for those high-level languages, e.g. the run-time systems or the big integer routines.
It's also important due to it helping one understand everything that's going on under the hood in whatever high level language one's using
In the vast majority of cases, it doesn't help your average coder one bit to know about whether or not a particular type of shift on their platform is arithmetic or logical, or how their cache is structured (again, running in a VM, lolzors).
There are cases where it matters--and surprise surprise, most of us don't work in those fields.
Re: Java Developers
#236Earlier quoted context omitted.
> I don't see the need of it if you already have a class-based system. Like in Java? new Object() { void foo() {}}.foo(); // Works Ooops. The point about XML is so stale already that I won't even bother commenting on it.
You seem to be stuck in the topic of how useful structural typing is. Which I agree with.
I care about simple, consistent rules. "X is a type, you can use it wherever you want" is one.
"X is a type, but there is also Y, which you can't really express in position A and B unlike X, but can only use it if you carefully avoid doing things #1 to #4" isn't one.
Re: Java Developers
#237Re: Java Developers
#238Earlier quoted context omitted.
Lisp macros ? (first-class and generic, not bad for a workaround)
No, faced with the fact that CLOS is also verbose, although in a language that is all about closures, you started to present workarounds how to simplify its verbosity.
Re: Java Developers
#239Earlier quoted context omitted.
It seems that you argue for subtyping for the sake of subtyping. Up to you man. Peace.
I don't read it that way. One way of viewing nouns in English is as a hierarchy. At the top of the hierarchy you have "thing", and as you descend the pyramid you get more and more specific. "What is that thing?" -> "What is that animal?" -> "What is that mammal?" -> "What is that ungulate?", etc. There are times when it is appropriate to use "animal", and times when it is appropriate to use "ungulate". It depends on…
When dealing with OOP, I stick with patterns and keep everything else as flat as possible.
Re: Java Developers
#240I think most of the problems are caused by enterprise, enterprise frameworks, and the sheer age of Java. There's a lot of technical debt built up and a lot of enterprisey frameworks that are way over engineered. I use Java, but I tend to do low level stuff, stick to basic I/O, Guava, etc. I think the article is right in one important aspect: the way Sun built Java was to pretend as if everything should be a competiti…