Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › What Programming Language Should I Learn?
New Posts  All Forums:Forum Nav:

What Programming Language Should I Learn? - Page 2

post #11 of 22
Thread Starter 
Nah - I can't stand web stuff
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #12 of 22
what about python? (I know little about programming myself)
Xplor
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9450 @ 3.4Ghz (425 x 8) DFI DK P45-T2RS PLUS Palit 9800GT 2GB Corsair XMS2 DDR2-800 @ 850 5-5-5-15 
Hard DriveOptical DriveOSMonitor
WD 500GB SataII LG HD DVD, Blu-ray Combo Drive Windows Vista Ultimate Samsung 226BW 
KeyboardPowerCaseMouse
Logitech Wireless 550w Generic Lian Li PC-A70B (Soon to be modded) Logitech Wireless 
Mouse Pad
Desk :D 
  hide details  
Reply
Xplor
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q9450 @ 3.4Ghz (425 x 8) DFI DK P45-T2RS PLUS Palit 9800GT 2GB Corsair XMS2 DDR2-800 @ 850 5-5-5-15 
Hard DriveOptical DriveOSMonitor
WD 500GB SataII LG HD DVD, Blu-ray Combo Drive Windows Vista Ultimate Samsung 226BW 
KeyboardPowerCaseMouse
Logitech Wireless 550w Generic Lian Li PC-A70B (Soon to be modded) Logitech Wireless 
Mouse Pad
Desk :D 
  hide details  
Reply
post #13 of 22
LOGO? LOL!

how about Assembly language? push, pop and all that!

I remember (vaguely) Motorolla 680x0 Assembly from my younger days(89-94)

As for `Coolness` I supose its how geek/nerd ya want to go, check out

www.scene.org

and look at the results and releases at the various partys held round the globe!
Raven
(18 items)
 
  
CPUMotherboardGraphicsRAM
XEON X5470 @ 4.0Ghz ASUS P5Q PRO TURBO ASUS 290X DCU2 EK Full Waterblock 6GB OCZ Reaper PC2-9200 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 4 128GB HP P212/512MB Cache 4 x 1TB SAS 6G Sony Blu Ray 
CoolingCoolingCoolingOS
EK Supremacy EVO EK D5 Vario Pump, EK Res X3 250 EK CoolStream WE540 with FM181 x3 Windows 7 Pro 64BIT 
MonitorPowerCaseMouse
HP ZR24w, Optoma DX606, 84" Panoview Corsair TX750v2 Silverstone RV-02 Black Corsair M65 
Audio
Essence STX 
  hide details  
Reply
Raven
(18 items)
 
  
CPUMotherboardGraphicsRAM
XEON X5470 @ 4.0Ghz ASUS P5Q PRO TURBO ASUS 290X DCU2 EK Full Waterblock 6GB OCZ Reaper PC2-9200 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 4 128GB HP P212/512MB Cache 4 x 1TB SAS 6G Sony Blu Ray 
CoolingCoolingCoolingOS
EK Supremacy EVO EK D5 Vario Pump, EK Res X3 250 EK CoolStream WE540 with FM181 x3 Windows 7 Pro 64BIT 
MonitorPowerCaseMouse
HP ZR24w, Optoma DX606, 84" Panoview Corsair TX750v2 Silverstone RV-02 Black Corsair M65 
Audio
Essence STX 
  hide details  
Reply
post #14 of 22
Check the wiki on functional languages. A LOT of good resource links. I'd start with a little bit of Scheme and then go on to something like Erlang once you get the hang of functional programming. I'd also pick up a book on programming languages, or check out some of the MIT Open Course Ware courses like this one
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
3800x2 DFI NF4 SLI-D HD4850 2gb GSkill ZX 
Hard DriveOSMonitorPower
6+TB of insanity XP Pro L2410NM + DYLM24D6 Corsair 750TX 
CaseMouse
Rocketfish MX 510 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
3800x2 DFI NF4 SLI-D HD4850 2gb GSkill ZX 
Hard DriveOSMonitorPower
6+TB of insanity XP Pro L2410NM + DYLM24D6 Corsair 750TX 
CaseMouse
Rocketfish MX 510 
  hide details  
Reply
post #15 of 22
OK sorry about the delay- needed to sleep and such .

So in scheme for every command this is the basic layout:

(function argument argument argument ....)

so say we had an averaging function and we wanted to average 3, 6, 4, and 1 it would look like:

(avg 3 6 4 1)

