B1 Informatics 1 WS 2023/24

Website of Prof. Dr. Barne Kleinen, Professor for Media Informatics (Bachelor/Master) at HTW Berlin

Code Examples

    

Don’t worry about noting down any code changes I make in class - I will upload everything to github!

If I make changes during class, I will push them to the branch with the semester name. To switch to the branch, select the according semester in the branches menu in the upper left corner on each repository’s main page.(it shows “main” usually - the default branch) Note that it might also be quite convenient to look at the code on the github page online, the commit history shows you the exact changes I made during class. Click on “commits” and then one individual commit, and you you’ll see the changes.

Further Hints

  • You can download the complete examples/repositories by using the ZIP Button present on the repository sites. (green Code button on the right upper side)
  • You can also look at single files online on github.
  • The list of changes in the commit history might look a bit confusing at first because all changes in the BlueJ meta files (ctxt) are recorded as well - just search for the .java file that you’re interested in. (e.g. by using cmd-f in the browser)
  • One possible way to work with it: download the original version as zip (always in Branch “master” - the first link above), and then check my commits or the current version online to recall the changes we made in class.
  • of course, you might want to start working with git - which you need to do in info3 latest - and just clone the repository. trygit is one of the many good starting points that are available online. But if you’re just starting off with programming, it’s totally fine to wait till the 3rd semester for learning git.
  • Please note that this organization (htw-imi-info1) contains all repositories from former semesters. I might update them slightly before class, so if you download them ahead, you might want to subscribe to the repository to be notified in case something changes.