Ê͹à¢Õ¹â»Ãá¡ÃÁ ÊÓËÃѺÁ×ÍãËÁè
ٴ¡ѹ͹

; .. ʹ㨡 (Programming) 繼 (Beginner) ͨ繹ѡѲ (Developer) դӶӤѭ ǹٴ¡ѹ "ҡ¹ ŵ (Platform) " ѡҡ͡ кԺѵԡ Windows, Linux, Android, iOS ͡ Windows, Website Application ǡͧ͡ ҷѲ ҷ PHP, JAVA, C, ASP, VB, Python պҧҷѲ öŵ

繼鹡դӶ 3 ͢ҧ Ԩóҡ͹鹡ѺþѲ ͹ 3 ͢ҧ ж 2 ͹͹ ¹价 (Why) ͧ (Tool) 繤Ӷͧͺ ͪͺ 3 Ӷҧ¢ ػҼդӶ 5 ͹ФѺ ǹ

Ѿ
á˹鹵͹ѺӧҹӴѺٻẺ˹
šԷ (Algorithm) #
кǹѭҧ繢鹵͹ 鹵ͺԸ
ͧ鹵͹Ը͡ࡳйӾѭ
鹵͹ԸշСͺªش繢繵͹Ѵਹ ѺСѹ黯ԺѵԶ١ͧ鹵͹úѾ١ͧͧ
ٻẺͧá˹÷ӧҹҧ繢鹵͹ 觼ҹ¡ ͡ѭҵҧ ӴѺ Ҩ͡ѧɵѴ ͹ʹ͢鹵͹ͧԨ


ҹ blog ҹ fb ͧ ǷҧҧἹ͹ҤѺԵѡ֡ Computer Science/Engineering
¹ Panjamapong Sermsawatsri CTO at TakeMeTour »繷ǹԴ ҡѺ ѡ¹ ѡ֡ Դ繹ѡѲ (Developer) 觹Ҩ 7 ¢á Ӥѭ quote ҡ blog ҹǡԹ "ҹͧ֡ҡӧҹ¹ ´ա" ҡ ҨԧҨѧѺ 1 ѹ
1. 㨡Ѻ鹷ҧ͹Ҥͧ
2. ѧ е
3. ¹ vs ӧҹ
4. Ǵ ش effect
5. Ըա¹ mindset ҹ ͡
6. ֡ҹ ֡ҹ ֡ҹ
7. ѷ vs ѷ˭
. 4 ٴ֧紾ѹ ѡ 80/20

ѡ繹ѡ .. ͧẺ ..

sharpen an anvil to create a pin #
.. ѡ֡Ңͧ .. ͺ оٴ Ҿԧ աҹ
ж ǡꡤͧ ..
¹鴷 (Writing Good Code)

ҹͧ ¹ code 㹺͡ arnondora.in.th Arnondora ¹ҡʺó մѧ 1) Cleverness != Good Code 2) Naming .. 3) Comment is also important 4) Write and Re-Write 5) Learn From The Master 6) Good Code is just the WORD 令鹴羺ҡҧ ҷ Gnome developer ͡ Some important qualities of good code Сͺ 1) Ҵ ҹ (Cleanliness) 2) ͹ 鹤 (Consistency) 3) Ѻ (Extensibility) 4) ١ͧ (Correctness)

͡ҡ ҹ Makeuseof.com й 10 Ǣ Ѻ 10-tips-writing-cleaner-better-code Сͺ 1) ͷͤ (Use Descriptive Names) 2) ءŷ˹ҷ੾§ҧ (Give Each Class/Function One Purpose) 3) ź鴷 (Delete Unnecessary Code) 4) ҹҡ͹Ҵ (Readability > Cleverness) 5) ٻẺ͹ (Keep a Consistent Coding Style) 6) ͡ʶһѵ¡١ͧ (Choose the Right Architecture) 7) ӹǹͧ繤 (Master the Languages Idioms) 8) ¹ҡ鴢ͧ (Study the Code of Masters) 9) ¹˵ط (Write Good Comments) 10) Ѻ (Refactor, Refactor, Refactor)

Good Code = ҹлѺ
ǹҹͧ "--á"
Developer ҡҡ Ҿֺ Thailand 4.0 Ѻ Start up trend
15111
24230
33351
42470

ҡ͡

ͧ easy ҡҹͧ TiMeFF ¹ͧ "ҡ͹ 3 ͹" ¹ɰʵ "1 շҹ Developer ѷ Startups ˹ҹѺ ͧԹ¤Ѻǹ" ͷç¹Ѹӹǹҡ Դͧ¹ɴҹ Computer ʴҹѡ¹Ѹ¹ Developer ѹѧش֡ ͷ Jack Ma 繤ѧҷ Alibaba.com ѧ ͷ Steve Jobs 繹ѡѵҷ Apple.com ¹繨ԧ繨ѧ ͷ Edward Snowden 繼Ǫҭͧʹ ¹ҹͧ ͷ Bill Gates ¹кԺѵԡ IBM-DOS ͡ҡԷҷӧҹ ͷMark Zuckerberg ԡ¹Է ҷ䫵ͧ յҧͧʺ¹診 Ҵշҧաҡ

