addressalign-toparrow-leftarrow-rightbackbellblockcalendarcameraccwcheckchevron-downchevron-leftchevron-rightchevron-small-downchevron-small-leftchevron-small-rightchevron-small-upchevron-upcircle-with-checkcircle-with-crosscircle-with-pluscontroller-playcrossdots-three-verticaleditemptyheartexporteye-with-lineeyefacebookfolderfullheartglobegmailgooglegroupshelp-with-circleimageimagesinstagramFill 1launch-new-window--smalllight-bulblinklocation-pinm-swarmSearchmailmessagesminusmoremuplabelShape 3 + Rectangle 1ShapeoutlookpersonJoin Group on CardStartprice-ribbonprintShapeShapeShapeShapeImported LayersImported LayersImported Layersshieldstartickettrashtriangle-downtriangle-uptwitteruserwarningyahoo

Re: [ljc] Why Java?

From: Kevin W.
Sent on: Tuesday, June 26, 2012 10:48 AM
My reasoning was nothing quite so noble :)

It was a simple cost benefit analysis compared to C++, which is what I had previously used commercially.  I had also used smalltalk and Lisp in a personal capacity, but there was little demand for Lisp of Smalltalk programmers.  I *had* been exposed to Java at university previously, but it seemed to be very much a toy language at that time; with no JIT yet (let alone hotspot) and a mind-boggling startup time.

Pros:
  • Garbage collection
  • No pointer manipulation
  • No buffer overflows
  • Rich standard library
  • Cross-platform
  • Built-in threading primitives (better still after 1.5, with atomic ops)
  • No need to maintain separate header files
  • Faster compilation
  • The OO was more pure than C++ (though still not perfect), and interfaces fixed the diamond inheritance issue
  • Availability of jobs

Cons:
  • No templates/generics (The C++ STL continues to be awesome)
  • No closures or method handles, no higher level functions (I followed the Sun/MS debate over delegates very closely).  In general, it still misses out on a lot of these kind of abstractions that can really help eliminate code duplication.
  • No operator overloading (BigInt/BigDecimal has *always* been ugly!)

This was all before generics, and before the ecosystem had been established, so I can't class those as pros in my initial choice.  Though they did help reinforce it later :)

So even then, I liked the platform whereas most of my reservations were about the language - not that such a distinction made any sense at the time.  Having said that, the familiarity of the language to C++ devs must surely have helped adoption and therefore growth of the ecosystem!



On 26 June[masked]:35, Ben Evans <[address removed]> wrote:
Simple - money.

In 1998 I was a starving graduate student in the Physics department,
and had been making some money by tutoring a disabled undergrad Comp
Sci student.

He was due to start working with a new language called Java, which I
knew next-to-nothing about, but agreed to learn it in order to stay
ahead of the class and teach him.

Fortunately, I was also writing a monthly column about tech and the
Internet for the student newspaper, so I knew a bit about search
engines. I got so into using one of those search engines, that I
resolved to write about it for my column - and rang up and spoke to a
couple of guys who'd worked on the search engine - Larry & Sergey.

Nice guys - I wonder whatever happened to them?

After that, Java was a language that I knew, but it didn't really
become my primary focus until a few years later when I started working
in finance.

Ben

On Mon, Jun 25, 2012 at 9:11 PM, alexander sharma
<[address removed]> wrote:
> Hi
>
> I wanted to ask why so many people decided to work with Java.
> What started their interest in Java. In my case one of the main reasons was
> because
> most jobs are in java and the pay is better than for php for example
> creating a "safety" net when looking for a job, but recently I have started
> working with python and realized that the code is much easier to read.
>
> Basically I wanted to know why different people choose Java as their main
> language.
>
> Technical reasons, code readability, have they tried and compared other
> languages, what are their backgrounds.
>
> Thanks
>
>
>

Our Sponsors

  • Our Blog

    Read the latest news from the LJC

  • RecWorks Ltd

    Fixing Tech Recruitment using the Power of Community

  • jClarity

    Java/JVM Performance Analysis Tools & mentoring for Java related matters

  • LJC Aggrity

    Our LJC Aggrity site contains blog posts from our members

  • LJC Book Club

    Our Book club with book reviews from our members

  • Devoxx UK

    Java Community Conference in collaboration with the LJC, 8-10th June 16

  • SkillsMatter

    "Host, help organise, promote, film many of our meetings."

  • IBM

    Build Enterprise-grade apps at start-up speed.

  • New Relic

    New Relic makes sense of billions of metrics a day in real time.

  • Hazelcast

    Hazelcast is the leader in operating in-memory computing.

  • Java.Net

    We are an official Java User Group recognised by Oracle's JUG program

  • JRebel

    Free 3 month J-Rebel license.

  • O'Reilly

    40% discount on printed books and 50% on e-books.

People in this
Meetup are also in:

Sign up

Meetup members, Log in

By clicking "Sign up" or "Sign up using Facebook", you confirm that you accept our Terms of Service & Privacy Policy