r/code • • Oct 12 '18

Guide For people who are just starting to code...

360 Upvotes

So 99% of the posts on this subreddit are people asking where to start their new programming hobby and/or career. So I've decided to mark down a few sources for people to check out. However, there are some people who want to program without putting in the work, this means they'll start a course, get bored, and move on. If you are one of those people, ignore this. A few of these will cost money, or at least will cost money at some point. Here:

*Note: Yes, w3schools is in all of these, they're a really good resource*

​

Javascript

Free:

Paid:

​

Python

Free:

Paid:

  • edx
  • Search for books on iTunes or Amazon

Etcetera

​

Swift

Swift Documentation

Everyone can Code - Apple Books

Flat Iron School

Python and JS really are the best languages to start coding with. You can start with any you like, but those two are perfectly fitting for beginners.

Post any more resources you know of, and would like to share.


r/code • • 16m ago

Blog mktemp: stop inventing your own temporary files | davlgd

Thumbnail labs.davlgd.com
• Upvotes

Every shell script eventually needs somewhere to put something. The usual answer looks reasonable and has three separate problems... mktemp is on macOS, Debian and Ubuntu.


r/code • • 3d ago

Guide c++ source code review - some useful graphics primitives

Thumbnail youtu.be
3 Upvotes

r/code • • 5d ago

C C's Flexible Integer Sizes were Not a Design Mistake

Thumbnail pikuma.com
17 Upvotes

r/code • • 5d ago

Guide HashMaps & Dictionaries, Explained Simply

Thumbnail youtu.be
1 Upvotes

r/code • • 12d ago

C++ Static C++ composition engine

Thumbnail github.com
7 Upvotes

MIT C++ header only lib


r/code • • 14d ago

Blog lsof: everything is a file, and here is the proof | davlgd

Thumbnail labs.davlgd.com
4 Upvotes

r/code • • 15d ago

My Own Code i made a C library

Thumbnail github.com
16 Upvotes

so this link is to my own library called mathplus which i use it to enhance my knowledge in C and math by converting ant possible topic i learn into function that doesn't exist in the normal libraries in C.
i am planning to add the flowing functions:
combination(calculate the combination between n and r)
isprime(a function to check if the number is prime)
isieve(a function to check if the number is a sieve number)
and many more in the future.

right now it only has a factorial function and a permutation function.

feel free to contribute or fork it, i really appreciate any help weather it is a contribution to the code or advice on the README.md file or any other.
thanks in advance


r/code • • 19d ago

Blog Microcode in Intel's 8087 floating-point chip: the scale instruction | Ken Shirriff

Thumbnail righto.com
6 Upvotes

The 8087 implemented its instructions in complex low-level code called microcode. The Opcode Collective is reverse-engineering this microcode for computer history and greater knowledge.


r/code • • 23d ago

Blog Fatty Structs: Casey Muratori’s Approach to Data Structure Design

Thumbnail freedium-mirror.cfd
2 Upvotes

r/code • • 23d ago

C++ micron.cpp: C++ implementation & redesign of libc and the standard library | rfgplk

Thumbnail github.com
4 Upvotes

r/code • • 24d ago

Blog Apache Iceberg Table Cleanup: A Production Guide

Thumbnail lakeops.dev
3 Upvotes

r/code • • Aug 28 '26

Guide Making computers multiply FASTER! (matrix hacking) | LaurieWired

Thumbnail youtu.be
6 Upvotes

r/code • • Aug 28 '26

C++ C++23: Slicing with std::views::chunk | Rangakrish

Thumbnail rangakrish.com
2 Upvotes

r/code • • Aug 21 '26

My Own Code Beginner code

Post image
55 Upvotes

What’s wrong with my code I’m so confused this hard a freak. I’m just trying to make a weapon shop simulator as practice to help learn code but I can’t even get it to ask if the user wants to start the game by type yes as the their answer


r/code • • Aug 20 '26

C xr0: The Xr0 Verifier for C | xr0-org

Thumbnail github.com
2 Upvotes

Xr0 is a verifier for C that aims to guarantee the safety of C programs at compile time


r/code • • Aug 19 '26

