Mat said:Thats more than me:
<html>
10 print "Hello world"
20 goto 10
</html>
![]()
hmmm.... BBC Basic?
not html, surely?
Mat said:Thats more than me:
<html>
10 print "Hello world"
20 goto 10
</html>
![]()
orSolari said:Old BASIC used to automatically do a carriage return for print statements. I think you're getting confused with printf![]()
PRINT "Hello world ";
Sleepy said:orCode:PRINT "Hello world ";
If my decades old memory for BASIC is correct
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!!");
}
}
ah you fools ;)
public class Hello
{
public static void main(String[] args)
{
System.out.println("OMG Hello World, it's been a while!!");
}
}
burnsy2023 said:I don't think you need that semicolon after the Hello world string.
Burnsy
burnsy2023 said:Much better
Burnsy
Doesn't anyone use 'prettyprint' any more?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!!");
}
}
EirePlane said:
Java is a useless, ineffecient, crap language!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!!");
}
}
int main( void )
{
printf( "Hello World!" ) ;
return 1 ;
}
I blame poor educationburnsy2023 said:I hate your layout of code, it should be:
Much better
Burnsy
Kreeeee said:Java is a useless, ineffecient, crap language!
Code:int main( void ) { printf( "Hello World!" ) ; return 1 ; }
main()
{
printf("hello, world");
}
SiriusB said:I thought perfect vision was 20:20. So what does that make you? A terminator
SiriusB
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 practiceburnsy2023 said:C is also inefficent if you decide to bloat your code
BurnsyCode:main() { printf("hello, world"); }
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
Ugh. This is how you do it: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
using System;
namespace HelloWorld
{
internal static class Program
{
private static void Main(string[] args)
{
Console.WriteLine("OMG Hello World, it's been a while!!");
}
}
}
JollyGreen said:DELETE FROM HumanRace WHERE HumanType = 'Chav'
103,452,382 rows affected
Inquisitor said:Ugh. This is how you do it
Kreeeee said:I blame poor education![]()