Page 1 of 6 1234 ... LastLast
Results 1 to 16 of 82

Thread: Learning a New Language

  1. #1
    Ah, Mrs. Peel! mike_w's Avatar
    Join Date
    Oct 2003
    Location
    Hertfordshire, England
    Posts
    3,326
    Thanks
    3
    Thanked
    9 times in 7 posts

    Learning a New Language

    As per the title, I fancy learning a programming language. Of course, the biggest problem is, which one?

    It would have to be pretty well documented on the web, so that there are plenty of resources on the internet that I can use. If I decide that I actually enjoy the language, I'll probably purchase a book, so suggested titles are welcome as well!

    Many moons ago, I dabbled with Visual Basic - while I wouldn't want to use something like that (i.e. Microsoft!), I would like a language that allows me to create something usable reasonably quickly. Preferably, it would be reasonably simple to use GTK2 with it, but that's not particularly important.

    Any suggestions, or pros and cons of some languages? I know the question is a bit vague, but I thought this would be the best way to get started.

    Thanks in advance

    Mike.
    "Well, there was your Uncle Tiberius who died wrapped in cabbage leaves but we assumed that was a freak accident."

  2. #2
    Bigger than Jesus Norky's Avatar
    Join Date
    Feb 2005
    Posts
    1,579
    Thanks
    1
    Thanked
    8 times in 8 posts
    Perl is good, it's an interpreted language but can be compiled. If not, try C.

  3. #3
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Java is good when you realise WHY it is good.

  4. #4
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    I still don't know why its good

    Oh, I recommend C, its the premise for all modern languages, once you get the hang of it then the jump to C++ will be fairly easy. Of course you could skip C and go straight to C++, I got C++: A Beginners Guide, and I found it easy to get the hang of C++ using it.
    Last edited by aidanjt; 14-12-2005 at 12:05 AM.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  5. #5
    Senile Member
    Join Date
    Dec 2003
    Posts
    442
    Thanks
    3
    Thanked
    0 times in 0 posts
    I started out with basic and VB too.

    Perl is indeed good and I am fairly sure it has a module for producing GTK apps with. It is also easy to get in at an easy level without having to learn much. There is a LOT of stuff on the web and a module to do pretty much anything you can imagine at cpan.org . The best book to start with is Learning Perl from O'Reilly.

    Java is OK but is actually relatively difficult to get started on, then it seems a bit easier and then as you get further in starts to become difficult again, you could use GTK with it but would probably find yourself having to learn Swing or one of the other GUI things (I program web apps so dont know much about them).

  6. #6
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Well the advantage of Java is that it's platform independant but people take this too lightly. You can install a JVM onto a server and then not have to worry about migrating any server side stuff to another server. Yes, it may be slower than other languages but it has lots of features. I use it primarily for many applications but that's me

  7. #7
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    Quote Originally Posted by Kezzer
    Java is good when you realise WHY it is good.
    but only because you realise c# is so much better.

    .net is probably worth learning, as the framework by MS will let you swiftly create powerfull aplica..... etc.

    remeber the CLR and c# are ECMA standards, the same can't be said for java. Thats why it gets my vote.

    C++ is ghastly. C isn't object orientated.

    masm32 is good if you want to be all 13.37
    throw new ArgumentException (String, String, Exception)

  8. #8
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    How can you call C++ 'ghastly' when your only complaint about C is lack of OOP?.. which isn't always a bad thing.

    C++ (even if you don't use classes or Templates) can allow a developer to produce cleaner code than C to boot.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  9. #9
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    Python looks interesting

  10. #10
    Senior Member
    Join Date
    Jul 2003
    Location
    ZA ✈ UK
    Posts
    622
    Thanks
    0
    Thanked
    0 times in 0 posts
    A second vote for Python. I've never used it, but a bunch of programmer friends of mine rave on about it. It's very versatile (Can be used to do scripts, full programs, and websites), powerful (Lots of libraries and language features. Not as much as Perl, but they're working on it) and already has support from some big projects (BitTorrent, for example, was written in Python).

  11. #11
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    I havn't used python myself, but I notice there are a good few fairly complex applications and systems written in it, Portage, and ABC to name a few.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  12. #12
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts
    Quote Originally Posted by aidanjt
    How can you call C++ 'ghastly' when your only complaint about C is lack of OOP?.. which isn't always a bad thing.

    C++ (even if you don't use classes or Templates) can allow a developer to produce cleaner code than C to boot.
    I really don't see the need for it, thats all.

    Its syntax for objects isn't as clean as java or c#, and its got many flaws which have been addressed in newer languages (like oak and c#). But i don't want to start sounding like Verity Stob in been a troll of the language, I do often right C code in ++ for small projects. Its just its so arcain, and it has inter-platform issues, a JIT'd langauge has so many advantages right now.
    throw new ArgumentException (String, String, Exception)

  13. #13
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    I don't know what's unclean about MyClass myObject; or MyClass *myObject = new MyClass;

    or myObject.dosomething(); or myObject->dosomething();

    its pretty clean and logical to me, and afaik nearly all languages base their OOP syntax on C++, just in a much more limited fashion.

    Another useful adition was adding variable declaration support in loops.. Although it can cause pointers to go out of scope, its the programmers job to not do that.

    I do understand the need for JIT'd languages for 'portability' reasons, but porting C++ applications between platforms is more than possible from one project branch. Open Source developers do it all the time, albeit at the expense of time, if thats an issue. IMO companies are trying to do 100000 things with their apps in a day and if thats how they think software development works then they should look into moving to a different field.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  14. #14
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    both perl and c# can be fun & rewarding languages

    both have a fair degree of documentation out there, though unfortunately there's not all that much documentation on the GTK# and GTK2-Perl projects. i'm currently writing a tool to replace much of our old user management, in perl, with swappable user interfaces (currently i have a text-based and GTK2-based interface), and I've ported a VB application to GTK2-Perl before (I tried to use c#, but lacked adequate documentation, where perl is far easier to guess your way around when in doubt)

  15. #15
    Gentoo Ricer
    Join Date
    Jan 2005
    Location
    Galway
    Posts
    11,048
    Thanks
    1,016
    Thanked
    944 times in 704 posts
    • aidanjt's system
      • Motherboard:
      • Asus Strix Z370-G
      • CPU:
      • Intel i7-8700K
      • Memory:
      • 2x8GB Corsiar LPX 3000C15
      • Storage:
      • 500GB Samsung 960 EVO
      • Graphics card(s):
      • EVGA GTX 970 SC ACX 2.0
      • PSU:
      • EVGA G3 750W
      • Case:
      • Fractal Design Define C Mini
      • Operating System:
      • Windows 10 Pro
      • Monitor(s):
      • Asus MG279Q
      • Internet:
      • 240mbps Virgin Cable
    Quote Originally Posted by directhex
    both perl and c# can be fun & rewarding languages

    both have a fair degree of documentation out there, though unfortunately there's not all that much documentation on the GTK# and GTK2-Perl projects. i'm currently writing a tool to replace much of our old user management, in perl, with swappable user interfaces (currently i have a text-based and GTK2-based interface), and I've ported a VB application to GTK2-Perl before (I tried to use c#, but lacked adequate documentation, where perl is far easier to guess your way around when in doubt)
    *nod* Perl and Python are both equally capable languages, whichever you feel more comfortable with really. Both languages have bindings to all the popular APIs.
    Quote Originally Posted by Agent View Post
    ...every time Creative bring out a new card range their advertising makes it sound like they have discovered a way to insert a thousand Chuck Norris super dwarfs in your ears...

  16. #16
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS
    Quote Originally Posted by aidanjt
    *nod* Perl and Python are both equally capable languages, whichever you feel more comfortable with really. Both languages have bindings to all the popular APIs.
    i'd take perl over python, as python is whitespace-sensitive, and i have a very individual whitespace/tabbing style i don't want to compromise

Page 1 of 6 1234 ... LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. My First Car and learning to drive
    By RoGuE|SaBeR in forum Automotive
    Replies: 21
    Last Post: 25-05-2006, 09:27 AM
  2. Exchange Web Client language settings
    By Funkstar in forum Software
    Replies: 6
    Last Post: 22-10-2005, 03:53 PM
  3. New European Language
    By Allen in forum General Discussion
    Replies: 15
    Last Post: 25-03-2005, 06:00 PM
  4. learning a new language
    By megah0 in forum General Discussion
    Replies: 3
    Last Post: 27-04-2004, 12:35 PM
  5. Learning another language
    By Kezzer in forum General Discussion
    Replies: 13
    Last Post: 15-04-2004, 10:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •