Go R Lua Scheme Erlang Groovy Scala Clojure ?
2011 programming language mana yg menjanjikan ya ?
nihhh kalau mau lihat2 nenek moyangnya :
[spoiler=Root of CompLanguage](https://forum.dhammacitta.org/proxy.php?request=http%3A%2F%2Fwww.digibarn.com%2Fcollections%2Fposters%2Ftongues%2Ftongues.jpg&hash=f07c4061a001e70b309980ef77df54eaa8edfae2)[/spoiler]
mohon di share bahasa mana yg siiip banget ya :P :P
saya cuma tahu fortran ;D. itu juga dulu lulusnya untung-untungan :))
PHP<?php
// Hello World in PHP
echo 'Hello World!';
?>
C#//Hello World in C#
class HelloWorld
{
static void Main()
{
System.Console.WriteLine("Hello, World!");
}
}
JavaScript<html>
<body>
<script language="JavaScript" type="text/javascript">
// Hello World in JavaScript
document.write('Hello World');
</script>
</body>
</html>
Perl# Hello world in perl
print "Hello World!\n";
C/* Hello World in C */
#include <stdio.h>
main()
{
printf ("Hello World!\n");
}
Ruby# Hello World in Ruby
puts "Hello World!"
Java// Hello World in Java
class HelloWorld {
static public void main( String args[] ) {
System.out.println( "Hello World!" );
}
}
Python# Hello World in Python
print "Hello World"
VisualBasic.NET'Hello World in Visual Basic .NET (VB.NET)
Imports System.Console
Class HelloWorld
Public Shared Sub Main()
WriteLine("Hello, world!")
End Sub
End Class
QuoteThese were only the introduction, you can see how they are common to each other just to print "hello World" in your program window. Subscribe Hackspc.com to learn such programming languages.
bagaimana dgn Fortran bro Comel? apakah masih ingat?
Quote from: johan3000 on 17 December 2010, 10:27:55 PM
bagaimana dgn Fortran bro Comel? apakah masih ingat?
kagak inget lagi om ;D.
Quote from: comel on 17 December 2010, 10:36:16 PM
kagak inget lagi om ;D.
C OUTPUT HELLO TO CRT
WRITE (6,7)
7 FORMAT(13H HELLO)
STOP
END
[at] 1,1 say "hello world" :))
foxbase mode on =))
Quote from: Forte on 18 December 2010, 07:02:03 AM
[at] 1,1 say "hello world" :))
foxbase mode on =))
seumpamanya bro mencari FoxPro programmer...nih pertanyaan yg menarik dpt dilontarkan...
pertanyaan #1
Tulislah syntax yg benar utk menampilkan "Hello World" ke monitor dlm visualFoxPro (satu baris code)
(note. semangkin banyak contoh semangkin baik....
paling tidak ada 23 cara lho, diatas 5 dianggap udah bagus) ??? ??? ;D
[spoiler=caranya]These are the one-line ways:
1 \Hello World && uses set textmerge on, not the same as text..endtext ;-)
2 ? "Hello world"
3 Error "Hello World!"
4 [at] x, y SAY "Hello world"
5 input "Hello World" to x -- wgcs
6 Wait Window "Hello World"
7 MessageBox ("Hello World")
8 SET MESSAGE TO "Hello world"
9 _screen.Print("Hello World")
10 ACCEPT "Hello World" TO lcVar && -- Andy Kramek
11 _screen.Caption="Hello world"
12 _vfp.StatusBar = "Hello World"
13 InputBox("?","Hello World","") && -- Andy Kramek
14 KEYBOARD "{Ctrl+F2}Hello world!"
15 Assert .F. Message "Hello World" && Debugging, not allowed in interactive mode
16 DEFINE PAD HelloWorld OF _MSYSMENU PROMPT "Hello World"
17 MODIFY FILE "Hello World." && -- Geoff Franklin - wishing he hadn't started this.
18 WAIT "Hello World" TO lcVar && -- And before you ask: No, it's not the same as WAIT WINDOW 19 19 [at] x, y GET HelloWorld DEFAULT "Hello World"
20 ? CHRTRAN(CHRTRAN('67882 3258D', '6789', 'HELP()'), '12345','POWER()')
21 select '' as Helloworld from (_foxcode) where .f. && -- Phil Spencer
22 oResponse.Write([Hello World]) && (to web browser from VFP/IIS) -- Claude Fox
23 SELECT "HelloWord" AS HelloWorld FROM (SYS(2005)) WHERE RECNO() = 1 && -- Luis Maria Guayan
[/spoiler]
=)) kereeeeeeeeeeen
tapi sayang beberapa harus visual foxpro seh
Nambahin bro.....
PASCAL/DELPHI
Begin
{ "Hello World!" in Pascal/Delphi }
WriteLn('Hello World!');
End.
at johan,
java script bukan programming language, tapi script...
bedanya:
programming language perlu dicompiled dahulu
sedangkan script bisa langsung jalan karena ada script engine (real aplikasi nya)
dulu pernah coba pake lisp sih... tapi dah lupa.
[at] tesla:
Script itu bukannya mirip intepreter seperti BASIC yang tidak menghasilkan bahasa mesin. Btw, script walaupun lebih terbatas fungsi dan library-nya, masih bisa dikategorikan sebagai programming language.....
Quote from: Sumedho on 18 December 2010, 07:05:23 PM
dulu pernah coba pake lisp sih... tapi dah lupa.
CL-USER> (format t "hello, world")
hello, world
NILsuhu Medho, justru LISP adalah programming language yg "kelihatan" amat simple.... (S-expression)
contoh program factorial...
Quote(defun factorial (x)
(if (zerop x)
1
(* x (factorial (- x 1)))))
nah menjadi rumit gimana membuat LISP ini bisa main catur maupun sepak bola..
yg memiliki Artificial Intelligence
Quote from: seniya on 18 December 2010, 07:39:17 PM
[at] tesla:
Script itu bukannya mirip intepreter seperti BASIC yang tidak menghasilkan bahasa mesin. Btw, script walaupun lebih terbatas fungsi dan library-nya, masih bisa dikategorikan sebagai programming language.....
pertama orang belajar BASIC (interpreter),.. yg namanya :
intro to programming
thx atas infonya bro Tesla...
Quote from: johan3000 on 17 December 2010, 11:33:57 PM
C OUTPUT HELLO TO CRT
WRITE (6,7)
7 FORMAT(13H HELLO)
STOP
END
sepertinya inget dikit deh, kalo ngak salah awalnya pake 'start', akhirnya pake 'end' ;D.
ditengah-tengahnya ada banyak macem, seperti yang om johan tulis, selain itu yang masih inget ada if, end if, go to,... apa lagi yah? ;D.
duh jadi mengenang kembali jaman kuliah dulu ;D.
tambah lagi... assembly
Quote from: tesla on 19 December 2010, 05:48:10 AM
tambah lagi... assembly
IBM 360/370/390 BAL (Basic Assembler Language)
// EXEC ASSEMBLY
START
MAIN BALR 2,0
USING *,2
OPEN PRINT
MVC BUF,HW
PUT PRINT
CLOSE PRINT
EOJ
HW DC CL132'HELLO WORLD'
BUF DS CL132
PRINT DTFPR IOAREA1=BUF,DEVADDR=SYSLST,BLKSIZE=132, *
DEVICE=3203,CONTROL=YES,PRINTOV=YES
END MAIN
/*
// EXEC LNKEDT
// EXEC
/*
kalau yg ini rasanya udah gak diajarkan di Universitas ya...
Utk lengkapnya program HELLO bisa disini
Hello World
http://en.wikibooks.org/wiki/List_of_hello_world_programs
(http://en.wikibooks.org/wiki/List_of_hello_world_programs)
(https://forum.dhammacitta.org/proxy.php?request=http%3A%2F%2Fi52.tinypic.com%2F2u4ueps.jpg&hash=935a52a13dcaeb1d3a913cb6a8ffb3e149b20d26)
adakah yg tertarik dgn RUBY ?
source : http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html (http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html)