Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

INTRODUCING! Code Golf: Print the Date

DZone's Guide to

INTRODUCING! Code Golf: Print the Date

· Java Zone
Free Resource

Bitbucket is for the code that takes us to Mars, decodes the human genome, or drives your next car. What will your code do? Get started with Bitbucket today, it's free.

When it comes to ingenuity, Code Golf is my absolute favorite thing in the developer space. Code Golf, like the game of golf, is an exercise in brevity - the fewest lines of code and the smaller the file size, the better. It requires creativity, knowledge of your craft, and perseverance.

So in order to showcase the brightest members of our community, DZone will be holding a weekly Code Golf competition.

What's in it for you? The winner every week will receive some awesome DZone swag!

In order to submit your entry, you'll need to leave a comment with your code (using the code feature), as well as what language you used and how large the file is.

So, let's get started!

This week, we'll make things easy for you:

You'll simply need to display, in the following format, the date this challenge was issued:


02/06/2015


The caveat: YOU CANNOT USE ANY NUMBERS OR DATE FUNCTIONS IN YOUR CODE.

The code with the fewest characters (excluding whitespace) will be the winner!

Sound like something you can handle? We'd like to see you try.

Happy coding!

Bitbucket is the Git solution for professional teams who code with a purpose, not just as a hobby. Get started today, it's free.

Topics:

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}