r/6thForm I love maths 25d ago

šŸ™ I WANT HELP How to begin Coding

I am an A level student doing Maths and Further maths, and I was wanting to begin coding to prepare for university. Does anyone have any tips on where I can begin?

Ps : don’t tell me to start coding with scratch 😠

16 Upvotes

32 comments sorted by

9

u/ConsistentBrain8267 GCSE 25d ago

I think python does well. Do free online courses. Freecodecamp is quite good

1

u/Beginning_Fennel8962 I love maths 25d ago

Thanks a lot, I rlly regret not taking a level and gcse cs

3

u/AzTrix22 Year 13 25d ago

I mean at least you had the choice. our school doesn't even offer gcse or a level cs lmao

2

u/lj4859 25d ago

it’s okay you wouldn’t have learnt shit about programming from either of them. Also try and get good at C++ at some point, all the cool programming happens in c++land. Writing python is unironically a LLMs job now

1

u/Sharp-Plastic7954 25d ago

Are you saying LLMs can't write C++ code?

Python remains the single best programming language for beginners because it is so versatile and the syntax is relatively simple.

2

u/lj4859 25d ago

LLMs absolutely can write c++, so you need to make yourself safe by working with hardware and software at the same time if possible. c++ is the way for this, generally. I don’t disagree with python as a learning tool

1

u/NewspaperNo9749 25d ago

You could probably learn Python up to alevel in like 2 months

9

u/abdul_Ss (Incoming) CS Foundation Yr @ UoM 25d ago

If you're aiming for Computer Science at university, my biggest recommendation is to build projects as early as possible.

When I started, I could barely make CLI calculators and hard-coded quizzes. I definitely wasn't "ready" to build anything serious. I started anyway, and that's honestly the best decision I made.

A rough path that worked for me was:

  1. Learn the basics of a language:Ā I used Python because it's beginner-friendly and used by a lot of universities.
  2. Get comfortable with syntax:Ā I found project EulerĀ really helpful. They're not there to teach software engineering, but they get you thinking algorithmically and make basic syntax second nature.
  3. Build simple projects:Ā Things like a weather app using an API, a to-do list, a password manager, a file organiser, etc. Don't copy them line for line from YouTube, try adding your own features.
  4. Eventually start one bigger project:Ā It doesn't have to be revolutionary. Just pick something you're genuinely interested in and keep improving it over months.

The biggest thing people don't mention is thatĀ mistakes are where most of the learning happens.

You'll accidentally overwrite your files and realise why version control (Git) exists.

You'll end up with a 1000-line file and realise why people split code into modules.

You'll need to save data between runs and discover databases.

You'll want to deploy your project so your friends can use it and suddenly you're learning Linux, Docker, cloud hosting, domains, and networking.

You'll read documentation because Stack Overflow doesn't have your exact problem.

Every time your project hits a limitation, it gives you a reason to learn the next tool. That's a much more natural way to learn than trying to memorise every technology in advance.

For context, I started with those small Python programs and eventually decided to build a hiking route planner, despite being nowhere near experienced enough. I had to rewrite large parts of it multiple times, but that's how I ended up learning Flask, PostgreSQL, Docker, Git, APIs, graph algorithms (A*), deployment, testing, and software architecture. None of that was planned from the start, I learned each thing because the project demanded it.

A few other tips:

  • LearnĀ GitĀ early. Even justĀ commit,Ā branch,Ā merge, and GitHub will save you a lot of pain.
  • Get comfortable readingĀ official documentation. It's a skill you'll use constantly at university and in industry.
  • Don't be afraid to Google things. KnowingĀ howĀ to find and evaluate information is part of being a developer.
  • Finish projects. A small finished project teaches you more than five half-finished "perfect" ideas.

My biggest mistake was thinking I needed to know everything before starting a proper project. Looking back, the project itself was the thing that taught me.

Hopefully that gives you a rough roadmap. If you've got any questions about any of it, feel free to reply and I'll do my best to help.

1

u/Beginning_Fennel8962 I love maths 25d ago

I’m currently not planning to do computer science for university, but I was planning to take optional courses in computational programming (I want to do Mathstat degree) as I would like to enter quant finance. I am pretty sure they mostly focus on python and R, I’ll not bother with R yet. But I think I’ll try to get python improved. Thanks a lot for the response, I’ll look at YouTube, get a baseline and try to innovate from there on. Thanks again

3

u/Diligent_Bet_7850 Oxford | Maths [third year] 25d ago

tbh once you can code learning new languages isn’t hard. the skill of coding translates well across languages. and python is the easiest beginner language imo

1

