Sinisterly
Hello World - Printable Version

+- Sinisterly (https://sinister.li)
+-- Forum: Coding (https://sinister.li/Forum-Coding)
+--- Forum: Coding (https://sinister.li/Forum-Coding--71)
+--- Thread: Hello World (/Thread-Hello-World--42979)

Pages: 1 2 3


Hello World - H4R0015K - 08-27-2012

Hello World In C
Code:
#include <stdio.h> int main() { printf("Hello world\n"); return 0; }

Hello World In C++
Code:
#include <iostream> using namespace std; int main () { cout << "Hello World!"; return 0; }

Hello World In Go
Code:
package main import "fmt" func main() { fmt.Println("Hello, World") }

Hello World In Java
Code:
class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); } }

Hello World In Perl
Code:
print "Hello World\n";

Hello World In Python
Code:
print "Hello, World!"

Hello World In Ruby
Code:
puts 'Hello world'



RE: Hello World - Anima Templi - 08-27-2012

Sry but i do not see any need of this thread. Nobody will learn anything of see how the you print "Hello World" in 7 differnet languages.


RE: Hello World - H4R0015K - 08-29-2012

(08-27-2012, 04:44 PM)Anima Templi Wrote: Sry but i do not see any need of this thread. Nobody will learn anything of see how the you print "Hello World" in 7 differnet languages.

But they can choose which language to go with!


RE: Hello World - Anima Templi - 08-29-2012

No, you will not learn anything from a language by just make it print out "hello world". You will either not get a clear understanding on how the programming language is build up. So my point is, no one will get any closer on which language they should choose, because they will not get a clear idea of how the language is build up by seeing the different ways of printing "hello world".


RE: Hello World - 3r3bus - 08-29-2012

(08-29-2012, 07:39 AM)Anima Templi Wrote: No, you will not learn anything from a language by just make it print out "hello world". You will either not get a clear understanding on how the programming language is build up. So my point is, no one will get any closer on which language they should choose, because they will not get a clear idea of how the language is build up by seeing the different ways of printing "hello world".

I agree.

If anything, it shows the simplicity of the language in a basic form, but that's about it.


RE: Hello World - unknown_user - 08-30-2012

hi im a new to these languages..if ii wanted to learn which do you recommend to learn 1st??


RE: Hello World - 3r3bus - 08-30-2012

(08-30-2012, 03:41 AM)unknown_user Wrote: hi im a new to these languages..if ii wanted to learn which do you recommend to learn 1st??

C is probably the most useful, but Python is easy.


RE: Hello World - Anima Templi - 08-30-2012

I would say you should at least learn the basics of python because it will make it 10 times easier to learn other languages. After that, you should decide which kind of application/program you cant to make. When you have a goal, it will be easier for us to decide/help you in the right direction.


RE: Hello World - unknown_user - 08-30-2012

thanks..i will go for python..then i will decide which kind of application/program i want to make.


RE: Hello World - Anima Templi - 08-30-2012

Great, it will really benefit you later on.