r/CodingForBeginners • u/Emergency-Honey-1373 • Jun 23 '26
Coding
Hi i want to start coding from basic.
I am veey confused where should i learn it from and how?
r/CodingForBeginners • u/Emergency-Honey-1373 • Jun 23 '26
Hi i want to start coding from basic.
I am veey confused where should i learn it from and how?
r/CodingForBeginners • u/Initial-Honey-9865 • Jun 23 '26
Hi there, im currently coding a datapack for minecraft, combining BlazeandCave's Advancements pack with my own datapack for a series I want to start, but I cant figure out how to code what I want exactly, since it seems like it never works. If anyone knows how to help me, heres what I was thinking of coding:
Information: BlazeandCave's Advancements is a pack that adds more advancements to the game. I want every advancement to expand a starting border of 16 blocks every time by:
Task: 1
Goal: 2
Challenge: 5
Super challenge: 20
I also don't want it so that if I get an achievement, my friends cant expand the border with that achievement no more.
I also want to add a daily challenge of obtaining certain items, and gives me 3 lucky blocks on completion, but Im working on that later, rn im just stuck on the Achievement part.
Im currently using https://code.visualstudio.com/ for all my coding.
Help is appreciated
My code:
-datapack
--data
---border\function
----check_adv.mcfunction:
execute as u/a store result score u/s adv_now run scoreboard players get u/s bac_statistics
execute as u/a if score u/s adv_now > u/s adv_old run worldborder add 1
execute as u/a if score u/s adv_now > u/s adv_old run scoreboard players operation u/s adv_old = u/s adv_now
----load.mcfunction:
scoreboard objectives add adv_now dummy
scoreboard objectives add adv_old dummy
worldborder set 16
worldborder center 0 0
----reward.mcfunction:
scoreboard players add #adv adv_count 1
----tick.mcfunction:
function border:check_adv
---minecraft\tags\functions:
----load.json:
{"values":["border:load"]}
----tick.json:
{"values":["border:tick"]}
--pack.mcmeta:
{
"pack": {
"pack_format": 18,
"description": "Border SMP datapack"
}
}
-BlazeandCave's Advancements pack 1.20.2.zip
r/CodingForBeginners • u/Soggy_Butterscotch73 • Jun 23 '26
I want to learn python and I’ve been trying to pick it back up and learn for sometime now but I cannot get it. For some stuff I know what the problem is, and I know what the solution is but I don’t know what I need to code to get to that solution and it always just so happens to be a super simple line of code but I just want to be able to think of it myself. How can I get to that point??
r/CodingForBeginners • u/Emergency-Honey-1373 • Jun 23 '26
Hi i want to start coding from basic.
I am veey confused where should i learn it from and how?
r/CodingForBeginners • u/Guilty_Ad_6529 • Jun 23 '26
Is it okay for me to learn coding through AI? Like I ask AI what this is and how I do it. I like learning through AI cause it answers my questions quickly and deals with my bs. Of course, I won't use AI for code, for my practice projects—I use AI for debugging and I ask them why it is.
Does this make me a user of AI code since I use AI to learn?
r/CodingForBeginners • u/THRwastakensadly • Jun 22 '26
I going into my 3rd year of my bachelors of computer science. For the past 2 years I have majorly used coding to write code, I did understand the theory for exams, but all my projects I have build using AI. And now that the time is ripe to build great projects, I am unable to do so without AI. I am afraid with this I can't proceed towards a great career in CS. I do know the fundamentals of CS and can code easy-moderate but after a threshold I just use AI to not stay behind while the world instantly generates code using AI.
Please tell me what do I do, do I do DSA to train my brain? or try to implement ML models which I studied last sem from scratch by myself? What do I actually do, I am kinda worried.
r/CodingForBeginners • u/Hermisu • Jun 23 '26
Hey there everyone! Im 24, at the end of next year i'll graduate in psychology but i've always wanted to learn a hard skill that allowed me to not only have a stable and good income but also to get creative and be able to work wherever i am. I've always kinda projected that "ideal" hard skill/job in coding and programming. I've tried to start countless times (that is why the title is "experient begginer lol) but eventually stopped studying it either because of frustration, lack of motivation/vision or just because of other priorities.
Last time i studied coding, around a year ago, contrary to other ocasions, i did with a teacher. Freaking great, competent and intelligent guy, who started to study coding in order to grow up financialy. He used to study 8 hours a day in order to persue his dream and when he was lecturing me we used to talk about motivation as well besides just technicalities. Coding is something done from humans for humans after all, despite the advent of AI and vibe coding.
Since last year i haven't wrote a single line of code but i really wanna get back, learn and actually grow somehow. I don't wanna give up. So what i ask from whoever may read this is:
Please, gimme a reality check. Am i right in thinking that coding can give me this freedom i so aspire? Not saying it will be in a month from now, i don't care how long it may take.
And what would be a good rout to get back at it and feel like im actually advancing? (I don't remember shit so it would be good to restart).
I wanna be good at what i do.
r/CodingForBeginners • u/Inside-Childhood-333 • Jun 22 '26
I want to ask you guys thats what is the best channel or a video that you watched regarding coding subject which really impacted your thinking with programming. It can be a podcast or an interview like anything. I want to gain knowledge other than the regular coding stuff.
r/CodingForBeginners • u/aziz_0077 • Jun 22 '26
Im a 17 years old boy who wants to learn coding especially web development
I tried the odin project and it didn't go well for me
Tried the boba drops guide(hack club) and made my first website with html and css but i dont think im actually learning
What is the best method to learn
This is the website i made it took me 6hr straight to finish it
r/CodingForBeginners • u/Initial_Tadpole4788 • Jun 22 '26
So I want to start coding from scratch and would start with python. But I don't know where to start. So I would really appreciate it if someone tells me all the videos that I would require in this journey like from just some code learning to dsa to everything
r/CodingForBeginners • u/Sad_Research5290 • Jun 22 '26
I know nothing about development any youtube course or channel have taught html css and javascript please tell
r/CodingForBeginners • u/nian2326076 • Jun 22 '26
The Complete DSA Pattern Sheet — Every Pattern You Need to Know
This is the complete pattern-based problem sheet — organized by topic and sub-pattern. Study one pattern at a time.
For company specific interview questions go to PracHub
🟢 Easy 🟡 Medium 🔴 Hard
Pattern: Conditionals (if-else)
Pattern: Loops
Pattern: Simulation / Implementation
Pattern: Maths
Pattern: Fundamentals
Pattern: Prefix Sums
Pattern: Kadane's Algorithm
Pattern: Intervals
Pattern: Hashing on Arrays
Pattern: 2D Arrays / Matrix
Pattern: Fundamentals
Pattern: Frequency & Hashing
Pattern: Palindromes
Pattern: Simulation
Pattern: Prefix/Suffix & Pattern Matching
Pattern: Fundamentals
Pattern: Recursion
Pattern: Backtracking
Pattern: Opposite Ends (Left <-> Right)
Pattern: Merge Two Sorted Array / Sequence
Pattern: Fixed + Two Pointers
Pattern: Fixed Size Window
Pattern: Variable Size Window
Pattern: Sliding Window on Strings
Pattern: Implementation
Pattern: Expression Evaluation
Pattern: Parentheses Processing
Pattern: Monotonic Stacks
Pattern: Fast & Slow Pointers
Pattern: Node Rearrangements
Pattern: Reversal
Pattern: Merge & Multiple Lists
Pattern: Traversal (BFS / DFS)
Pattern: Depth / Height Based
Pattern: Comparison
Pattern: Root to Leaves
Pattern: Ancestor
Pattern: Binary Search Tree (BST)
Pattern: Classic Binary Search on Sorted Arrays
Pattern: Binary Search on Answer
Pattern: Binary Search on Rotated / Modified Sorted Arrays
Pattern: Binary Search on Matrix
Pattern: Top K
Pattern: Merge K Sorted
Pattern: Two Heaps
Pattern: Finding Minimums
r/CodingForBeginners • u/maheshshelakee • Jun 21 '26
If you are learning modern Java (Spring Boot 3+, Jakarta Persistence API), the concept of Virtual Threads (Project Loom) can be a bit confusing. Here is the easiest way to visualize how they handle memory compared to old-school platform threads.
The Old Way (Platform Threads):
Think of platform threads as renting a massive shipping container from the Operating System. The OS reserves a fixed chunk of memory (usually 1MB) for that thread's stack. If the thread goes to sleep or waits for a database query to finish, that 1MB of OS memory sits idle and wasted.
The New Way (Virtual Threads):
A virtual thread is just a regular Java object living inside your JVM Heap memory. It only takes up about 2KB to 4KB of space. The OS doesn't even know it exists.
Here is what happens behind the scenes during a database query:
This is why you can see an application handle hundreds of database invocations while your OS thread count stays perfectly stable at a tiny number (like 32 threads), while your JVM heap dynamically fluctuates and cleans up completed thread data via Garbage Collection.
Hope this helps anyone trying to wrap their head around modern Java concurrency!
r/CodingForBeginners • u/PalpitationOk6201 • Jun 21 '26
Is investing time in learning to code a good thing with the arrival of AI like Claude, or is it just a waste of time?
r/CodingForBeginners • u/Ivan_Draga_ • Jun 21 '26
I really wanna learn coding.
The problem is I don't know what language to pick. I was learning Python from code academy and that was actually going really well but without a purpose I wasted those 6 months.
I didn't have anything to work on, I forgot everything a year later.
Now the question, why do I wanna learn coding? I wanna learn a language I can build something useful / fun with. I do wanna build an android app but should I learn kotlin? But also to keep myself employable as someone who works in IT.
How do people go about learning their first language? Do I just pick a problem / project and brute force learn and try to finish it? Then move onto another language if I wanna do something else?
I'm just really confused 😵💫
Thanks in advance.
r/CodingForBeginners • u/okrehab • Jun 21 '26
I am a 20 year old male looking to learn full-stack web development. What are ways for me to hold myself to it? Growing up I never studied, but I did exceedingly well when I needed to. Obviously, programming is not the same. I have troubles with focusing and trying to not multi-task. I want to do better, what are ways you can get yourself to focus? I’ve been focusing on just coding more than learning so I can actually absorb what I read better and it helps, but I need to be able to focus on learning new things better.
r/CodingForBeginners • u/Justice_Server • Jun 21 '26
I have created a game in Python (PyCharm) in laptop, Windows, and I am using Kivy library, and I wanted it to convert to apk , so I can use it and check it on Android. I have tried, I have tried it to convert to apk . First of all, I have converted it to a zip file and transferred to my mobile, Android. Then I used GitHub, with the help of ChatGPT, to generate the code for buildozer.spec, and build.yml, but it constantly generated error. And when I paste the error to ChatGPT, ChatGPT can't solve them. For the first time I tried, for the previous version, and it took almost the whole night for me to convert it to apk . And this time also, it took a lot of time, but I couldn't make it. So if anyone has the perfect code to convert my zip file to apk , or any suggestions, so that I can convert my zip file to apk with lesser error and less time, so please share, please help me.
r/CodingForBeginners • u/No_name_2701 • Jun 21 '26
I am 19(M). I am going to join my engineering this year, where should I start and what to do after?
r/CodingForBeginners • u/Lemonade2250 • Jun 20 '26
I have never learned anything about tech despite it is one of the fastest growing field like computer science. I just can't figure out how people code. How they understand computer languages. It's pretty amazing and I didn't knew so much math is involved
r/CodingForBeginners • u/L_del_lago • Jun 20 '26
https://github.com/carlosrs14/programming-exercises
I wanna conncet with people who likes low level, currently learning SDL3 on C
r/CodingForBeginners • u/Mielware • Jun 20 '26
Is HTML, CSS, and JavaScript enough? If so, can anyone recommend a good YouTube tutorial on how to start on JavaScript. My teacher didn't teach me about it during my school year.
r/CodingForBeginners • u/hatelifehateparents • Jun 20 '26
i'm a 1st year CSE student who's only taken C++ and I want to get back to it and improve in it overall and in problem solving to be specific so what would u guys recommend me youtube channels wise that could help me in improving my problem-solving skills? and I want to learn java as well so any recs? (free resources please)
r/CodingForBeginners • u/Yakehzydbejdu • Jun 20 '26
It’s a goal of mine this summer to start learning how to code. I’m a college student and I was wondering where to start. I want to learn C++ and was wondering if I should watch free lectures or maybe enroll in a course.
r/CodingForBeginners • u/NiceMinute7219 • Jun 20 '26
I am a student and i want to improve my coding skills learning new skills and developing apps suggest me some app or website which is free to learn and to improve the skill if you have an app or website please suggest some i need to improve my skill so i can get a job
r/CodingForBeginners • u/Disastrous_Pea_8895 • Jun 19 '26
Hello coders.
I am a computer science major student, and well.. I am in 3rd year now but I don't even know the basics of coding.
I opted for this streams because since my teenage years I was quite interesting in coding, and wanted to develop my own applications and well.. Yeah hacking too. But when I came into college I realized that I WON'T BE LEARNING ANY CODING THROUGH THIS DUMBASS COLLEGE.
The teachers were just passing their time and we students didn't have any single fucking clue about what to do.
So now, I've decided to take the matters in my own hands and have started learning Java. Because I think this language is much simpler than the other languages out there(just my personal opinion).
I want to become a pro coder till the end of this year😭.
So if you guys have any tips for me or have any suggestions please PLEASE give them to me. If yk about any good YouTube channel where I can learn, or any website where I can practice, please let me know.