.. Ҿ价 "ᷧҧ" з CookieCoffee ¹ ͧ "4 ԧ褹¹診Է Ѻسѧ" ҡѧ͡˹ҧ´¡պҺѺء ء Copy Idol (繤١й ҡ١ Ҩ͹ҡ) ǹ .ҹ ѡԪ ͧ Hard ˹ ҹ¹ Manager.co.th բͤ͹˹ "ͧҵ պѳԵ㹺ҧҢҵҹҡ ҹԷҡä Դ͹ѹ᷺ءʶҺѹ㹻 ѷ͡ѺҤҷӧҹҹ Computer ¹ŧҧǴеͧä觤դöաҡҡҡ ѳԵҹ Computer Science ӹǹҡҡʶҺѹö¹ҹԧ աҹҼԵçѺͧâͧҴդسҾ§" Ч ͨҡ ͧʹ㨨 Developer Programmer ѴԹ ͡ҧԹͧͧ èԹ (Walk In) Թ͡ (Walk Out) ԷԢͧء ҡٴ֧¹áѺ͹¹Ѻ鹡 ҡǢͧ Algorithm Ҥ鹨ҡ Hello world! 繼ʹҡǹٻѹ͹ (1/3) ͧ ¹ŢẺ Pyramid 1 - 5 ÷ӹͧѹ͹ á ͧ Repeation ҹͧ ¹ code ҧ ҡҹͧ "¹鴷" ǡ MOOC Thai MOOC 觴ѡͧɰʵй ҡçѹ㨡Դ Ѥçҹ Ѻ ѺդسѵẺ˹ ӵդسѵԵҵͧ

ҹͧا VM Vaughn 56 觽֡ Coding ismtech.net Ũҡ freecodecamp.org ҹ ا¹ "ѡѹ зѹիд" ʴ㺻ԭ 繻Ѩѡҧ͹ 㹡÷餹¹ code

ҹʵͧ "Ҩ¹Է-˹ش" ҡ pantip.com ͺ¤ ҷ 繷 2 Mr. Tracker : "¹¹ ͧѹջª 10% ͧ÷ӧҹѺ ǹ͵ͧʺóǹ ͧͧѺ ҨǷҧ" 繷 6 nuacool : "ͧ 25 % Ҩ͹ ա 75 % Ҩҡͧ ǹ "
ػ ¹㹪¹ A ͷ 100% Ҩ͹ӧҹ§ 25% ҹ ҷ Ҩ͹¹ 1 - 10 ҷ餹ͧ ͹ͧӡѹ ¤ Եԧ§ 1 - 10 Ѻ Ҩ a - z Ҩ͹ йͧ͡¹դҡҾ a - z ҧ͹

͹ͧ ͹ͧ͡ ͧ§ͧ ѹ͹

ҹ 2 ͧ ¹ .ҹ ѡԪ ҢԪ Business Analytics and Intelligence ҢԪԷҡûСѹСúä§ ʶԵԻء ʶҺѹѳԵѲʵ ҹ¹ŧ manager online դʹͧ ੾Ф§ (Risk Management) Ф§ ʶҺѹ֡ ҪվҨ

÷ʹͧ§ Ҵ͹ҵͧ ҹСѹسҾ 繵Ǻ觪˹ͧúèѴ 蹡繷 .ҹ ྨ˹ҹ 2 ͧҹ¹ ᷡҷҪվ Էҡä Ѻ 駨ѡѧͧͧ ѧ觷ҹᷡ ѡ¹ ѡ֡ ͼʹ㨴ҹ Developer ҧ .ҹ ʡ˹Ҩ ТҴ Ҩ͹ѡ֡ҷǢͧѧҧ й ¡ ʧ º ͹ ǡѹ Ǻͧҹ¹ Ѵ͡Ѻѡ֡Ҽҹ /webmaster/responsive ǹʡ˹Ҩ Quote ҧ .. ҹ

ҡ 25 Ҥ 2559
ҹ¹֧Է
"ҹԷҡä Դ͹ѹ᷺ءʶҺѹ㹻 ѷ͡ѺҤҷӧҹҹ Computer ¹ŧҧǴеͧä觤դöաҡҡҡ ѳԵҹ computer sciences ӹǹҡҡʶҺѹö¹ҹԧ աҹҼԵçѺͧâͧҴդسҾ§"
ҡ manager.co.th

ҡ 28 ѹҤ 2559
ҹ¹֧ҨԷ
"ءѹ¢ҴŹҧعç դѤҡ سҾջѭ ӧҹԧ ç觷Ҥ͡ҤáԨѹ㹻Ѩغѹ СͺѺѡ֡ҡҡ¹÷ҡ ͺ¹ç ʺ 繡÷µͧ Ҩ෤¹ҧǴҡ šͧԨԷԷҡâšѧءҧǴ ɰԨйѵ繰ҹҨԷ¨ӹǹҡؤ ҨԷ¤ö͹ͧ 赹ͧ¹ 20-30 ա͹ա"
ҡ manager.co.th

úѭ
    úѭ (Contents)
  1. ǤԴ͹¹
  2. ¢ͧ Structure Programming
  3. ¹
  4. úҹ ѹʺó
  5. ҧԴ Ẻ֡Ѵҡ
  6. ҧ Pascal
  7. ҧ Java Script
  8. дѺ¹ 4 дѺ
  9. Ẻ֡ѴѺ͹¹
  10. 줹áͧš
    (Augusta Lovelace Ada)
  11. 143 Ҥ
  12. Ҥ (Time Line)
    鹵͹¹ Programmer
  1. ͡¹˹ ( Programming Language )
  2. çҧ ( Data Structures )
  3. ¹Ѻкҹ ( Database System )
  4. ͡Ẻк ( System Analysis and Design )
  5. çҹ繢ͧͧ ( Student Project ) ͽ֡ԺѵԨԧ
