SQL/C++/Python which order to learn?

  • Thread starter Cntr2
  • Start date
In summary: I can't help them because they're not using the same tools I am.In summary, you should start with SQL, C++, and Python, and then move on to VBA and SAS.
  • #1
Cntr2
7
1
Hello everyone,

I am interested in learning coding to be potentially an actuary or data scientist.

Based on my research online, the programs to be proficient at are:

SQL, C++, VBA, Python, VBA, and SAS.

I am sure there are more I should learn but I am pretty much a beginner. In which order should I learn the above programs?

Thanks.
 
Technology news on Phys.org
  • #2
I'd try Python first. Its general purpose and easy to learn.

At the same time you could learn sql as its not a general purpose programming language but rather a database oriented language where a single statement is in fact a program.

As an example, suppose you had a database with a customer table and you wanted to list the customers out in alphabetic order then you might write something like this in SQL:

SQL:
SELECT first_name, last_name, address, city, state
    FROM customer_table
        WHERE city = "Albany" AND  state = "NY"
            ORDER BY last_name, first_name;

As you might guess you'll get a list of names of people who live in Albany, New York in alphabetical order. This of course assumes that there is a customer_table in the database and that it has fields last_name, first_name, city, and state and that the city names are in standard format ie capitalized first letter and the state field uses abbreviations.

Also data science may use R, MATLAB or Julia or even EXCEL in doing their analysis so you have have to be familiar with but not necessarily proficient in many languages used in the data sciences.

You could check out the anaconda distribution of python+julia as a good platform to start with or if you're only interested in Python then you could check out the Processing IDE python mode (comes with graphical examples and is a good way to learn by doing python).
 
  • Like
Likes Cntr2
  • #3
Like jedishrfu, I also recommend to start with Python and R. SAS is really murky and very expensive, too. So as long as you don't plan to become a specialist for phased out software, keep your hands off.
 
  • Like
Likes Cntr2
  • #4
DrDu and jedishrfu thanks for your input.

I am obviously a newbie. So you're saying SAS will become extinct and eventually no longer in use? If so, in how many years?
 
  • Like
Likes jedishrfu
  • #5
Also for learning MATLAB you could start with freemat as a free and cheap alternative.
 
  • Like
Likes Cntr2
  • #6
Cntr2 said:
DrDu and jedishrfu thanks for your input.

I am obviously a newbie. So you're saying SAS will become extinct and eventually no longer in use? If so, in how many years?

Software goes in and out of favor and there's really no way to say when. You may find a job where the company uses SAS extensively so you go with the flow.
 
  • Like
Likes Cntr2
  • #7
jedishrfu said:
Software goes in and out of favor and there's really no way to say when. You may find a job where the company uses SAS extensively so you go with the flow.

OK. I guess working with SAS is too advanced for me regardless whether it will or will not be phased out.

I will be focusing on Excel/access, R and Python for the next few months.

Matlab and Julia = likely in early 2017

Thanks again jedishrfu
 
  • #8
I think sas has missed big data. Also, SAS has tried to build up a portfolio of products but with limited success. The point is that Base SAS, though very well tested and therefore used e.g. in pharma industries has never been updated to keep older programs compatible. To make up for this, SAS brought up every couple of years some new, in their eyes "cool" new package, e.g. to make graphics easier, or data bank access, but there is no red line anywhere.
So the situation is such that many enterprises are still using sas because they have lots of code written in it, but no one is really happy with it.
 
  • Like
Likes Ibix and Cntr2
  • #9
its really useful and i need about file handling functionalities of programming language.
 
  • #10
It all depends on what you'd like to do. VBA is strictly for Microsoft Office products, though it can help you learn VB/VB.NET, ASP and ASP.NET as they're all variants of Visual Basic. VBA = Office products, ASP/ASP.NET = websites.

C++ will prepare you for languages based on that (C#, PHP, etc).

It boils down to what your end goal is. SQL queries, while they can become very complex, are generally easy to write as long as you know where the data lies and how to tie what you need together. Another factor is what does the business needs require? For instance, I'm a Database Admin/Developer at my job, but I mainly pull silly reports and data mine all day if I'm not working on a web app, and most of my web apps are just a way to display the queries so people don't keep emailing me to send them an excel report :P
 

1. What is the best order to learn SQL, C++, and Python?

The best order to learn these programming languages will depend on your goals and purposes. If you are interested in database management and querying, then starting with SQL would be the most logical choice. C++ is a great language for developing system software, while Python is widely used in data analysis, machine learning, and web development. It is recommended to learn SQL first, then C++, and finally Python as it builds upon the concepts learned in the previous languages.

2. Can I learn SQL, C++, and Python simultaneously?

It is possible to learn multiple languages at the same time, but it can be overwhelming and may hinder your progress. It is better to focus on one language at a time and build a strong foundation before moving on to the next. This will also help you to avoid confusion and better understand the differences between the languages.

3. Do I need any prior programming experience to learn SQL, C++, or Python?

No, you do not need any prior programming experience to learn these languages. However, having some basic understanding of programming concepts such as variables, loops, and functions can be helpful. It is recommended to start with a beginner-friendly course or tutorial to familiarize yourself with these concepts before diving into learning a specific language.

4. Which language is easier to learn - SQL, C++, or Python?

This is a subjective question as the difficulty level of a language can vary for each individual. However, many people find Python to be easier to learn compared to SQL and C++. This is because Python has a simpler syntax and is more forgiving for beginners. SQL can also be relatively easy to learn as it is a declarative language with a limited number of commands. C++ is known to be more complex and may require more time and effort to learn.

5. Can I use all three languages together for a project?

Yes, all three languages can be used together for a project. For example, you can use SQL to manage and query data, C++ to develop the software, and Python to analyze the data and create visualizations. This is one of the advantages of learning multiple languages as it allows you to leverage the strengths of each language for a project.

Similar threads

  • Programming and Computer Science
Replies
6
Views
1K
  • Programming and Computer Science
Replies
6
Views
1K
  • Programming and Computer Science
Replies
7
Views
425
  • Programming and Computer Science
Replies
1
Views
726
  • Programming and Computer Science
Replies
3
Views
1K
Replies
6
Views
644
  • Programming and Computer Science
Replies
6
Views
2K
  • Programming and Computer Science
4
Replies
107
Views
5K
  • Programming and Computer Science
Replies
5
Views
847
  • Programming and Computer Science
Replies
8
Views
875
Back
Top