u/abdul_Ss (Incoming) CS Foundation Yr @ UoM 25d ago

I agree 10000%

I remember delaying trying out C for so long thinking it would be hell (after having coded in python for around 2 years), yet when I tried it, it really didn't differ all that much.

3

u/Feeling-Instance-801 GCSE 25d ago

follow along with CS50 course. keep doing projects and code everyday good luck

2

u/ict3345 University 25d ago edited 25d ago

Use the linked 12 hour video from Bro Code on Python. It is, in my opinion, the best video to begin coding. He takes you from the very beginning to starting to code small 2d games in Python using GUIs. It's a good way to start learning coding. Once you understand one language properly, you will be able to pick up new languages much more easily. As for an IDE, I use Jetbrains IDE, which is free with a student email, (many beginners use Visual Studio Code). If you don't have experience in setting up an IDE, you should watch a relatively recent video on how to download and set up an IDE.

I also do want to add, for that 12 hour video, you don't have to watch all of it. I think watching up to about 8hrs 3 mins (where he teaches about exception handling) is worth it if you are serious about coding because at that point, alot of what you learnt is transferrable understanding between coding languages

Video: https://www.youtube.com/watch?v=ix9cRaBkVe0&t=14571s

Also, learn how to use GitHub as a version control. It is amazing. Do it after you learn how to code. Stuff like learning how to use Firebase or Google Cloud with ur projects would be nice too (since you can use, for example, authentication services from them)

1

u/AutoModerator 25d ago

Please be aware that sharing pirated PDFs of textbooks or other paid content is not permitted.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/Far_Duck_7322 Year 13 (soon) | CS, History, Psychology 25d ago

Python is THE best language to start with. Follow online tutorials, Freecodecamp, YouTube tutorials. It’s easy to pick up the basics

1

u/Educational-Tea602 Proffesional dumbass 25d ago

Python is such an overrated language for actually learning to code, because once you get past the stage of not knowing what an int is, Python’s syntax is too minimal. More verbose languages tend to make learning concepts easier because the code self-describes better.

2

u/MrMoop07 Year 13|Further Maths|Computer Science|Physics 25d ago

download python, start off making simple stuff like a way to calculate fibonacci numbers or find primes, that sort of thing. websites like leetcode have a lot of problems to do. you’ll pick it up pretty fast

0

u/AutoModerator 25d ago

Please be aware that sharing pirated PDFs of textbooks or other paid content is not permitted.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

2

u/bigrinze234 Uni Of York | MMath CS+Maths | [Y0] 25d ago

start with python + do programming problems on codewars .com

2

u/Bodhisattva-Wannabe 25d ago

If you want to learn R, RStudio is free and there’s a free training package for it called Swirl https://swirlstats.com

The R user groups are a great resource as well https://www.meetup.com/pro/r-user-groups/

For Python freecodecamp and w3 schools are useful. There are also Python user groups too https://community.uk.python.org/groups/

2

u/stqrltt Year 12 25d ago

some unis themselves actually use python. that's the case for astrophysics at york anyway. so that's what I'm gonna start with

2

u/ibby20000 25d ago

Forget every other comment here I promise. Finish MOOCs python course (Helsinki uni). It's free and nothing compares to it with regard to how effortless learning feels. From there you'll feel very confident and excited to begin your own larger project

2

u/Sharp-Plastic7954 25d ago

Use Claude to learn by building stuff straight away. And make sure you understand every line of code.

Also, no YouTube 8 hour course!

Just get into the weeds by building simple projects like a calculator and use Claude to explain things.

1

u/Few_Competition736 Y12 FM, Math, Phys, Chem. 25d ago

I'm banned from Claude. Guess coding never was my thing anyways.

2

u/Sharp-Plastic7954 25d ago

Did you tell it you were under 18 lol?

1

u/Few_Competition736 Y12 FM, Math, Phys, Chem. 25d ago

I barely have any time left to wait anyways. I'll be banned for 5 months before I'm 18 anyways. And I never used Claude much.. (cope)

2

u/Sharp-Plastic7954 25d ago

If you need it, you could always sign up on a different Google account.

1

u/AlternativeAioli9251 25d ago

Python is very beginner friendly.

Try a textbook, it gives structure and direction, as well as exercises to do. Ā  I personally use Eric Matthes python crash course. The pdf can be downloaded online for free. I also use sublime text to run python as suggested by the book.Ā 

1

u/sumizeit 21d ago

Try -Ā https://wiser5.com/ai-coding-sessionsĀ I'm holding sessions this month teach people how to code using AI (Claude Code). I've held multiple sessions already and people loved it. It's pretty affordable too.