This format applies to everything, even adding, To add 4, 5, and 21:

(+ 4 5 21)

It may seem weird at first, but you quickly find that the format is really nice. Now on to making functions, technically it is done with the lambda command to make the function and define to give it a name, but we can do it all in define if we want. To average two numbers with a and b as variable names:
Code:
(define (average a b)
    (/ (+ a b) 2))
To make it average an arbitrary amount of numbers we can declare one of our function variables to collect the remaining inputs into a list (behaves kind of like a linear linked list) by placing a . before it. Average again for as many inputs as you want:

Code:
(define (average a . b)
    (/ (sum a b) (+ 1 (length b))))

; indicates a comment. The above is pretty easy right, an average is the sum of all 
;your inputs, divided by the number of inputs you have. Unfortunately Scheme doesn't
;have sum or length as primitives- so lets make them! 

  ;below null? checks for the end-of-list marker, car gets the data from our list element, 
;and cdr moves down the list  (car and cdr have a broader function than that, but for
;now that's all you need to know)

(define (sum a b)
    (if  (null? b)
             a 
            (sum (+ a (car b)) (cdr b))))

;You'll note that the above was done by recursion- Scheme has no for or while loops, all 
;looping is done by recursion. Might seem weird, but things like this that simplify the 
;language I think are what makes it quite nice and intuitive.
 
(define (length b)
    (if (null? b) 
           0
           (+ 1 (length (cdr b)))))

;in case you are worried about performance issues, Scheme apparently has some nifty 
;tricks to optimize recursion, and the programmer can do some things as well to help. In
;sum you'll notice that the recursion behaves like an iterative process, that is it calls sum
;over and over and only changes its arguments. In length, the method is a little less efficient, 
;the number of waiting additions to be performed grows linearly with the length of b.
So there you have it - a simple Scheme program.
Edited by The Bartender Paradox - 7/2/08 at 10:25am
½
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD A64 3500+ Winchester DFI nF4 SLi-DR EVGA 7800GT OCZ 4000VX 
Hard DriveOptical DriveOSMonitor
Maxtor 300Gb 16Mb Buffer Spinney one XP Pro SOYO LCD 
KeyboardPowerCaseMouse
Broken Somewhat OCZ PowerStream 520W None Old 
Mouse Pad
Pad? AHAAHAHAH 
  hide details  
Reply
½
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD A64 3500+ Winchester DFI nF4 SLi-DR EVGA 7800GT OCZ 4000VX 
Hard DriveOptical DriveOSMonitor
Maxtor 300Gb 16Mb Buffer Spinney one XP Pro SOYO LCD 
KeyboardPowerCaseMouse
Broken Somewhat OCZ PowerStream 520W None Old 
Mouse Pad
Pad? AHAAHAHAH 
  hide details  
Reply
post #16 of 22
Python is a fun language, but you seem to be steering away from OOP with the language you want to learn. If you want to learn another OOP, Python is great.
Game
(17 items)
 
  
CPUMotherboardGraphicsRAM
i7-4790k Asus Hero VII Nvidia MSI GTX 1080 16 GB CORSAIR Vengeance Pro DDR3-2400 
Hard DriveCoolingOSMonitor
1TB Crucial MX200 Some big aircooler Ubuntu 16.04 and Win 10 Dell P2314H 
MonitorMonitorKeyboardPower
Dell P2714H LG 27UD68 4k Realforce 104UB EVGA SuperNOVA 750 G2 
CaseMouseMouse PadAudio
Phanteks Evolv Tempered Glass  Razer Mamba Steelseries QCK+ teac AI-101DA + Custom built speakers and sub 
Audio
B&O P7 
  hide details  
Reply
Game
(17 items)
 
  
CPUMotherboardGraphicsRAM
i7-4790k Asus Hero VII Nvidia MSI GTX 1080 16 GB CORSAIR Vengeance Pro DDR3-2400 
Hard DriveCoolingOSMonitor
1TB Crucial MX200 Some big aircooler Ubuntu 16.04 and Win 10 Dell P2314H 
MonitorMonitorKeyboardPower
Dell P2714H LG 27UD68 4k Realforce 104UB EVGA SuperNOVA 750 G2 
CaseMouseMouse PadAudio
Phanteks Evolv Tempered Glass  Razer Mamba Steelseries QCK+ teac AI-101DA + Custom built speakers and sub 
Audio
B&O P7 
  hide details  
Reply
post #17 of 22
Japanese!



I'd go with PHP it seems useful these days.
post #18 of 22
Thread Starter 
Quote:
Originally Posted by The Bartender Paradox View Post
OK sorry about the delay- needed to sleep and such .

So in scheme for every command this is the basic layout:

(function argument argument argument ....)

so say we had an averaging function and we wanted to average 3, 6, 4, and 1 it would look like:

(avg 3 6 4 1)

This format applies to everything, even adding, To add 4, 5, and 21:

(+ 4 5 21)

It may seem weird at first, but you quickly find that the format is really nice. Now on to making functions, technically it is done with the lambda command to make the function and define to give it a name, but we can do it all in define if we want. To average two numbers with a and b as variable names:
Code:
(define (average a b)
    (/ (+ a b) 2))
To make it average an arbitrary amount of numbers we can declare one of our function variables to collect the remaining inputs into a list (behaves kind of like a linear linked list) by placing a . before it. Average again for as many inputs as you want:

Code:
(define (average a . b)
    (/ (sum a b) (+ 1 (length b))))

; indicates a comment. The above is pretty easy right, an average is the sum of all 
;your inputs, divided by the number of inputs you have. Unfortunately Scheme doesn't
;have sum or length as primitives- so lets make them! 

  ;below null? checks for the end-of-list marker, car gets the data from our list element, 
;and cdr moves down the list  (car and cdr have a broader function than that, but for
;now that's all you need to know)

(define (sum a b)
    (if  (null? b)
             a 
            (sum (+ a (car b)) (cdr b))))

;You'll note that the above was done by recursion- Scheme has no for or while loops, all 
;looping is done by recursion. Might seem weird, but things like this that simplify the 
;language I think are what makes it quite nice and intuitive.
 
(define (length b)
    (if (null? b) 
           0
           (+ 1 (length (cdr b)))))

;in case you are worried about performance issues, Scheme apparently has some nifty 
;tricks to optimize recursion, and the programmer can do some things as well to help. In
;sum you'll notice that the recursion behaves like an iterative process, that is it calls sum
;over and over and only changes its arguments. In length, the method is a little less efficient, 
;the number of waiting additions to be performed grows linearly with the length of b.
So there you have it - a simple Scheme program.
Interesting . I'll probably go for something like that
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
It goes to eleven
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6300 DS3 EVGA 8600GTS 2GB XMS2 DDR2-800 
Hard DriveOSMonitorKeyboard
1.294 TB Arch Linux/XP Samsung 226bw Eclipse II 
PowerCaseMouse
Corsair 520HX Lian-Li v1000B Plus G7 
  hide details  
Reply
post #19 of 22
Cobol!
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
Once again...
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 920 [4.28GHz, HT] Asus P6T + Broadcom NetXtreme II VisionTek HD5850 [900/1200] + Galaxy GT240 2x4GB G.Skill Ripjaw X [1632 MHz] 
Hard DriveOSMonitorKeyboard
Intel X25-M 160GB + 3xRAID0 500GB 7200.12 Window 7 Pro 64 Acer H243H + Samsung 226BW XARMOR-U9BL  
PowerCaseMouseMouse Pad
Antec Truepower New 750W Li Lian PC-V2100 [10x120mm fans] Logitech G9 X-Trac Pro 
  hide details  
Reply
post #20 of 22
Quote:
Originally Posted by rabidgnome229 View Post
Interesting . I'll probably go for something like that
I'm in agreement - that does look simple and intuitive. Will have to look into that.
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K Asrock Z77 Gigabyte 6850 G.Skill F3-12800CL9 
Hard DriveOptical DriveOSMonitor
WD Caviar Black Asus 24x DVD-RW Multi Win 7, CentOS, BT 5.0 RC2, Mac OSX 10.7.4 Dual Asus VH236H 
KeyboardPowerCaseMouse
Saitek Eclipse PC P&C 610 KingWin Logitech Optical TracBall 
Mouse Pad
A drug company generic black pad 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i5 3570K Asrock Z77 Gigabyte 6850 G.Skill F3-12800CL9 
Hard DriveOptical DriveOSMonitor
WD Caviar Black Asus 24x DVD-RW Multi Win 7, CentOS, BT 5.0 RC2, Mac OSX 10.7.4 Dual Asus VH236H 
KeyboardPowerCaseMouse
Saitek Eclipse PC P&C 610 KingWin Logitech Optical TracBall 
Mouse Pad
A drug company generic black pad 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › What Programming Language Should I Learn?