DZone
Java Zone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
  • Refcardz
  • Trend Reports
  • Webinars
  • Zones
  • |
    • Agile
    • AI
    • Big Data
    • Cloud
    • Database
    • DevOps
    • Integration
    • IoT
    • Java
    • Microservices
    • Open Source
    • Performance
    • Security
    • Web Dev
DZone > Java Zone > To Polyglot Or Not To Polyglot?

To Polyglot Or Not To Polyglot?

Maxim Zakharenkov user avatar by
Maxim Zakharenkov
·
Jun. 05, 08 · Java Zone · Interview
Like (0)
Save
Tweet
6.35K Views

Join the DZone community and get the full member experience.

Join For Free
Andres Almiray in his recent post How many times are we going to "kill" Java is advocating "polyglot programming". I think that the topic is not very simple and it may depend on the situation, environment, developer skills, number of people in the development team etc. We are real developers and need to make real decisions on what to use or not. So, here I would like to suggest everybody to post their opinions and real uses cases where they consider polyglot programming to be good or bad. Please be critical and honest. I'll start with my use case:

I do quite a lot of Swing-based application programming with a remote backend. On the other hand there are a lot of projects using Java on the server side and HTML, JavaScript on the client. When I compare debugging possibilities for both cases I see a very big advantage of the usage of the same language on the client and server. E.g. debugging of Swing application which calls some remote Java method I can do quite easily because:

1. I can do step-by step debugging from client code to server code and back in a single debugging session (server must be executed in the same process)

2. I can use only one IDE for debugging instead of bunch (Firebug, Eclipse or whatever)

3. Mapping between variables is transparent because I have Java at both sides! I don't have to think which Java type is mapped to which in JSON or in some Webservice

Personally I didn't work with Groovy + Scala + Whatever +Java mix programs but I suppose that similar problems with debugging could appear.

Your opinions, use cases guys?

(I didn't posted it as a comment to Andreas's post because I'd like to stress attention on use cases.)

Polyglot (computing)

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • What Are the Best Performance Tuning Strategies for Your SQL Server Indexes?
  • Complete Guide to TestOps
  • SSH Tutorial: Nice and Easy [Video]
  • The Power of Enum: Make Your Code More Readable and Efficient [Video]

Comments

Java Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • MVB Program
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends:

DZone.com is powered by 

AnswerHub logo