What to learn this summer?

  • Thread starter Geranimo
  • Start date
  • Tags
    Summer
It will save you a lot of time and frustration in the future.Code Complete is a highly recommended book for programming beginners. It covers a wide range of topics from style and design to managing projects and debugging.I think learning a different language, like lisp or haskell, would be a great addition to your studies this summer. Functional programming can be very useful in solving problems and is a relatively new language concept.One other suggestion I have is to learn how to use version control systems such as git. This will help you manage your code and track changes over time.f
  • #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
 
  • #2
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
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
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
h15339A65.jpg
 
  • Like
Likes Physics Beard, Geranimo and DEvens
  • #6
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

Suggested for: What to learn this summer?

Replies
4
Views
866
Replies
9
Views
784
Replies
32
Views
2K
Replies
33
Views
1K
Replies
12
Views
898
Replies
17
Views
973
Back
Top