3 ms·
I introduced a bunch of Java developers today to applying predicates and mapping functions using the google-collections lib. Question that was asked the most w
by alrex021 17y ago
I introduced a bunch of Java developers today to applying predicates and mapping functions using the google-collections lib.
Question that was asked the most was: "Will other java developers that do/will work on my project(s) understand this code?"
How do you un-teach people the
for () { if ... if .. if .. } for () { ... } ...
- mquander 17y agoIn the short term? You don't. In the medium term? Companies and groups using the most productive tools will be more successful. If there are real, scalable advantages to assembling a team of great developers and using powerful techniques, then those will shine through over time. If you want to be in on this, you should probably open your mind to learning new things. In the long term? Once the effective techniques are proven, the developers who only know the old ways eventually die and are replaced by younger ones who have learned the better ones. Rinse and repeat.
- mbrubeck 17y agoThat's exactly right, and you can see it in history with the introduction of high-level languages (vs. assembly languages), structured programming, and object-oriented programming.
- joshhart 17y agoGoogle collections is used fairly extensively where I work now. At first, I didn't quite "get" it. A couple weeks later I started reading SICP and now I try my darnest to use predicates, maps, and filters as much as possible. When you've been working in a language like Java sometimes you stop trying to look for the higher abstraction.