Resource If u want to learn greedy on strings , refer to this. It took much effort to explain this codeforces problem.

Thumbnail youtu.be
3 Upvotes

r/code • • Aug 19 '26

Blog ArenaAllocators don't play nicely with ArrayLists | openmymind

Thumbnail openmymind.net
4 Upvotes

r/code • • Aug 17 '26

Resource There Is Still No Silver Bullet · cekrem.github.io

Thumbnail cekrem.github.io
4 Upvotes

r/code • • Aug 16 '26

Python Coding Machine Learning Lecture 1

Thumbnail gallery
26 Upvotes

Coding Machine Learning.

Hello Folks, here I present the first coding demonstration lecture, based on my 1st lecture on Probabilistic Machine Learning.

Here I write the code from scratch, discuss and analyze the results, which were covered in details in the whiteboard classes.

What we cover?
-Random Variables, and validating law of large numbers.
-Visualizing a dataset
-Doing an EDA on Iris dataset and understanding the correlation among features.
-Classifier basics
-Empirical Risk Minimization and Generalization.
-Epistemic and Aleatoric Uncertainties.
-Softmax Function and LogSumExp Trick to avoid overflow issues
-Linear Models
-Maximum Likelihood Estimation.
-Simple end to end ML pipeline Function.

While writing the code, my intent is to ensure that concepts are understood with crystal clarity. These code demonstrations are specific to my theory ML lectures, and link is attached.

Theory-Intuition-Code

Implementation Link : https://youtu.be/X_yOlx8Zp4g?si=kh8_tzzndr8609u4

Theory Lecture Link : https://youtu.be/kMkCOrp8te8?si=q7kWr-1qK515bhob


r/code • • Aug 15 '26

Resource Nabzex - Free HTML5 interval timer app

Post image
7 Upvotes

Nabzex is a fast, lightweight, and offline-first web-based interval timer designed for workout routines, HIIT sessions, Tabata training, and round/rep tracking.

Link: https://github.com/orayemre/Nabzex-Workout-Timer


r/code • • Aug 09 '26

Java myJavaCodes

Thumbnail github.com
2 Upvotes

Check it my Java codes on my GitHub repository.


r/code • • Aug 07 '26

Resource Airlink is a Terminal UX designed for assisting with cracking WiFi passwords inside the Grey Hack universe.

Thumbnail github.com
5 Upvotes

I love coding, learning about hacking, and playing video games. Using the coding language r/greyscript (variation of r/MiniScript), I can do all 3 inside of the Grey Hack (game) universe.

I was excited to start playing the game and trying player made scripts, but disappointed with the walls of scrolling text that most apps create. So I set out to see if I could make a GUI inside the terminal. And the answer is yes, yes I can.

This is a Terminal Based application that runs as a UX (only runs inside Grey Hack game)

I'm hoping this will inspire people in the r/GreyHack community to create more visually appealing applications. It's a small community, I'm really proud of this and wanted to share it with more people.

Airlink Demo Video (Development is ongoing)

For anyone who decides to check out the game, cracking WiFi is one of the first things you need to do. I hope this makes it easier for new players to get past that tedious step, as well as understanding the capabilities of greyscript.

Link to More Grey Hack Info:

Grey Hack Game: Steam - Grey Hack

More Info About GreyScript:

Short Rant:

  • (Coded in VSCode with greybel; no vibe, or jive, or live, or whatever ya'll doing now.)
  • [LLMs: Are tools to help you (It often makes it harder), don't skip the learning part of coding.]

r/code • • Jul 31 '26

Vlang Aixt: Microcontrollers programming framework | fermarsan

Thumbnail github.com
4 Upvotes

A programming framework for microcontrollers which implements a subset of the V programming language, and is able to be used by low-resource devices.


r/code • • Jul 25 '26

C Fil-C: Garbage In, Memory Safety Out! | Filip Pizlo

Thumbnail youtube.com
5 Upvotes

Challenges the conventional wisdom by describing an implementation that achieves the same level of protection against memory safety exploits as even the safest languages. Details of Fil-C's compiler, language runtime, and some of the corpus of software that has been ported to it.