|
大小: 2464
备注:
|
← 于2020-04-26 08:51:16修订的的版本46 ⇥
大小: 3910
备注:
|
| 删除的内容标记成这样。 | 加入的内容标记成这样。 |
| 行号 2: | 行号 2: |
| [[TableOfContents]] | = 程序设计语言 = <<TableOfContents>> * [[https://pypl.github.io/PYPL.html|PYPL: PopularitY of Programming Language]] * [[https://www.tiobe.com/tiobe-index/|TIOBE Index]] * [[https://en.wikipedia.org/wiki/%22Hello,_World!%22_program|Hello World]] == Python == * [[Python]] |
| 行号 6: | 行号 18: |
| * [[C]] | |
| 行号 8: | 行号 21: |
| * [[C++]] |
|
| 行号 28: | 行号 43: |
| 详见["C++语言"] | == Lua == |
| 行号 30: | 行号 45: |
| * [[http://lua-users.org/wiki/TutorialDirectory|Lua Tutorial Directory]] * [[https://www.lua.org/pil/contents.html|Programming in Lua(1st Edition)]] * [[https://julien.danjou.info/why-not-lua/|Why not Lua]] * [[https://www.lua.org/manual/5.3/|Lua Reference Manual]] * [[https://github.com/openresty/lua-resty-redis|Lua Resty Redis]] * [[http://www.londonlua.org/scripting_nginx_with_lua/slides.html#Cover|Scripting Nginx with Lua]] * [[https://github.com/openresty/lua-nginx-module#name|Lua Nginx Module]] * [[http://www.wy182000.com/wordpress/wp-content/uploads/2013/04/readinglua.pdf|Lua源码欣赏 by 云风]] |
|
| 行号 32: | 行号 55: |
| * XLISP: http://www.mv.com/ipusers/xlisper/ * XLISP PLUS: http://almy.us/xlisp.html |
* [[函数式编程]] == Haskell == * [[http://learnyouahaskell.com/|Learn You a Haskell for Great Good]] * [[https://www.youtube.com/watch?v=sW327nUDf5g|School of Haskell]] == JavaScript == * 一个Java Script教程:[[attachment:jsintro.zip]] * [[https://medium.com/javascript-and-opinions/state-of-the-art-javascript-in-2016-ab67fc68eb0b#.ejjn8solb|State of the Art JavaScript in 2016]] * [[https://2019.stateofjs.com/|The State of JavaScript 2019]] * [[https://mochajs.org/#getting-started|MochaJS]] |
| 行号 65: | 行号 99: |
| 一个Delphi教程:attachment:delphitut.zip | 一个Delphi教程:[[attachment:delphitut.zip]] |
| 行号 126: | 行号 160: |
| * VB教程: [[attachment:vb_site.zip]] |
|
| 行号 146: | 行号 182: |
| 一个简洁的Java教程:[attachment:Java%20Programming%20for%20beginners%20in%20fourhours.htm] | 一个简洁的Java教程:[[attachment:Java Programming for beginners in fourhours.htm]] |
| 行号 148: | 行号 184: |
| == JavaScript == 一个Java Script教程:attachment:jsintro.zip |
|
| 行号 152: | 行号 187: |
| * Dolphin Smalltalk: http://www.object-arts.com/content/navigation/products/dce.html 文档:http://www.object-arts.com/docs/index.html | * Dolphin Smalltalk: http://www.object-arts.com/content/navigation/products/dce.html 文档:http://www.object-arts.com/docs/index.html [[attachment:DolphinEducation.exe]] |
| 行号 156: | 行号 191: |
| * http://www.noucorp.com/ == Golang == * https://golang.cafe/ |
程序设计语言
目录
1. Python
2. C
3. C++
4. Lua
5. Lisp
6. Haskell
7. JavaScript
一个Java Script教程:jsintro.zip
8. Delphi
program hellopas;
{$APPTYPE CONSOLE}
uses windows;
type Message = class
txt : string;
constructor create(s:string);
procedure print;
end;
constructor Message.Create(s:string);
begin
txt := s
end;
procedure Message.print;
begin
writeln(txt)
end;
var m : Message;
begin
m := Message.Create('Hello world');
m.print()
end.一个Delphi教程:delphitut.zip
9. Perl
package Message;
# Message class constructor
sub new {
my $class = shift;
my $txt = shift;
my $self = {};
$self->{txt} = $txt;
bless ($self, $class);
return $self;
}
#Message->print() method
sub print{
my $self = shift;
if ($self->{txt} eq ""){
print "No message";
}else{
for($i=0;$i<3;$i++){
print $self->{txt},"\n";
}
}
return $self
}
1;require Message;
$m = Message->new("Hello World");
$m->print();Robert's Tutorial: http://perl.sioc.org/win32perltut.html
10. Visual BASIC
class Message
Private theTxt
Public Property Let TXT(S)
theTxt = S
End Property
Public Sub Print()
Wscript.echo theTxt
End Sub
End Class
Dim M
set M = new Message
M.TXT = "Hello world"
m.Print()VB教程: vb_site.zip
11. Java
class Msg{
private String txt;
public Msg(String s){
txt = s;
}
public void print(){
System.out.println(txt);
}
}
public class hello{
public static void main(String args[]){
Msg M = new Msg("hello world");
M.print();
int i = 0;
}
}一个简洁的Java教程:Java Programming for beginners in fourhours.htm
12. Smalltalk
Dolphin Smalltalk: http://www.object-arts.com/content/navigation/products/dce.html 文档:http://www.object-arts.com/docs/index.html DolphinEducation.exe
13. Tcl