What to learn this summer?

  • Thread starter Geranimo
  • Start date
  • #1
19
2
Hi, I study physics with computer instead of labs, and this summer I will only be taking one course (the first prog course). I will have free time to study other things, and I want to learn things that will not be covered in my uni program. I already know c++ basics from Accelerated c++.

I thought of Qt and opengl or an opensource engine like ogre.
Are these good ideas? Do you have suggestions on what could be interesting for my future studies and personal projects? Thanks
 

Answers and Replies

  • #2
DEvens
Education Advisor
Gold Member
1,203
457
First, congrats on learning C++ from Accelerated C++. This is one of the most highly recommended books on the subject.

I have kind of a curve-ball suggestion. Instead of learning a new language or two, or maybe in addition to learning them, learn to program well. Get the book _Code Complete_ by Steve McConnell. Get the Effective C++ books by Scott Meyers. Sample the other books about coding style, reducing bug count, and making your code easy to read, easy to test, easy to maintain, etc.

Many is the time I have had to follow behind somebody who learned algorithm and language features, but never the "ethical" way to apply them. It can often be very painful.
 
  • Like
Likes harborsparrow, Geranimo, Greg Bernhardt and 1 other person
  • #3
D H
Staff Emeritus
Science Advisor
Insights Author
15,393
685
Plus one on DEvens suggestion on reading Code Complete.

Some other suggestions:
  • Learn about algorithms. The most important class a non-computer science major can take beyond the basic "can has programming?" class is "algorithms and data structures". Read "Introduction to Algorithms" by Cormen, Leiserson, Rivest, and Stein, or "Algorithms in C++" by Sedgewick.
  • Learn about version control and configuration management. Much as I dislike it (the words "hate" and "loathe" aren't strong enough), I strongly suggest you learn how to use git.
  • Learn the old-style tools of the trade of scientific programming. That would be BLAS (basic linear algebra subprograms) and the various packages such as LAPACK that are wrappers around BLAS.
  • Learn some new-style tools of the trade of scientific programming. For example, Eigen.
  • Learn a very different (but practical) language such as lisp or haskell. Functional programming will give you a new perspective on programming. The newest version of C++ (C++ 2014) introduced a number of functional programming concepts to the language.
  • Learn a very, very different language such as brainf*ck (substitute the asterisk with the appropriate vowel), which is one of many Turing tarpit languages. Here's "Hello, World!" in that language:
    Code:
    ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
  • Learn a very, very, very different language. Or more than one. It's a bit fun. This is LOLCODE:
    Code:
    HAI
    CAN HAS STDIO?
    PLZ OPEN FILE "LOLCATS.TXT"?
        AWSUM THX
            VISIBLE FILE
        O NOES
            INVISIBLE "ERROR!"
    KTHXBYE
 
Last edited:
  • Like
Likes Geranimo and fluidistic
  • #4
19
2
Thanks for your suggestions! My uni program already has algorithm in it so I think i'll focus on something else. Also, these strange languages are just for fun right? Nobody uses them seriously? :nb)
 
  • #5
jtbell
Mentor
15,735
3,892
h15339A65.jpg
 
  • Like
Likes Physics Beard, Geranimo and DEvens
  • #6
90
19
Thanks for your suggestions! My uni program already has algorithm in it so I think i'll focus on something else. Also, these strange languages are just for fun right? Nobody uses them seriously? :nb)
"Esoteric languages" are a bit of fun, but they are turing complete. So library support aside, you can write anything in them that you could do in any other turing complete language such as C++.

I can't really recommend something specific as I don't know your intentions but I will suggest that you learn the tools used by software developers. That means stuff like version control (i.e. github), shell scripting, how to talk to a database, and possibly some kind of dynamic language (Python?) as they're really useful for doing quick jobs.

Why?

I contribute to an advocacy group that teaches developer skills to domain programmers (http://software-carpentry.org/). For example I once met a biologist who was part of a group that shared the results of their software by emailing each other a spreadsheet which they updated and emailed to the next guy. Not only is this inefficient, it also breaks when someone misses an update. We taught them how to write the code that connects to a database, and some basic SQL (the language most databases use for queries), and enough bash (linux shell script) to automate the system, and they were much happier after that.

Anyway my #1 suggestion is that if you don't know how to use a VCS like git (github's backend), learn this NOW.
 
  • Like
Likes D H and Geranimo

Related Threads on What to learn this summer?

Replies
12
Views
1K
Replies
32
Views
671
Replies
4
Views
4K
Replies
13
Views
561
Replies
17
Views
2K
Replies
16
Views
671
  • Last Post
Replies
1
Views
2K
Replies
5
Views
4K
Replies
0
Views
4K
Replies
6
Views
803
Top