1. ǤԴ͹¹ ¤駷͹¹ ѡ¹ Сͧ͡ »¤ء "¹ ءҹ鹤¡ѹ" 觷ᵡҧѹ ͧ ҡѹ (Syntax) çҧҧ¡ó ࡳͧ 觷͹ѹͧء çҧ (Structure) öʺóҡ˹ ա˹ ¡ý֡ͧͧçҧ (Structure Programming) öǺ觷¡ѹ input, process output ¤ ¹˹ҷ ˹ ¹Ẻ աͧҡա §ͧ֡Ҷ֧ Syntax ͧҹ ǹӻʺó¹ 觡˹鹵͹÷ӧҹ仵ͧ ֧ѡʹѺʹع¹֡ҷյǪҡ ѡ Т鹵͹÷ӧҹͧ鹡͹ ǢѺ仾ѲԪŵ
2. ¢ͧ Structure Programming Ẻçҧ çҧ Сͺ¡кǹ 3 ٻẺ ÷ӧҹẺӴѺ(Sequence) ͡зӵ͹(Decision) ÷ӫ(Loop) յ¡͡͹ if Ѻ select case ÷ӫ¡ do while Ѻ do until ѧѺҡ¹çҧաкǹ§ 3 ٻẺ ǤԴҡ繵ͧ Structure Programming ҡ֡´羺ҷءѧ繵ͧաкǹ 3 ٻẺ繾鹰ҹ Microsoft Access աҹ Tool wizard ѧͧաŧ code module 觵ͧջʺó㹡Ẻ Structure Programming ͤǺ Object ӧҹҹѹ
Ẻçҧ çҧ á˹鹵͹ͧӧҹçҧäǺ鹰ҹ 3 ѡ ÷ӧҹẺӴѺ (Sequence) ͡зӵ͹ (Decision) ÷ӫ (Loop)
2.1 ÷ӧҹẺӴѺ(Sequence) ¹ӧҹҡŧҧ ¹繺÷Ѵ зӷк÷Ѵҡ÷Ѵشŧ仨֧÷Ѵҧش ա÷ӧҹ 3 кǹä ҹ ӹdz о ¹繼ѧҹ(Flowchart) ẺӴѺҾ
var a = 1;
a = a + 2 * 3; // operator rule
document.write(a);
// tryit.asp
2.2 ͡зӵ͹(Decision) ¹͹Ӥ͡з »Ԩ˵ءó 2 кǹ ͹繨ԧСзӡкǹ˹ 稨Сзաкǹ˹ ҫѺ͹ҡ еͧ͹ª 蹡õѴôѡ֡ 繵 ҧѧҹ ʴš͡ҧ ͡зӡкǹ§кǹ
var i = 1;
if(i == 1) i = 2;  
else if(i > 1) { i = 3; }
document.write( i );
2.3 ÷ӫ(Repeation or Loop) ÷ӡкǹ˹¤ ͹㹡äǺ ¶֧÷ӫѡ÷Ӥҡ 2 ٻẺá С¹ ʴҾҧѴਹ͹¹ѧҹ(Flowchart) ¹ͧԹҡ ֧ٻẺ÷ӧҹ 觤Ǻµͧ ҧѧҹʴ繡ʴ觷ӫ(do while) ¶֧÷ӫ㹢з繨ԧ ԡ÷ӫ͹
var i = 1;
while (i < 3) { i = i + 1; }
do { i = i + 1; } while (i  < 3);
document.write( i );
Sequence
Decision
Repeation
3. ¹ 鹵ç˹ :
ͧ learning by doing 鹡Ѻ syntax structure ¡ҧҾ 㨧 蹤 þ 1 ֧ 10 ٵäٳ ԴͧŢ ͧ֡ Structure Programming ӹҭ ǹ syntax ҹ´µͧ ¤駷 feed back "§ͺ¹ ջª" "¹ ֧¹ ¹价 ֧¹" ǡͧ͸Ժ Ẻ "ѡǺ ˹鹵͹÷ӧҹѡẺçҧբ ѡ¹ ѭҴµͧ ѡ Syntax 鹰ҹԴҴ ¹дѺ"
    ¹ҧ (ҡ˹ѧ 鹰ҹ캷 17)
  1. ͡ Ѻѡ֡ҹ鹧·͡ Ҩª
  2. 觢ҧԧҡͧش ҷҹ ֡çҧ͡
  3. ҵ ءҵͧյ ҧ Free compiler
  4. ¹á hello world
  5. ֡ҡ÷ӫ С͡͹ ٵäٳ ; 1 ֧ 10
  6. Դ ҹʴ ͻѺا
  7. ¹ ͡з͡
  8. §ҹҡ ¡˹µ͡
  9. ¹ ׹ к¹Ҫԡ
  10. ҧ˹кͺͧâͧ
    鹵͹þѲ (Steps in Program Development) #
  1. ֡Ҥͧâͧ (Program Requirements)
  2. ͡Ẻ (Program Design)
  3. ¹ (Program Coding)
  4. õǨͺͼԴҴ (Program Debugging)
  5. ÷ͺ (Program Testing)
  6. úاѡ (Program Maintenance)
4. úҹ ѹʺó
úҹ (Project) : 觧ҹѡ¹ 觷Ӥѭҡ ¹ẺҨ͹ 觧ҹͺء¹ ¡ȡ ѹشҪ ѡ¹ѡҧ Ѻ project еͧѡ÷Ӥѭ¹ ͷ֡Ҥ鹤 µͧ еͧ˭ͷҷӷѻ еͧҷҧͧ ʹҤ¹ Ѻԧ͹Ŵҹͧѡ¹ Ҩ Ѻ¹͹ 袹Ҵҹù¡ ÷ѡ֡ ֡ ֡Ҵµͧ (Self learning) ҧ 1 ѻ ͷçҹǧ 㹺ҧԪҢͧ¹ çҹ駡͹ͺҧҤ лҤ Project 2 Ԫҹ зӤѭӤѭشѺѡ觧ҹͧ ҹ˭еͧ繧ҹ ء͡ʷӴµͧ դ㹤 繼ѺԴͺ鹵͹µͧ ͺ project ˭繧ҹ ͧѡ¹ Ҵǹ¹ 鹵͹ Ҩеͧҷеͺͫѡ к¤駷Ҩ͹Դ 觧ҹԴ ѡ¹Ѻ ѡ¹Դ ˹ѧҧԧ¹Դ õǨҹԴͧҨ
áҤ 2545 ѧҡ͹Ժ ҡͺ§ҹѡ֡价ӧҹ㹤ҹ ֡ԺѵԴµͧ ʺµʹ չѡ֡ǹ˹ դ ʹ㨷¹ ͧ÷ФԴ ء駷¹ ҡ աҡ ѡ֡ҷ ֧֡ҹẺش͡ ͡ ͤ 15 ֧ͺ͡ŧд 4 ͺ 1 ѻ ŷ͹ѡ֡ҹ˹ѧ ٻẺҡ ҹ͡ش 60 ҡ ͹ŧ鹡Ѻ ҷ͹ ÷ѡ֡ Դ ѭ⨷ աѭ˹觷ͧ͹ͧԺѵԡ ǹèٻẺ ¡͡ҹ Ҵѧͧ͹ҹѡ֡Ҩе¹ ǡѺ价Ӥҹ ͡͹§ҧ 10
5. ҧ⨷Դ Ẻ֡ѴҡѺ
excel
ҧԴͺѡ֡¹ (͹㹷ءҷ͹)
1.
11******11
 22****22
  33**33
   4444
