The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Nothing compares to you...

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
David Cumps

Posts: 319
Nickname: cumpsd
Registered: Feb, 2004

David Cumps is a Belgian Student learning .NET
Nothing compares to you... Posted: Aug 25, 2004 5:11 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by David Cumps.
Original Post: Nothing compares to you...
Feed Title: David Cumps
Feed URL: http://weblogs.asp.net/cumpsd/rss?containerid=12
Feed Description: A Student .Net Blog :p
Latest .NET Buzz Posts
Latest .NET Buzz Posts by David Cumps
Latest Posts From David Cumps

Advertisement
It's a great song, forgot who's the artist, but here is a piece of code that came forward when hearing this song:

C#:

int you = new int(), nothing = new int();

if (nothing.CompareTo(you) == 0) {

   Console.WriteLine("Nothing Compares To You!");

}

Shorter:

int you = new int(), nothing = new int();

Console.WriteLine(nothing.CompareTo(you) == 0 ? "Nothing Compares To You!":"");


PS: It compiles.

And something from a friend of mine during a class of PL/SQL:

PL/SQL:
declare
   Result number(2);
   heart_broken exception;
   gun_trigger exception;
begin
   if SHOW_LOV('myLov') = false then
      go_block('Heart_broken');
   else
      go_block('Joy');
   end if;
   exception
      when heart_broken then
         raise gun_trigger;
end;

(I believe it compiles as well ;))

Update: It seems it's from Sinead O'Connor.

Read: Nothing compares to you...

Topic: Stuff to do Previous Topic   Next Topic Topic: .NET Compact Framework Examples and Good Demos for Presentations

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use