God and SQL

Solari said:
Old BASIC used to automatically do a carriage return for print statements. I think you're getting confused with printf :p
or
Code:
PRINT "Hello world ";


If my decades old memory for BASIC is correct
 
ah you fools ;)

public class Hello{
public static void main(String[] args){
System.out.println("OMG Hello World, it's been a while!!");
}
}
 
crystaline said:
ah you fools ;)

public class Hello{
public static void main(String[] args){
System.out.println("OMG Hello World, it's been a while!!");
}
}

I hate your layout of code, it should be:

Code:
ah you fools ;)

public class Hello
{
   public static void main(String[] args)
   {
	System.out.println("OMG Hello World, it's been a while!!");
   }
}

Much better ;)

Burnsy
 
burnsy2023 said:
I don't think you need that semicolon after the Hello world string.

Burnsy

I think he's right in that the semicolon stops the CR. Flippin heck it's so long since I did BASIC.. Was a great thing to learn when I was about 8 as it's stood me in good stead. The logic helped a lot with learning assembly at college and with doing Unix/Perl scripting at work later on in life :)

I think the 8-bit era was great - it spawned a generation of coders :p
 
crystaline said:
ah you fools ;)

public class Hello{
public static void main(String[] args){
System.out.println("OMG Hello World, it's been a while!!");
}
}
Java is a useless, ineffecient, crap language!

Code:
int main( void )
{
  printf( "Hello World!" ) ;
  return 1 ;
}

burnsy2023 said:
I hate your layout of code, it should be:

Much better ;)

Burnsy
I blame poor education :p
 
Kreeeee said:
Java is a useless, ineffecient, crap language!

Code:
int main( void )
{
  printf( "Hello World!" ) ;
  return 1 ;
}

C is also inefficent if you decide to bloat your code ;)

Code:
main() 
{
       printf("hello, world");
}
Burnsy
 
burnsy2023 said:
C is also inefficent if you decide to bloat your code ;)

Code:
main() 
{
       printf("hello, world");
}
Burnsy
It's not bloated. the ( void ) is interpreted into machine code in the exact same manner () is. Also no one has a clue if your programming terminated properly and is apalling coding practice :)

Well spaced out and purdy looking != bloated.

/me kicks java
 
Kreeeee said:
It's not bloated. the ( void ) is interpreted into machine code in the exact same manner () is. Also no one has a clue if your programming terminated properly and is apalling coding practice :)

Well spaced out and purdy looking != bloated.

/me kicks java

I'll let you have the first point but mine is still easier to read, so nahhh

*Kicks FORTRAN and cuddles RPG*

Burnsy
 
burnsy2023 said:
I hate your layout of code, it should be:

Code:
ah you fools ;)

public class Hello
{
   public static void main(String[] args)
   {
	System.out.println("OMG Hello World, it's been a while!!");
   }
}

Much better ;)

Burnsy
Ugh. This is how you do it:

Code:
using System;

namespace HelloWorld
{
    internal static class Program
    {
        private static void Main(string[] args)
        {
            Console.WriteLine("OMG Hello World, it's been a while!!");
        }
    }
}
 
Back
Top Bottom