Source Code .java
2.
123***
234****
345*****
456******
Source Code .java
3.
15*****
26******
37*******
48********
Source Code .java
4.
*1
**212
***32123
****4321234
Source Code .java
5.
   11
  2**2
 3****3
4******4
 3****3
  2**2
   11
6. (java % and /)
1010101010101
 10101010101
  101010101
   1010101
    10101
     101
      1
7.
      111
     12221
    1233321
   123444321
  12345554321
 1234566654321
123456777654321
8.
123**
 234***
  345****
   456*****
    567******
     678*******
      789********
9.
111111111
 2222222
  33333
   444
    5
10.
    151
   12421
  1233321
 123424321
12345154321
11.
    11
   2 2
  3  3
 4   4
5    5
12.
123456789
 2345678
  34567
   456
    5
13.
987654321
  7654321
    54321
      321
        1
14.
12        21
 23      32
  34    43
   45  54
    5665
15. (2 * i - 1)
11111 11111
2222   2222
333     333
44       44
5         5
16.
1        *
21      **
321    ***
4321  ****
54321*****
17.
19191919
28282828
37373737
46464646
55555555
18.
1*1*****9
2**2****8
3***3***7
4****4**6
5*****5*5
19.
1*********5
2******** 4
3*******  3
4******   2
5*****    1
20.
1*1
22**22
333***333
4444****4444
55555*****55555
21.
*******1*7
******2**6
*****3***5
****4****4
***5*****3
22.
*111111111*
* 2222222 *
*  33333  *
*   444   *
*    5    *
23.
1******1
2***** 2
3****  3
4***   4
5**    5
24.
1*1111111111
2***22222222
3*****333333
4*******4444
5*********55
25.
****5*****
***444****
**33333***
*2222222**
111111111*
26.
11111*
2222**
333***
44****
5*****
27.
1 *
2  **
3   ***
4    ****
5     *****
28.
54321*12345
5432***2345
543*****345
54*******45
5*********5
29.
1*3***
2*4****
3*5*****
4*6******
5*7*******
30.
*********1
 *******21
  *****321
   ***4321
    *54321
31.
11111*****
2222  ****
333    ***
44      **
5        *
32.
1234567***3
123456****4
12345*****5
1234******6
123*******7
33.
    *
   ***
  *****
   ***
    *
34.
    *1*
   *222*
  *23332*
   *222*
    *1*
35.
   1*1*2
   2*3*4
   3*5*6
   4*7*8
   5*9*10
36.
123*321
23***32
3*****3
23***32
123*321
6. ҧ Pascal
Ѻ mail ҡس ditthapong itthiwatthawong <ryojung@samart.co.th>
¹ Դ pascal Ẻ͡ѡ ¹ҧ ֧¹繵ҧѧҧҧ
Ѻѡèҡ鹾 ǹ˹͹㹡þ
ѡ D о÷Ѵ A ֧ ÷Ѵ D жѡ E о÷Ѵ A ֧ ÷Ѵ E 繵
ʵ鹩Ѻ (Source Code)
var
 i,j : integer;
 c : char;
begin
 writeln ('Your english character?');
 readln (c);
 c := upcase(c);
 writeln ('======');
 for i := 65 to ord(c) do
 begin
  for j := 65 to i do  write(chr(j));
  writeln;
 end;
 readln;
end.
Ѿ (Output)
Your english character?
F
======
A
AB
ABC
ABCD
ABCDE
ABCDEF
ҹͧ mail ֧ա function ѧ͹
֧¹Ẻͧ function ֡¡աѺ
ʵ鹩Ѻ (Source Code)
var 
 c,d,g : char;
begin
 writeln ('Your english character?');
 readln (g);
 for c := 'A' to g do
 begin
  for d:= 'A' to c do write(d);
  writeln;
 end;
 readln;
