INTRODUCING! Code Golf: Print the Date
Join the DZone community and get the full member experience.Join For 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:
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.
Opinions expressed by DZone contributors are their own.