this post was submitted on 12 Jan 2024
35 points (94.9% liked)

Programming

17443 readers
139 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
 

Hi, I'm a first year CS student and this 3 month period of vacations I want to follow a good free course on programming. If it's possible, I also want to learn how is the process in which a code written in a text editor can become an executable with it's GUI in the operating system (currently using Linux), because I really have no idea how that works.

Browsing the web for it have become overwhelming and I'm finding trouble in deciding what to follow, and I also need some order in order to learn things.

I would really appreciate if you can tell me if you know any course that meets this requirements.

all 23 comments
sorted by: hot top controversial new old
[–] superbirra@lemmy.world 24 points 10 months ago (1 children)

or, you know, touch some grass and don't burn out while waiting for the courses to start

[–] abbadon420@lemm.ee 18 points 10 months ago (2 children)

I can heartedly recommend this one NandToTetris.

In this course gives you a complete understanding of how computers and programming qorks from first principle.

You'll start by (virtually) making chips with just a nand chip, than you'll make a cpu, ram and rom, evetually on to a full fletched computer. Than you'll write your own assembly language, parser and compiler for that computer. You'll write your own OS and your own higher level language (OOP) and eventually you'll write a geme (tetris) in that language.

This is of course all very simplified, but very educational.

[–] ishanpage@programming.dev 4 points 10 months ago

This is the best option. I recommend Nand2Tetris to everyone! It's an incredibly well designed and executed course

[–] ericjmorey@programming.dev 2 points 10 months ago

Great Option!

[–] ericjmorey@programming.dev 10 points 10 months ago

If you want to learn how programming languages can go from text in a file to something a computer can process, I recommend either:

Programming Languages: Application and Interpretation

or

Crafting Interpreters

If you want to know how a computer processes the information, I recommend:

NandToTetris

If those are too much for your level of programming knowledge, I suggest one of the following to get up to speed:

A Data-Centric Introduction to Computing

or

Structure and Interpretation of Computer Programs

[–] Rosco@sh.itjust.works 8 points 10 months ago (1 children)

I recommend taking a look at https://roadmap.sh/. It's not a course, it's a website with several "roadmaps" for learning languages or specific fields. There's plenty of docs and it's easy to follow!

[–] ericjmorey@programming.dev 2 points 10 months ago* (last edited 10 months ago)

I don't quite trust the reasoning and assumptions behind the suggestions at roadmap.sh.

[–] radix@lemm.ee 6 points 10 months ago (1 children)

I think there are good free online courses, like Harvard's CS 50 course. I've also heard of OpenCourseWare. I haven't used either of them personally, though.

[–] genie@lemmy.world 2 points 10 months ago

Open Courseware is excellent so far! I've done their intro to C (as a refresher) and Intro to Algorithms courses. It's definitely worth the time.

[–] Jerkface@lemmy.world 5 points 10 months ago

Do you know what classes you are going to be taking? If so, fnd the syllabus and take note of the topics and the text, if one is mentioned. See if you can find any mention of material your school may have used previously and get yourself a copy. Find the topics in the book and work through the exercises as you please.

[–] solrize@lemmy.world 4 points 10 months ago (1 children)

Download SICP (find with search engine), read through it and do the exercises.

[–] ericjmorey@programming.dev 1 points 10 months ago* (last edited 10 months ago) (1 children)

I'm not sure that can be completed in 3 months by most people on their own. But I think it's a great option anyway. Probably best to use Emacs (Edwin) in doing so.

If OP chooses this option, I like this HTML5 version the best: https://sarabander.github.io/sicp/

[–] solrize@lemmy.world 2 points 10 months ago* (last edited 10 months ago)

It's fine, just make much progress as you can in the 3 months. It will be good prep for a CS program. It's also ok to read ahead and so on.

[–] NostraDavid@programming.dev 1 points 10 months ago

Read through the HTML5 spec if you want to do anything frontend related. Yes, it can be boring at times, but using a TTS extension for your browser helps a lot.

It'll teach you which HTML5 tags exist, which attributes exist for each tag, which tag goes within which tag, etc. Very helpful if you want to actually learn an up-to-date HTML5.

It will provide a very good fundamental knowledge before you start learning whatever popular JS framework exists in a few years.

[–] Aatube@kbin.social 1 points 10 months ago

What language are you looking for? If it’s C++ use learncpp.com , if it’s Kotlin use Kotlin’s learn by example .

[–] pixelblut@feddit.de 0 points 10 months ago (1 children)

Depends on which programming language you want to learn.

https://www.w3schools.com/ is a good resource for the basics in some of the most used programming languages and a good reference for looking up how things work.

Most learning of programming is IMHO learning by doing. And by breaking things.

Think of a program you want to make (or one you want to replicate, just for learning purposes) and set this as your goal. It doesn't need to be perfect, optimized or even fully functional. Just grab a hot beverage of your choice, sit down and try.

There are plenty of (sometimes even free) books with examples how to use the programming language of your choice. If you want to go that way, again, grab a hot beverage of your choice and start reading.

[–] ericjmorey@programming.dev 2 points 10 months ago

w3schools is much improved over what it was originally, but it never became a top quality resource (even if you limited your search to "popular" and free). Also it's very web centric and OP is looking for something that's more fundamental.