end.
Ѿ (Output)
Your english character?
D
A
AB
ABC
ABCD
7. ҧ Java Script
»ա͹ ͹¹ Pyramid Java ¹ҧ ֧ӵҧ 4 code ҡ 36 code ѹ (23 ..60) ͡ʻѺ code բ ҹ¢ Ѿ价ͺ compilejava.net ǡ paste source Github.com link GIST Ҵ ͨҡлѺҧ Java script Ǣ͹ ѧҹͺ§ҹ .. ¹ 36 code Javascript й Editplus ӡ Create, Edit Run (Ctrl-B) Editplus Notepad++ ͹ Ctrl+Alt+Shift+R = Launch in Chrome ʹ١÷ӧҹͧ Javascript ͧ Save file º¡͹ ҡͧ÷ͺẺ online йӷ js.do jsbin.com
ʵ鹩Ѻ (Source Code)
<html><body><font face="courier new">
<pre>
<script>
/* print 5 row with line number */
var tRow = 5;
for(row=1; row<=tRow; row++) {
 document.write( row + "<br/>")
}
</script>
</pre></font></body></html>
Ѿ (Output)
1
2
3
4
5
ʵ鹩Ѻ (Source Code)
<html><body><pre>
<script>
/* print number in right part */
var tRow = 5;
for(row=1; row<=tRow; row++) {
 // Column have 2 parts 
 document.write( row + " - " );
 for(col=1; col <= row; col++) {
  document.write( 11 - col - row );
 }
 document.write("\n");
}
</script>
</pre></body></html>
Ѿ (Output)
1 - 9
2 - 87
3 - 765
4 - 6543
5 - 54321
ʵ鹩Ѻ (Source Code)
<html><body><pre>
<script>
/* print pyramind of number */
var tRow = 9;
for(row=1; row <= tRow; row++) {
 // Column have 4 parts
 for(col=1;col<=tRow - row + 1;col++){ 
  document.write(" "); 
 }
 for(col=1; col <= row ; col++) { 
  document.write( col ); 
 }
 document.write( row );
 for(col=row; col >= 1 ; col--) { 
  document.write( col ); 
 }
 document.write("\n");
}
</script>
</pre></body></html>
Ѿ (Output)
        111
       12221
      1233321
     123444321
    12345554321
   1234566654321
  123456777654321
 12345678887654321
1234567899987654321
8. дѺ¹ 4 дѺ
    дѺ㹡¹дѺ
  1. ¹͹ ( дѺ )
  2. ¹çҹ觤 ( дѺҧ )
  3. ¹ءҹ ( дѺ٧ )
  4. ¹ԧѵ١¡ѧ ( дѺҪվ )
    ѡ¹ҧ觡ҨաѺ ʵҹ Ժѵԧ¡ҷɯ ¤ ŧͻԺѵԴµͧ ѹ ͧդ͸Ժ ÿѧ §ǤԴ Դӹҭ й任ء ѧͿѧͧ¹ еͧ价ͧԺѵԴµͧ ֧Դ 繪Ѵਹ - ͧš ѡ¹ҡ֡Ҵµͧ ֡Ժѵҧԧѧ դҡ֡駡Ҩ͹ .. ੾м͹һʺóҡûԺѵԨԧ ...
9.Ẻ֡ѴѺ͹¹ͧ ͧҡѡ֡ҷ͹ ӢͺҧҤ ҷҹ֡ úҹ价 ŧͧԴӹҭ ֧ͧҹ 60 жѧ͡ա ҹͺҡ 㹡öشԴҴ¹ҼԴش
    1 ҧ
  1. ʹѡ֡
  2. ͵ͧ
  3. Ţ ҡ
  4. Ծ ʡ к÷Ѵ
  5. Ծ ʡ к÷Ѵ
  6. źǡ ͧŢ 2 ӹǹ
  7. źǡ ź ٳ ͧŢ 2 ӹǹ
    2 ѺҤӹdz
  8. Ţ ѺҨҡ鹾
  9. ѡ ѺҨҡ鹾
  10. źǡ ͧŢ 2 ӹǹ ѺҨҡ鹾
  11. źǡ ź ͧŢ 2 ӹǹ ѺҨҡ鹾
  12. Ťٳ ͧŢ 2 ӹǹ ѺҨҡ鹾
  13. źǡ ͧŢ 3 ӹǹ ѺҨҡ鹾
    3 Ѻ ͡
  14. ѺŢҡ鹾 2 ӹǹ ѧ͹á
  15. ѺŢҡ鹾 2 ӹǹ Ƿҡ
  16. ѺŢҡ鹾 2 ӹǹ Ƿ¡
  17. ѺŢҡ鹾 ҡ 5 wow
  18. ѺŢҡ鹾 ҹ¡ 5 oho
  19. ѺŢҡ鹾 3 ӹǹ Ƿҡش
  20. ѺŢҡ鹾 3 ӹǹ Ƿ·ش
    4 ӫҧ
  21. 1 ֧ 10 for
  22. 1 ֧ 10 while
  23. 10 ֧ 1 for
  24. 10 ֧ 1 while
  25. 10 ֧ 20 for
  26. 10 ֧ 20 while
  27. 20 ֧ 10 for
  28. 20 ֧ 10 while
  29. Ţҧ 1 ֧ 10
  30. Ţҧ 1 ֧ 10
    5 ӫӫ͹ѹ
  1. ٵäٳ 2
  2. ٵäٳ 3
  3. ٵäٳ 2 Ǿ 3
  4. ٵäٳ 2 3 Column
  5. ŢẺ for ͹ for
  6. ŢẺ for ͹ while
  7. ŢẺ while ͹ for
  8. ŢẺ while ͹ while
    6
  9. ҹŨҡẺŢ 3 ҪԡҾ for
  10. ҹŨҡẺѡ 3 ҪԡҾ for
  11. ҹŨҡẺŢ 3 ҪԡҾ for
  12. ҹŨҡẺѡ 3 ҪԡҾ for
  13. ѺŨҡ鹾ŧ ǹҾ
  14. ѺŨҡ鹾ŧ ǹҾ ੾ҡ 10
  15. ѺŨҡ鹾ŧ ǹҾ ੾й¡ 10
    7 ӹdzͧ
  16. ٧ش ҡ١˹繤Ҥ
  17. ҵش ҡ١˹繤Ҥ
  18. Ҽ ҡ١˹繤Ҥ
  19. ҡ١˹繤Ҥ
  20. ٧ش ҡѺҨҡ鹾
  21. ҵش ҡѺҨҡ鹾
  22. Ҽ ҡѺҨҡ鹾
  23. ҡѺҨҡ鹾
    8 Ͱҹ
  24. ҹŨҡ ʴҧҾ
  25. ҹŨҡ ʴҧҾ ŢӴѺӡѺ
  26. ҹŨҡ鹾 ¹ŧ
  27. ҹŨҡ ¹ŧա˹
  28. ѺŨҡ鹾
  29. ź Ẻҧ
  30. 䢢 Ẻҧ
