Jump to content

Programming Language  

52 members have voted

  1. 1. Which programming language shall I study for baseline?



3 minutes ago, sanketp60 said:

Hey there, I am currently learning and studying B Tech in Computers. So, which programming language is best to learn as an bassline?

Thankful for your feedback!

Good Day OR Night! :P

Right now i am learning C# for my first programming language, apparently its easier then C++ and can be used in everything but out of these three, your best choice is probably Python

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9210413
Share on other sites

Link to post
Share on other sites

18 minutes ago, sanketp60 said:

Hey there, I am currently learning and studying B Tech in Computers. So, which programming language is best to learn as an bassline?

Thankful for your feedback!

Good Day OR Night! :P

on this question you will get 100 different answers if you ask 100 different people, 

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9210501
Share on other sites

Link to post
Share on other sites

I say python. Easy to learn and very powerful.

                     ¸„»°'´¸„»°'´ Vorticalbox `'°«„¸`'°«„¸
`'°«„¸¸„»°'´¸„»°'´`'°«„¸Scientia Potentia est  ¸„»°'´`'°«„¸`'°«„¸¸„»°'´

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9210973
Share on other sites

Link to post
Share on other sites

It depends. If you have a basic understanding of programming, start with Java/C++. If you're totally new, Python is a good place to start. It's not used as much as others but it's certainly the easiest to grasp for a beginner. 

 

I did Computer Science at Uni and I went in with a basic understanding of Java and Python. Created a basic calculator in both. Must say it helped me out a lot in first and second year when learning different languages.

 

Once you know one, learning others is a lot easier. 

 

Web master race though.

Current Build:

CPU: AMD Ryzen 5 2600 // Mobo: Ryzen AM4 B350 GAMING PLUS ATX // RAM: 16GB Corsair Vengeance LPX DDR4 3000MHz // GPU: Gigabyte AMD Radeon RX 580 Gaming 8GB // SSD: Kingston A400 120GB // HDD: 3 x WD Blue 1TB // PSUCorsair 650M // Case: Corsair 450D // Monitor: LG Ultrawide 29" IPS

 

Plex Server:

CPU: AMD FX 8350 Black Edition // Mobo: Gigabyte - GA-78LMT-USB3 R2 Micro ATX // RAM: 16GB Corsair Vengeance DDR3 1600 MHz // GPU: GeForce GTX 670 // HDD: Seagate BarraCuda 2TB // PSU: Kolink Core Series 500W 80 Plus Certified // Case: AVP Viper Mini Tower

 

Other:

PS4 Pro // PS3 // Nintendo Switch (Pokemon edition) // Nintendo 3DS // Xbox 360 // iPhone 8 Plus // Macbook Retina 2013

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9211099
Share on other sites

Link to post
Share on other sites

Python is easy to set up and start doing stuff right there.

 

C++ is kind of iffy because of its setup (not just getting a dev environment, but coding classes and all). I would recommend C# over C++ in this regard when learning OOP.

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9211227
Share on other sites

Link to post
Share on other sites

3 hours ago, xentropa said:

I would say Java, but C++ is really similar to JAVA so

You are completely wrong there, the only remote similarity is the most basic syntax otherwise they are completely different.

The single biggest problem in communication is the illusion that it has taken place.

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9211867
Share on other sites

Link to post
Share on other sites

3 hours ago, Nuluvius said:

You are completely wrong there, the only remote similarity is the most basic syntax otherwise they are completely different.

Well, they're both OOP languages too. :P

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9212996
Share on other sites

Link to post
Share on other sites

37 minutes ago, M.Yurizaki said:

Well, they're both OOP languages too. :P

Completely different styles of OOP though. Java is the cram it down your throat forced OOP for everything while C++ is just like, classes are thing, use them if you want. A lot of the big names in C++ even recommend using free functions over member functions whenever possible. C++ also has things that just can't be implemented as member functions no mater how much you want them to be.

1474412270.2748842

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9213349
Share on other sites

Link to post
Share on other sites

1 minute ago, fizzlesticks said:

Completely different styles of OOP though. Java is the cram it down your throat forced OOP for everything while C++ is just like, classes are thing, use them if you want. A lot of the big names in C++ even recommend using free functions over member functions whenever possible.

However one could argue that mixing programming paradigms in the project for no reason other than just because someone said to do so is bad coding practice. If you weren't going to use the OOP features of C++, why bother using C++ at all? You can still have private and public concepts in C.

1 minute ago, fizzlesticks said:

C++ also has things that just can't be implemented as member functions no mater how much you want them to be.

Like what?

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9213388
Share on other sites

Link to post
Share on other sites

7 minutes ago, M.Yurizaki said:

If you weren't going to use the OOP features of C++, why bother using C++ at all?

Because C++ provides tons of features that have nothing to do with OOP like templates, overloading, exceptions, the STL etc.

35 minutes ago, M.Yurizaki said:

Like what?

Things that are designed to be overloaded for custom types. For example, if you want to be able to std::cout << something you need to overload ostream operator<<. It would make perfect sense to make that a member function of the class that you're writing it for but you can't. 

1474412270.2748842

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9213769
Share on other sites

Link to post
Share on other sites

Don't start with Python unless you don't want to learn much about programming. Python is horrible. The whole "whitespace is syntax" debacle contradicts everything that is considered good style in all other common programming languages.

 

If I were you, I'd choose C++ or Delphi; Delphi because it is awesome for RAD (you get really mature results really fast), C++ because it has no limits especially when you aim at performance or multi-platform compatibility. I regularly use both these days. You might want to start with Lazarus though, Delphi is somewhat expensive and Lazarus supports a similar Object Pascal syntax.

Write in C.

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9230980
Share on other sites

Link to post
Share on other sites

I would like to point out that the new versions of C++ (11, 14, upcoming 17) are progressively making C++ simpler. Much of the old obfuscated way of doing things is still there for compatibility reasons but new programmers should focus on the new way of doing things and it's becoming much less cluttered and more elegant.

 

Herb Sutter had a nice presentation about it a while back: https://www.youtube.com/watch?v=hEx5DNLWGgA

 

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9248678
Share on other sites

Link to post
Share on other sites

Of those choices, Python.  Your first language isn't something you'll be using later on.

 

I started with SCHEME.  It's a language from the depths of hell that makes you want to kill yourself.  It's extremely limited.  That's a good thing though, because it teaches you how to think outside the box and get creative.  While I'm not an amazing coder overall, I'm pretty good at optimization, and that's all because of SCHEME.

Make sure to quote or tag me (@JoostinOnline) or I won't see your response!

PSU Tier List  |  The Real Reason Delidding Improves Temperatures"2K" does not mean 2560×1440 

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9249545
Share on other sites

Link to post
Share on other sites

31 minutes ago, JoostinOnline said:

Your first language isn't something you'll be using later on.

 

Of course it is, unless you want to have quick results which will be useless in your later programming career. If you choose a language as your first language which you don't plan to ever use again, you're effectively wasting time.

 

31 minutes ago, JoostinOnline said:

I started with SCHEME. (...) It's extremely limited.

 

No, it's not. You're doing it wrong.

Write in C.

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9249651
Share on other sites

Link to post
Share on other sites

6 minutes ago, Dat Guy said:

 

Of course it is, unless you want to have quick results which will be useless in your later programming career. If you choose a language as your first language which you don't plan to ever use again, you're effectively wasting time.

 

 

No, it's not. You're doing it wrong.

Programs like Scheme are designed for one thing: to teach.  Find me one complex program that's written in Scheme.  Or Python, for that matter.

 

The lessons you learn from those languages carry over to others.  You can go from Java to C without much adjustment.

Make sure to quote or tag me (@JoostinOnline) or I won't see your response!

PSU Tier List  |  The Real Reason Delidding Improves Temperatures"2K" does not mean 2560×1440 

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9249672
Share on other sites

Link to post
Share on other sites

1 minute ago, JoostinOnline said:

Programs like Scheme are designed for one thing: to teach.

Pascal, Go and Python are. Scheme is not.

 

1 minute ago, JoostinOnline said:

 Find me one complex program that's written in SCHEME.

Scheme is the language of GNU Guile, so, basically, large parts of GIMP. Other than that, it depends what you call "complex".

 

1 minute ago, JoostinOnline said:

  Or Python, for that matter.

OpenStack.

Write in C.

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9249728
Share on other sites

Link to post
Share on other sites

5 minutes ago, Dat Guy said:

Pascal, Go and Python are. Scheme is not.

 

Scheme is the language of GNU Guile, so, basically, large parts of GIMP. Other than that, it depends what you call "complex".

 

OpenStack.

That's like saying a C program is written in assembly because some of the libraries it uses are written in assembly.  GIMP uses GTK+ and C so it doesn't have to bother with Scheme.

 

When I switched to Java (and then C), it was a breath of fresh air.  Scheme is a minimalist language by design.

 

I don't think we're going to agree though, so let's just let it go.

Make sure to quote or tag me (@JoostinOnline) or I won't see your response!

PSU Tier List  |  The Real Reason Delidding Improves Temperatures"2K" does not mean 2560×1440 

Link to comment
https://linustechtips.com/topic/723883-programming-language/#findComment-9249806
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×