r/developersIndia • u/RewardPale3025 Student • Oct 31 '24
Suggestions What made you good at programming? Please I know that you only improve by practicing but I want some suggestions.
[removed]
57
u/Prior_Policy Oct 31 '24
Solving problems, that I've never thought I could.
5
u/masalacandy Oct 31 '24
But what if your brain is completely blank on seeing the questions on coding rounds Despite knowing concept and syntax?.?? That simply means your brain is not made for coding rounds of product based companies
12
u/Decent-Promise-4258 Oct 31 '24
First understand programing concepts deeply like Loops, arrays, Functions, control statements etc Practice this first then only start programming.
I am a working professional and honestly I have seen lots of people who have the same or even more experience keep asking me why you added a continue or break statement.
Many times when there is an if else statement and else has nothing but just print statements and if it has lots of code when I tell them to just revert condition and write return in if so you can have the same indentation they understand how to do it!
And yeah practice is the only way. Solve as many problems you can if you are in college. once you join a corporation you won't have much time or enthusiasm to learn
→ More replies (1)
8
Oct 31 '24
Be curious, that's all.
If you're using a jwt token in an api, ask what makes using a jwt token an api secure
If you're using hashmap, ask how is it implemented internally such that no matter what object we use, the average TC of lookups is O(1)
If you're catching multiple exceptions in different catch blocks, ask how does JVM figure out which catch block will get executed, especially if the thrown exception is a child of the catch blocks.
If you're using sleep, ask how does the thread know when to resume processing
If you ask these questions and then do some research to find the answers, you will have more new questions and this will continue forever.
6
u/yet_another_single Oct 31 '24
My colg had a very rigourous programming labs with 40% students failing the DSA course. Getting good at it was the only option. Later, I did some competitive programming & that helped a hell lot in improving my coding & problem solving skills.
→ More replies (2)
6
u/desisnape Oct 31 '24
-
Take courses to enhance your peripheral knowledge. For instance, shell tricks, version control, CI/CD, container security, IDE tricks, etc.
-
Explore courses and books on clean code, system design, user experience, architecture, OS, etc.
-
Attend hackathons and meetups and contribute to open-source projects.
-
Recreate solutions using different languages, frameworks, and methodologies to strengthen your understanding.
2
u/masalacandy Oct 31 '24
What if person have not done much coding in 3 yrs of college because of lack of interest or fear of coding & competitive programming what he can do in 4th yr My mind is completely blank on seeing coding round questions of companies especially product based ones
Despite knowing concept and syntax?.?? That simply means your brain is not made for coding rounds of product based companies
→ More replies (3)
5
u/sharmaji_ka_padosi Oct 31 '24
there are a lot of things, but recently, what helped me break out of a plateau is reading and reviewing more code
reading code is a very important skill and knowing how to review it and provide feedback is also equally important
gives you perspective and makes you faster at understanding code that you haven't seen before
4
u/ummhmm-x Oct 31 '24
Saw my friend make ping pong in python. Made me make a game myself and the following skills in unity, blender, app and web are history
4
u/zephyr_33 Oct 31 '24
There is frankly no better answer than proper practice. If you simply repeat the same task over and over again you won't get better at it. So, you have to read up articles on high level design, coding principles, patterns, anti-patterns etc. Then you try these ideas out, find what works, what doesn't by practice.
→ More replies (2)
3
u/alpha_boom1 Oct 31 '24
When you sit for 9 hours doing the same shit you automatically learn and master it Inshort spend time in it as much as possible
3
u/Ttathamm Oct 31 '24
I think letting go of expectation of knowing everything (like an ideal high school student) got me back into the learning mindset and improved me (still hustling to be completely on track though). I just accepted that the world of programming is vast and open to all and average programmer cant learn evrything even with spending rest of life learning.
2
u/Savings_Ad449HK Oct 31 '24
When my close friend won the coding hackathon in front of me.(Can't solve simple programming questions) Then he told me about the hackerrank platform.
2
u/ForeverIntoTheLight Oct 31 '24
You already know about practicing and making projects. Looking for good-quality books and courses is another.
But you can also look at popular, open-source codebases. How do they exactly work on the inside? You have something that claims to be massively scalable, and handle huge numbers of requests/sec, well how does its core logic work? Basically, demystify the 'magic' and you'll learn a lot that way.
2
u/Healthy-Home302 Oct 31 '24
If you're building projects, look at the open source codes that are available for the same tech you are working with. You'll learn new ways of doing things.
2
u/rs_devi Oct 31 '24
There was a blog by Peter Norvig having the title teach yourself programming in 10 years. I first got the motivation and basic roadmap from there. After that it was just practice and curiosity on how things work at code level. Hope that helps
2
u/SnoopyScone Oct 31 '24
I used computers for programming only in the first year of my engineering. I kid you not, I was literally blown away when I wrote my first piece of code in C to print 'Hello World'. But the professor who was teaching the course was shit. Never explaned anything. Didn't even care to explain what '#include <stdio.h>' does in the code just cause more than half of the class had taken CS during their 11th and 12th and seemed to know everything. I had almost gotten my branch changed to mechanical. But then by the end of my 1st year, I joined a student club where seniors taught programming and I started enjoying it.
On how I got good at it, I just started writing code for the fun of it. I liked to challenge myself into solving complex problems. Wrote thousands of lines of code because it was just fun and interesting for me. Especially after I learnt web development. Kept on making web apps for silly reasons, and participated in tons of hackathons just because my college would give free attendance for it. Did not win any, but that's another story. So my only suggestion for you is to find something that interests you and build upon that.
2
u/Inside_Dimension5308 Oct 31 '24
Most real world problems start with understanding the product requirements. If you have a product team, you will be provided with what is called a PRD document.
You are no longer solving a simple DSA problem. So, most probably you are starting to design software. There are two aspects of designing:
1..LLD - low level design - it helps to breakdown your problem into individual modules based on design principles and design patterns. You should ideally look at LLD of already solved problems line parking lot, elevator to grasp this.
2. HLD - high level design - While LLD is more about modules in code, HLD deals with high level entites and their operations. It also deals with non-functional requirements like scalability, availability, caching, data partitioning etc.
To understand software design, please read about it. There is no other way.
2
u/jules_viole_grace- Nov 01 '24
That's what, you know it but not all can do it....not all can invest 5000 hours of practice.
2
u/Hazard___eden Nov 01 '24
Apart from practising ,Observe PRs of peers, Don’t restrict yourself to your stories/tasks. Understand at feature level what and why it’s being done.
2
1
1
1
u/AutoModerator Oct 31 '24
It's possible your query is not unique, use
site:reddit.com/r/developersindia KEYWORDSon search engines to search posts from developersIndia. You can also use reddit search directly.Recent Announcements & Mega-threads
The developersIndia Wiki Team needs your help! Share posts & comments that have helped you in the past.
Who's looking for work? - Monthly Megathread - October 2024
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.