ҹͺѡ֡份֡ ͷѧͺҧҤ
A. ҡ⨷Т ¹١ͧ зԴҧ º͡ҷԴ Դҧ
B. Тͷӷ١ 1 ӷԴ 2 ¡¨شԴ͡ҡѹ
C. ѡ֡Ѻѹ ҨشԴҴͧ͹
D. ҧشԴҴйӹѡ֡
- ¹觼Դ class ClaSs 繵
- ͧ . , ; ( { = 繵
- Сȵ Сȵë
- ҹԴ Ţ 繵ѡ ¹͹һż
- С include IOException
- ӹǹ { ҡѺ }
- Compile ҹ ¡ҹ
- ԴҴҧ ͻż ͵ǨͺҧżżԴҴ
10. ºҤҡ ¹ͧյ ҧش javascript żѹ Internet Explorer բʧͧ javascript Դҡ thaiall.com/java Ѻҧ 10.2 ֧ 10.4 2 Ẻ ੾Ф max §ӴѺҡ仹 ѡä¡ѹ
10.1 ººҤ 2
: if ͡ҷҡʴ
<script>
var a = 5;
var b = 6;
if(a > b) 
  document.write(a + "" + b);
else
  document.write(b + "" + a);
</script>
10.2 ººҤ 3 Ẻ 1
: if and ººѹ 3 ءó
: ѭѡɳ && and javascript
<script>
var a = 5;
var b = 7;
var c = 6;
if(a>b && a>c) document.write(a);
if(b>a && b>c) document.write(b);
if(c>a && c>b) document.write(c);
</script>
<script>
var a = 5;
var b = 7;
var c = 6;
if(a > b && b > c) 
document.write(a +""+ b +""+ c);
if(a > c && c > b) 
document.write(a +""+ c +""+ b);
if(b > a && a > c) 
document.write(b +""+ a +""+ c);
if(b > c && c > a) 
document.write(b +""+ c +""+ a);
if(c > a && a > b) 
document.write(c +""+ a +""+ b);
if(c > b && b > a) 
document.write(c +""+ b +""+ a);
</script>
10.3 ººҤ 3 Ẻ 2
: if ººҷФ͹
: šºº֧ if else ¡ó
<script>
var a = 5;
var b = 7;
var c = 6;
if(a > b) 
  if (b > c) document.write(a);
  else { if(c > a) 
         document.write(c);
       }
else if(b > c) document.write(b);
  else document.write(c);
</script>
<script>
var a = 5;
var b = 7;
var c = 6;
if(a > b) 
 if (b > c) 
  document.write(a +""+ b +""+ c);
 else if(a > c) 
  document.write(a +""+ c +""+ b);
 else 
  document.write(c +""+ a +""+ b);
 else if (a > c) 
  document.write(b +""+ a +""+ c);
 else if(b > c) 
  document.write(b +""+ c +""+ a);
 else 
  document.write(c +""+ b +""+ a);
</script>
10.4 ººҤ 3 Ẻ 3
: Ѻͧ 2 ҹ t
<script>
var a = 5;
var b = 7;
var c = 6;
var t = a;
if(b > t) t = b;
if(c > t) t = c;
document.write(t);
</script>
var a = 5;
var b = 7;
var c = 6;
var t;
if(b > a) { t = a; a = b; b = t;}
if(c > b) { t = c; c = b; b = t;}
if(b > a) { t = a; a = b; b = t;}
document.write(a +""+ b  +""+ c);
</script>
10.5 ºº Bubble Sort
: èѴ§ŷ·شԸ˹
: bubble ҿͧ ѡùʴ¢鹢ͧҷе
<script>
var a = new Array ();
a = [5,6,8,2,1,3,4,7,9];
var tmp;
for(i=0;i<a.length;i++)
  for(j=0;j<=i;j++)
    if (a[j] < a[j + 1]) {
       tmp = a[j];
       a[j] = a[j + 1];
       a[j + 1] = tmp;
       j-=2;
    }  
for(i=0;i<a.length;i++)
document.write(a[i]);
</script>
Դ google chrome
㹡 Programer Thai Blood աӶ Pyramid سɯҹ س Usw chatchai й inspector ͧ google chrome ¹ յҧ code ѧ
var txtTriangle='';
var maxRow = 9;
for (var row = 1; row <= maxRow; row++){
  var txtRow = '';
  // loop дҹ˹
  for (var col = 1; col <= maxRow - row; col++){
    txtRow += ' ';
  }
  // loop 觻Ţش˹
  for (var col = 1; col < row; col++) {
    txtRow += col;
  }
  // loop 觻Ţǡҧ Ъشѧ
  for (var col = row; col > 0; col--) {
    txtRow += col;
  }
  // 鹺÷Ѵ
  txtTriangle += txtRow + '\n';
}
console.log(txtTriangle);
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
11. 줹áͧš Augusta Lovelace Ada 줹áͧš
Edsger Wybe Dijkstra (Programmer) Ѻšͧ繤á [ ҧԧ ]

Do not try to change the world. Give the world the opportunity to change itself
Edsger Wybe Dijkstra theoretical physicist ªԵä 6 .. 2002 ( 72 )
https://www.thocp.net/biographies/dijkstra_edsger.htm
Article : p341-dijkstra.pdf
12. 143 Ҥ :: Ũҡ http://www.thaiall.com/language
:: Ũҡ http://dmoz.org/Computers 189 subcat.
:: Ũҡ http://people.ku.edu/~nkinners 2500
:: Ũҡ http://www.levenez.com/lang/ 50 (Computer Languages Timeline)
:: 繹ѡ 繵ͧء͡Ѻ .. ҧ ժԵѧҧդآ .. Ǥس
  1. ABC (4)
  2. Ada (335)
  3. ADL (1)
  4. Algol 60 (15)
  5. Algol 68 (30)
  6. APL (75)
  7. AppleScript@ (36)
  8. Assembly (188)
  9. Awk (21)
  10. BASIC (231)
  11. Befunge (13)
  12. BETA (9)
  13. Bigwig (1)
  14. Bistro@ (6)
  15. Blue (4)
  16. Brainfuck (14)
  17. C (264)
  18. C++ (831)
  19. Caml@ (3)
  20. Cecil (3)
  21. CHILL (3)
  22. Clarion (42)
  23. Clean (3)
  24. Clipper (28)
  25. CLU (4)
  26. Cobol (125)
  27. CobolScript (2)
  28. Cocoa (3)
  29. Component Pascal@ (10)
  30. C-sharp (148)
  31. Curl (36)
  32. D (48)
  33. DATABUS (7)
  34. Delphi (450)
  35. DOS Batch@ (118)
  36. Dylan (20)
  37. E (4)
  38. Eiffel (71)
  39. ElastiC (2)
  40. Erlang (268)
  41. Euphoria (26)
  42. Forth (202)
  43. Fortran (886)
  44. Fortress (4)
  45. FP (2)
  46. Frontier (46)
  47. Goedel (3)
  48. Groovy@ (22)
  49. Haskell (61)
  50. HTML@ (316)
  51. HTMLScript@ (63)
  52. HyperCard@ (16)
  53. ICI (3)
  54. Icon (8)
  55. IDL (15)
  56. Intercal (16)
  57. Io (10)
  58. Jal@ (10)
  59. Java (2,952)
  60. JavaScript (566)
  61. Jovial (8)
  62. LabVIEW (85)
  63. Lagoona@ (1)
  64. LaTeX@ (117)
  65. Leda (4)
  66. Limbo (6)
  67. Lisp (445)
  68. Logo@ (59)
  69. Lua (20)
  70. m4 (2)
  71. Maple@ (26)
  72. Mathematica@ (53)
  73. MATLAB@ (146)
  74. Mercury (4)
  75. Miranda (11)
  76. Miva (63)
  77. ML (52)
  78. Modula-2 (27)
  79. Modula-3 (8)
  80. Moto (4)
  81. Mumps (22)
  82. Oberon (65)
  83. Objective Caml@ (25)
  84. Objective-C (21)
  85. Obliq (4)
  86. Occam (20)
  87. Oz (8)
  88. Pascal (79)
  89. Perl (925)
  90. PHP (1,495)
  91. Pike (7)
  92. PL (14)
  93. Pliant (9)
  94. PL-SQL (50)
  95. POP-11 (11)
  96. PostScript@ (39)
  97. PowerBuilder@ (98)
  98. Prograph (24)
  99. Prolog (69)
  100. Proteus (2)
  101. Python (469)
  102. R@ (21)
  103. REBOL (145)
  104. Refal (7)
  105. Rexx (210)
  106. Rigal (3)
  107. RPG (16)
  108. Ruby (223)
  109. SAS (51)
  110. Sather (11)
  111. Scheme@ (144)
  112. Self@ (16)
  113. SETL (6)
  114. SGML@ (29)
  115. Simkin (5)
  116. Simula (8)
  117. Sisal (11)
  118. S-Lang (2)
  119. Smalltalk (309)
  120. Snobol (6)
  121. SQL (41)
  122. Squeak@ (94)
  123. Tcl-Tk (113)
  124. Tempo (2)
  125. TeX@ (402)
  126. TOM (2)
  127. TRAC (4)
  128. Transcript (25)
  129. Turing (8)
  130. T3X (3)
  131. UML@ (177)
  132. VBScript@ (19)
  133. Verilog@ (16)
  134. VHDL@ (28)
  135. Visual Basic (464)
  136. Visual DialogScript (4)
  137. Visual FoxPro (67)
  138. Water (11)
  139. XML@ (749)
  140. XOTcl@ (5)
  141. YAFL (2)
  142. Yorick (8)
  143. Z (28)
13. scratch ҧ 1 ֧ 5
Һ google ʹѺʹع硷Ѱ ¹ Էҡä (Computer Science) դ´ cs-first.com ʹͧŢ ֧ͧ scratch scratch.mit.edu ҧ ;ٴ (say) 1 ֧ 5 Ẻӫ
ٴ 1 ӹǹ 1 蹴 , ء ͹ 2
ٴ 2 ӹǹ 2 蹴 , ء ͹ 3
件֧ 5
ٴ 5 ӹǹ 5 蹴 , ء ش
ҧ randomnumber ѺҨ
+ simplerandomnumbers.pdf

ѹ¡Ѻѡ֡
.. ԴʹͧἹѲҴԨԷɰԨѧ
Ӷ ҡͧ ¹ ͧҧ
ӵͺ ˹ѧͷ͸Ժͧ¹ҹ
Ӷ ҡӹҭ㹡¹ ͧҧ
ӵͺ ⨷ͧ ֡¹ ӹҭ


鹡Ѻ Scratch դѺ ҡ ͧ¹ code
Program
" Scratch ҹö¹µǷҹͧ
Ẻͺ ¹ ˹ѧٹ
ѧŧҹ 㹪͹Źա
Scratch 餹¹ФԴҧҧä
кԴҧ˵ؼ зӧҹѹ
繷ѡзѺԵȵɷ 21
"
Scratch Homepage


Print 1 to 5 in Scratch
á programmer
ó ɰʵ ͡ҹ coding 3 ͹
ͧ "ҡ͹ 3 ͹" ͧ ProgrammerThai ͧǢͧ˹ 診ԭҵմҹɰʵ ູ͡ҡҹШ ¹ coding 㨨 3 ͹ ¡¹µͧҹ MOOC к ʵ @TiMeFF ¹ blog medium.com ҹ´ҧçѹ post ͧ˹ɰʵ
ó .6 Dream CSS
ҹ post ͧ ͧ Kittichai Mala-in FramyFollow (.6) medium.com Ƿ¹ blog ʺó ç¹ҹ͹˹ͧԵҾ 126 .3 1) root Smartphone ͧ True ҹ King Root ͢ .4 Ѻ .5 ҧ 2) RPG Maker VX ǹ .6 ʹ 3) Dream Weaver CS5 Ѻ CSS ¨ҡ thaicreate.com ¹ ҹҧҡ ʹ㨷ͧ¹ҹ post ͧͧ .6
Python ͡Ţ Ţ ҡ
Ẻ .gif
͸Ժ¢鹵͹÷ӧҹͧ ӡ÷ӫӡѺ ͡Ţ 㹵 even ͡Ţ 㹵 odd
numbers = [12, 37, 5, 42, 8, 3]
even = []
odd = []
while len(numbers) > :
  number = numbers.pop()
  if(number % 2 == 0):
    even.append(number)
  else:
    odd.append(number)
