How usefull will basic programming skills be as a physicist?

In summary, it is recommended that someone learn some basic programming skills in order to become a physicist. If you do not feel like taking courses, you can search for classes that have posted materials online. Books are also a good option, after you are done with them you can keep it for reference.
  • #1
VoxCaelum
15
0
Currently I have no programming skills at all. I am considering mastering in Theoretical Physics and was wondering how strongly I would be recommended to learn some basic programming skills. Also if it is inconvenient to follow any programming classes at my university at the moment what would be a good way to get started myself?
Thanks
 
Physics news on Phys.org
  • #2
Programming skills seem to be pretty important these days. If you search these forums you'll find plenty of people wondering the same thing. Theorists often need to run simulations to test their theories for accuracy and the like so programming skills are necessary. I'm not a professional, but I have been reading these forums for a little while.

If you don't feel like taking courses, you can search for classes that have posted materials online. Books are also a good option, after you are done with them you can keep it for reference.
 
  • #3
I am currently working on my bachelor's degree in physics/astrophysics and I understand that programming is very important if you want to be a physicist. My school requires C and Fortran after an intro to programming course for physics majors. I recently started a thread when I was trying to choose between C and C++, and some good information was given there. I will provide you with the link :)

https://www.physicsforums.com/showthread.php?t=509538
 
  • #4
If you really want to go into theory[1], you will need programming. And just basic programming skill will not be even remotely sufficient. You need to become at least a competent programmer (and better an expert programmer), because usually no ready-made programs are available which are targeted at the very specific questions asked in physics. Building those programs to formulate and test theories, or to derive or solve equation systems, is one of the most important parts of most branches of theory.

[1] Why does everyone want theory only? There is soooo cool experimental equipment.
 
  • #5
You can do theory with zero programming expertise. You can do experiment with zero programming expertise. Certain projects in certain specific subfields of experiment or theory may require programming expertise, and in that case you can pick it up when you need it. Similarly, you might need to run a mill or a lathe in grad school, or to become an expert in some obscure aspect of the properties of the Riemann zeta function.

There is one big negative involved in learning programming skills before you start grad school, and that is that you might be tempted to use them. That is, a lot of grad students get lured into spending a lot of time doing programming rather than research, and it makes them take 8 years to get a PhD instead of 6. Often people's advisors are only too happy to have them sit in front of a computer coding for month after month, because grad students are cheap labor.
 
  • #6
bcrowell said:
There is one big negative involved in learning programming skills before you start grad school, and that is that you might be tempted to use them. That is, a lot of grad students get lured into spending a lot of time doing programming rather than research

If you do things like computational astrophysics, then the programming is the research. Eighty percent of the time you are spending debugging code, but the cool thing is that you are pushing the hardware to the limit, and reordering a loop may mean the difference between a calculation that takes two weeks to run versus something that won't get run at all.

It makes them take 8 years to get a PhD instead of 6.

It's not as if there is a high paying research professorship ready once you graduate. It is possible to get a job with a Ph.D. and no programming experience, but its one of those "why are you making life needlessly difficult for yourself questions?"

Often people's advisors are only too happy to have them sit in front of a computer coding for month after month, because grad students are cheap labor.

Sure, because programmers with physics Ph.D.'s and lots of experience with scientific computing are frightening expensive if you pay market rates.

Not this is a bad thing.
 
  • #7
VoxCaelum said:
Also if it is inconvenient to follow any programming classes at my university at the moment what would be a good way to get started myself?

Download some physics software and try to make it work.

http://mesa.sourceforge.net/index.html
 
  • #8
twofish-quant said:
Download some physics software and try to make it work.

http://mesa.sourceforge.net/index.html
Ahhhh! *faints* Thanks twofish-quant :biggrin: You rock :) I keep hearing your imagined voice in my head saying "Computational astrophysics is very computational." lol---it has become my new mantra :biggrin:

Thanks for starting this thread Vox :)
 

FAQ: How usefull will basic programming skills be as a physicist?

1. How will basic programming skills benefit me as a physicist?

Having basic programming skills is essential for any scientist, including physicists. With programming skills, you can efficiently and accurately analyze large sets of data, create simulations, and automate repetitive tasks. This can save you time and effort in your research and help you make more accurate conclusions.

2. Is it necessary to have programming skills to be a successful physicist?

While it is not absolutely necessary to have programming skills to be a physicist, it is becoming increasingly important in the field. Many modern experiments and research projects rely heavily on data analysis and computer simulations, which require programming skills. By having these skills, you will have a competitive advantage in the job market and in your research.

3. Can basic programming skills be learned easily by physicists?

Yes, basic programming skills can be learned relatively easily by physicists. With the increasing demand for programming in scientific research, many universities now offer programming courses specifically tailored for scientists. There are also many online resources and tutorials available for scientists to learn programming.

4. How will basic programming skills help me in my future career as a physicist?

Having programming skills can open up a wide range of career opportunities for physicists. Many industries now rely on data analysis and computer simulations, so having programming skills can make you a valuable asset in fields such as finance, engineering, and technology. It can also make you more versatile in your research and allow you to take on more complex projects.

5. Are there any drawbacks to learning basic programming skills as a physicist?

There are no major drawbacks to learning basic programming skills as a physicist. However, it may require some time and effort to learn and practice programming, which could take away from other aspects of your research. It is important to find a balance and prioritize your time effectively to ensure that you are still able to excel in your field of study while also learning programming skills.

Similar threads

Replies
7
Views
1K
Replies
5
Views
538
Replies
12
Views
1K
Replies
50
Views
6K
Replies
2
Views
907
Back
Top