Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Recommend a programming language to learn
New Posts  All Forums:Forum Nav:

Recommend a programming language to learn - Page 3

post #21 of 53
Yes I am. PHP isn't as low level as C++, I'll give you that. PHP has all of its functions built into the server whilst C++ needs to be compiled with all of its functions. Hence the includes. If your header looks like this:

Code:
#include <iostream>
using std::cout;
using std::endl;
You never need to use those statements again and you can have this for every print:

Code:
cout << "Hello world" << endl;
If you look at a switch statement, or even an if statement, function notation etc. etc. They're damn near the same.
Jillian
(11 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K MSI P67A-G45 B3 MSI GeForce GTX560 Ti GSKILL F3-10666CL9D-8GBRL 
CoolingOSKeyboardPower
Cooler Master Hyper 212 Plus Windows 7 Professional 64-bit Razer Lycosa Corsair 520HX 
CaseMouse
Cooler Master Stacker 830 Razer Mamba 
  hide details  
Reply
Jillian
(11 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K MSI P67A-G45 B3 MSI GeForce GTX560 Ti GSKILL F3-10666CL9D-8GBRL 
CoolingOSKeyboardPower
Cooler Master Hyper 212 Plus Windows 7 Professional 64-bit Razer Lycosa Corsair 520HX 
CaseMouse
Cooler Master Stacker 830 Razer Mamba 
  hide details  
Reply
post #22 of 53

Deleted


Edited by Marco13185 - 1/15/13 at 12:42pm
post #23 of 53
Ruby
Perl
Java
PHP

Code:
## I like Perl a lot

package Foo;

sub new {
    my $class = shift;
      my $self = {
        FOO        => "Unknown",
        BAR              => []

    };
    bless $self, $class;
    return $self;
}

## Main package
my $obj = Foo->new();
$obj->{BAR}[1] = "FOOBAR";
Ruby is a lot like Perl, once you know one, picking up the other is pretty easy.
Java is a nice language too IMO.

Interpretive languages like Perl and Ruby are very nice. Don't let people fool you into thinking a interpretive language is really slow. They're are slow compared to compiled languages like C/C++, but interpretive languages have some nice benefits over them too.
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
BlackMesa
(14 items)
 
  
CPUMotherboardGraphicsRAM
Phenom II x6 Gigabyte XFX RF460 16gb G.Skill 
Hard DriveHard DriveOSMonitor
OCZ Vertex2 Sata II Coorsair Force GS Sata III Debian (testing) Shimian 27" 
KeyboardMouse
Filco w/ blue cherries Who needs a mouse? 
  hide details  
Reply
post #24 of 53
Quote:
Originally Posted by Marco13185 View Post
The C standard library is probably one the best libraries in existence; C++ made the grave error of trying to replace it. If you want to learn C-anything, learn C.

....

I guess we should all learn assembly language since it spawned all of the languages we have now?
They didn't try to "replace" it, they made it higher level, is all.

LOL @ the second statement. I think we should.
Jillian
(11 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K MSI P67A-G45 B3 MSI GeForce GTX560 Ti GSKILL F3-10666CL9D-8GBRL 
CoolingOSKeyboardPower
Cooler Master Hyper 212 Plus Windows 7 Professional 64-bit Razer Lycosa Corsair 520HX 
CaseMouse
Cooler Master Stacker 830 Razer Mamba 
  hide details  
Reply
Jillian
(11 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 2500K MSI P67A-G45 B3 MSI GeForce GTX560 Ti GSKILL F3-10666CL9D-8GBRL 
CoolingOSKeyboardPower
Cooler Master Hyper 212 Plus Windows 7 Professional 64-bit Razer Lycosa Corsair 520HX 
CaseMouse
Cooler Master Stacker 830 Razer Mamba 
  hide details  
Reply
post #25 of 53
Quote:
Originally Posted by Marco13185 View Post
I guess we should all learn assembly language since it spawned all of the languages we have now?

I think so.

I began at the beginning...why shouldn't everbody else? The only problem being I stopped.

I did start up again messing with Python which I found intuitive.

I can't make heads nor tails of php--it all looks like BB mark up to me

Ahhh the days of BASIC and FORTRAN when I was young and still had long hair...and a huge calculator....

I would say listen to Marco! If C is too much for you at the moment I think you would find Python entertaining and edifying.
Shop Dog
(13 items)
 
 
CPUMotherboardGraphicsRAM
E8400 Asus Blitz Formula SE HD3870X2 G Skill 2 x 2GB DDR2 800 
Hard DriveOptical DriveOSMonitor
Velociraptor 150GB LG DVD Burner Vista Ultimate 64 AOC 21.5" LED 1080p 
KeyboardPowerCaseMouse
Deck Legend Silverstone 750 Modular OverClock Edition Lian Li V1100 Logitech Trackball 
Mouse Pad
Nope 
  hide details  
Reply
Shop Dog
(13 items)
 
 
CPUMotherboardGraphicsRAM
E8400 Asus Blitz Formula SE HD3870X2 G Skill 2 x 2GB DDR2 800 
Hard DriveOptical DriveOSMonitor
Velociraptor 150GB LG DVD Burner Vista Ultimate 64 AOC 21.5" LED 1080p 
KeyboardPowerCaseMouse
Deck Legend Silverstone 750 Modular OverClock Edition Lian Li V1100 Logitech Trackball 
Mouse Pad
Nope 
  hide details  
Reply
post #26 of 53
I advice you to learn any Object Orianted laguague. I find Java & Visual Basic .NET to be intresting.

Best of Luck
Under-Utilized
(14 items)
 
  
CPUMotherboardGraphicsRAM
3570K Z77-D3H XFX RX480 RS Corsair Vengeance 
Hard DriveHard DriveCoolingOS
HyperX 3K 120GB 3TB Storage Hyper 212 Plus Windows 10 
MonitorKeyboardPowerMouse
24" CFG70  SideWinder X6 550 Watt Logitech G602 
Mouse PadAudio
Razer eXactMat X Objective2 +ODAC 
  hide details  
Reply
Under-Utilized
(14 items)
 
  
CPUMotherboardGraphicsRAM
3570K Z77-D3H XFX RX480 RS Corsair Vengeance 
Hard DriveHard DriveCoolingOS
HyperX 3K 120GB 3TB Storage Hyper 212 Plus Windows 10 
MonitorKeyboardPowerMouse
24" CFG70  SideWinder X6 550 Watt Logitech G602 
Mouse PadAudio
Razer eXactMat X Objective2 +ODAC 
  hide details  
Reply
post #27 of 53
Quote:
Originally Posted by mactard View Post
COBOL? Fortran? LISP?

Other then COBOL, no one has used those languages in 20 years. COBOL is only around for legacy code maintaining. I don't think anyone ever used LISP. They're all from the late 1950s!

C++ is alright but it's kinda ass-backwards.

Hey, don't harp on LISP. Learning LISP/Scheme will make you a better programmer regardless of skill level.

To quote Eric Raymond "Lisp is worth learning for the profound enlightenment experience you will have when you finally get it; that experience will make you a better programmer for the rest of your days, even if you never actually use Lisp itself a lot."

An as for use, currently its currently the 15th most popular language even though it was developed back in the 50's. And its very powerful as well, particularly because of how it uses macros. You can get things done very quickly in it.
½
(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 #28 of 53
Heh, what a fun little scuffle taking place... Here's my

In terms of C/C++ (there's really not enough of a difference to get your panties all in a bunch about) it is an excellent language to start with if you want to be a programmer. Sure, its not as easy as some of the scripting languages like perl or ruby, but it will give a future programmer a more intimate knowlege of how coding works, primarily with object oriented design. Its not an easy language to pick up, especially when you get into the higher functionality of it, but it is beneficial and (I speak from experience) makes picking up other languages very easy.

Now, if you think about the idea of becoming a "programmer" and chuckle a little, maybe C isn't the best for you. You can easily get away with doing great web coding without even knowing C's "Hello World". While I don't claim to be a web coder at all, I have fiddled around with a few languages in that genre. I would check out Ruby on Rails, watching some screencasts of its capabilities shows you just how powerful it is (I love the web blog in 15 minutes).


And all the "old" languages like COBOL and Fortran have their place and purpose, but unless you plan on devoting your career to them the only reason people learn them is to more easily understand their children languages.
It's about time!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 @3.3Ghz Gigabyte EP45-UD3P Sapphire 2900Pro Flashed to XT 4Gb Gskill 1066Mhz PK's 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 320Gb & WD Black 640Gb Lite On Vista Business and VMWare Ubuntu Acer AL2223W 22" 
KeyboardPowerCaseMouse
Ergonomic 4000 Corsair HX 620W CM 690 G5 
  hide details  
Reply
It's about time!
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 @3.3Ghz Gigabyte EP45-UD3P Sapphire 2900Pro Flashed to XT 4Gb Gskill 1066Mhz PK's 
Hard DriveOptical DriveOSMonitor
Seagate Barracuda 320Gb & WD Black 640Gb Lite On Vista Business and VMWare Ubuntu Acer AL2223W 22" 
KeyboardPowerCaseMouse
Ergonomic 4000 Corsair HX 620W CM 690 G5 
  hide details  
Reply
post #29 of 53
Go with perl, it is incredibly easy, next easiest would have to be x86 assembly, it takes a little while to learn, but once you learn it, it makes other programming languages easier to learn.
    
CPUMotherboardGraphicsRAM
C2D T7100 1.8 ghz (undervolted) ummm... Dell Intel X3100 2 x 1gb 667mhz 
Hard DriveOptical DriveOSMonitor
Fujitsu 7200 RPM 120gb CD-RW/DVD dual boot Vista business 1440x900 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
C2D T7100 1.8 ghz (undervolted) ummm... Dell Intel X3100 2 x 1gb 667mhz 
Hard DriveOptical DriveOSMonitor
Fujitsu 7200 RPM 120gb CD-RW/DVD dual boot Vista business 1440x900 
  hide details  
Reply
post #30 of 53
I think JavaScript is an excellent scripting language to being playing with. You don't need anything special to write it (just notepad and a browser), and there is a ton of reusable syntax for other c based languages.

EDIT: And a TON of easily accessible reference material.
Main Rig
(15 items)
 
  
Reply
Main Rig
(15 items)
 
  
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 › Recommend a programming language to learn