÷ӧҹͧѺŢŢ python
ؤͧԷҡä (itinlife537)
ͺҡǼҹ whitehouse.gov 30 Ҥ 2559 ɰԨؤ Էҡä (Computer Science) §ѡзҧ͡ 繷ѡо鹰ҹ շ駡ҹ ¹ Сäӹdz Ҩҧ 4 ѹҹ­ҼѡѹѡٵԷҡäա¹дѺж֡Ҷ֧Ѹ֡ ҹ͡¹ ؤͧäӹdz繷ѡо鹰ҹͧǪء ҧҳ͹˭ ѧ˹§ҹ National Science Foundation 135 ҹ­ͺѲҤټ͹դöҧԷҡä
ԡ繼Ӵҹ෤շ繨ش 繻ȷʺҧѴਹ ռŧҹͧ㹻 ҷ Facebook.com, Microsoft.com, Google.com, Apple.com, Oracle.com ѧ鹡ش秨֧觷͡ӤԹ件١ҧ ͧ价þѲҡ֡ҷóҡáѺԷҡäѺ硵ҹ͡¹ ͹ҤɰԨͧءȷšִ§Ѻ෤ʹҧա§ Ȩչդس Alibaba.com ԡ B2B ѹѺ˹觢ͧ·ش㹨չ ѧʹյդسѹ Դͧʹͧ Enigma ͧѹʧصŧǡҷè 繼ŧҹͧ Ѻ¡ͧ繺ԴԷҡä
ҡǨѡФҹ͡价ӧҹ㹻ȡ¹ ѡѧɹǧҡش зѡдҹ෤ʹ繻ѭͧŧ Ҥͧ觡Ѻҧ ͧҨоѲҤҧҡ лѭҤ෤ʹȢͧաѹ㹷ءдѺ ѭç¹硷֧ 60 觼Ŷ֧ӹǹç¹ 觼Ŷ֧ҳءҹ ѭҡӤѭͧҤѰ͡ԡʹҧԧѧ ѭҼ÷෤ʹ㹡úèѴͧ ж㹻ѨغѹҴѡͷաҷѡТͧ˭㹻Ѩغѹͧ͹Ͷ֧͹ҡ繸
+ http://tinyurl.com/js9ssod

