Turn on thread page Beta
    • Thread Starter
    Offline

    1
    ReputationRep:
    What's an alright programming language to start learning? I've decided to learn one in order to extend my knowledge and hopefully make some programs.

    I was thinking of Python first or C++.

    Any ideas?
    Offline

    11
    ReputationRep:
    Python
    Offline

    0
    ReputationRep:
    Python is best for beginners or so I've been told.
    Offline

    18
    ReputationRep:
    Python or C++ for a complete beginner? Ha
    • Thread Starter
    Offline

    1
    ReputationRep:
    (Original post by donutellme)
    Python or C++ for a complete beginner? Ha
    I honestly think C is a good choice, it makes learning other programming languages much more easier.

    Anyways, I've decided to learn Python and possibly another language then go straight to C.

    Thanks.
    Offline

    3
    ReputationRep:
    (Original post by icesquid)
    I honestly think C is a good choice, it makes learning other programming languages much more easier.
    How do you know if you've not yet learnt it?
    Offline

    15
    ReputationRep:
    Python is good. C++ tends to kill newbies.
    • Thread Starter
    Offline

    1
    ReputationRep:
    (Original post by Push_More_Button)
    How do you know if you've not yet learnt it?
    A few friends of mine told me.
    Offline

    0
    ReputationRep:
    (Original post by icesquid)
    What's an alright programming language to start learning? I've decided to learn one in order to extend my knowledge and hopefully make some programs.

    I was thinking of Python first or C++.

    Any ideas?
    I started off with Python, it's pretty easy but you can also make it complex if you get what I mean. Use this mate: https://en.wikibooks.org/wiki/Non-Pr...l_for_Python_3
    Offline

    12
    ReputationRep:
    Just to throw it in the mix I started with Java..


    Posted from TSR Mobile
    • Thread Starter
    Offline

    1
    ReputationRep:
    (Original post by Alex0101)
    I started off with Python, it's pretty easy but you can also make it complex if you get what I mean. Use this mate: https://en.wikibooks.org/wiki/Non-Pr...l_for_Python_3
    Thanks mate
    Offline

    19
    ReputationRep:
    Assembly Language is always a good beginners language
    Offline

    3
    ReputationRep:
    (Original post by icesquid)
    A few friends of mine told me.
    Fair enough, but really it all comes down to you and how quick you 'get it'.
    Offline

    16
    ReputationRep:
    (Original post by icesquid)
    I honestly think C is a good choice, it makes learning other programming languages much more easier.

    Anyways, I've decided to learn Python and possibly another language then go straight to C.

    Thanks.
    This. I started with C, and although it was a real pain as a beginner, you do get a real appreciation of what is happening under the hood. How memory works. How compilers work. And more importantly, how to debug! No one seems to talk about that on here. But as far as I think, a programmer who doesn't debug his code is like a surgeon who doesn't use a scalpel.

    Learning C had loads of knock on effects. For example It taught me how to set up a Linux virtual, and then how to use Linux command line tools.

    Having said all that, there is absolutely no problem learning something like Python (which is built from C anyway) and then moving on
    • Thread Starter
    Offline

    1
    ReputationRep:
    (Original post by tim_123)
    This. I started with C, and although it was a real pain as a beginner, you do get a real appreciation of what is happening under the hood. How memory works. How compilers work. And more importantly, how to debug! No one seems to talk about that on here. But as far as I think, a programmer who doesn't debug his code is like a surgeon who doesn't use a scalpel.

    Learning C had loads of knock on effects. For example It taught me how to set up a Linux virtual, and then how to use Linux command line tools.

    Having said all that, there is absolutely no problem learning something like Python (which is built from C anyway) and then moving on
    Exactly what I was thinking, thanks mate!
    Offline

    0
    ReputationRep:
    (Original post by tim_123)
    This. I started with C, and although it was a real pain as a beginner, you do get a real appreciation of what is happening under the hood. How memory works. How compilers work. And more importantly, how to debug! No one seems to talk about that on here. But as far as I think, a programmer who doesn't debug his code is like a surgeon who doesn't use a scalpel.

    Learning C had loads of knock on effects. For example It taught me how to set up a Linux virtual, and then how to use Linux command line tools.

    Having said all that, there is absolutely no problem learning something like Python (which is built from C anyway) and then moving on
    C is pretty good. I wish I was taught it back when I was 16 (college). Instead they taught VB .NET lol.
    Offline

    16
    ReputationRep:
    (Original post by __el_0hssa)
    C is pretty good. I wish I was taught it back when I was 16 (college). Instead they taught VB .NET lol.
    I haven't touched vb .net so I don't know what it's like. But yeh I just like knowing how everything is working, which you sometimes lose when using a "higher" level programming language
    Offline

    0
    ReputationRep:
    (Original post by Keyhofi)
    C++ tends to kill newbies.
    Nah, surely not:
    Code:
    template<class T>
    class reference_wrapper
    { 
     T *ptr;
    public:
     explicit reference_wrapper(T& thing) : ptr(&thing) {} 
     explicit reference_wrapper(T&&     ) = delete; 
     operator T&() const {return *ptr;}
    
     template<class...Args> 
     decltype( declval<T&>()(declval<Args>()...) ) 
     operator()(Args&&... args) const 
     {        return (*ptr)(forward<Args>(args)...);  }
    };
    Here's some pseudocode for a bug I found the other day
    Code:
    #include <iostream> 
    #include <string> 
    void func(const std::string& str){	std::cout << str;}
     void func(bool b){	func("hello world";);} 
    
     int main(){	func(true);}
    Conversion precedence is beautiful.
 
 
 
Reply
Submit reply
Turn on thread page Beta
Updated: September 15, 2015

University open days

  1. Norwich University of the Arts
    Postgraduate Open Days Postgraduate
    Thu, 19 Jul '18
  2. University of Sunderland
    Postgraduate Open Day Postgraduate
    Thu, 19 Jul '18
  3. Plymouth College of Art
    All MA Programmes Postgraduate
    Thu, 19 Jul '18
Poll
Is the Big Bang theory correct?

The Student Room, Get Revising and Marked by Teachers are trading names of The Student Room Group Ltd.

Register Number: 04666380 (England and Wales), VAT No. 806 8067 22 Registered Office: International House, Queens Road, Brighton, BN1 3XE

Write a reply...
Reply
Hide
Reputation gems: You get these gems as you gain rep from other members for making good contributions and giving helpful advice.