.3 ͧ¡¹ C# ФѺ
ҹ˹ѧԪ ෤ʹС Ѻ .3 պ 3 þѲ ˹ 39 68 ͹ IDE Sharpdevelop


Try Html Basic
Regular Expression

Developer ѡ editor Ш Ҩ Atom, Sublime, Editplus, Notepad++, Textmate, Visual Studio Code, Ultra Edit, Textpad 觿ѧѹ˹觷Ӥѭ Regular Expression Ѻ Find and Replace 觵ҧҾСͺ 繡÷ Data cleanning кǹõǨͺС (ź) ¡âŷ١ͧ͡仨ҡش ѧҡѴ͡ʶԵԢͧ ͷ.2559 ҡ pdf text 羺ѭҷͧѺº¡͹

ҧҾ Regular Expression Notepad++
\r = ascii(13) \n=ascii(10) \t = ascii(9)
\x41\x43 ac
\r\n..\r\n Һ÷Ѵ 2 ѡ
.at bat, cat, eat, fat, hat, oat, rat, sat
[abc][123] a4, c1, b1, A1, C3
href|img|src href, img, src
="[a-z0-9][a-z0-9]" ="31", ="it", ="A1"
[\.]jpg|png .jpg, .png

ý֡ҹ ͺ ͺ
ԹҡӤѭҤ õ ͧ鹨ҡ¹ ͧѴਹ ҹҡѺԹҡ ֧·ٻ
鹰ҹþѲҧк ͡ҡ IPO ѧ PDCA зþѲԴ÷ӫ ǧ §ҹ ¨Թҡ͡ ·
ý֡ҹ ͽ֡ԺѵԪҪվҪվ § 1 - 2 ͺ ͹ͧػó ʶҹ СäǺ ҧ¨ͧԴͧ١ҡ С˹鹷ҧҵ
ý֡Ժѵ¤ ͺ 鹷ҧ ӡѴͧػó ͧ ʶҹ öͺ öͧԴͧ١Ҩоҧ

http://goo.gl/72BPC

ͺس͹ .. ФѺ .. Թյ͹Ѻ