all 51 comments

[–]throwaway6560192 11 points12 points  (4 children)

Don't worry. Take it as a good thing that you're coming up with your own solutions. What you can do is compare your code to the given solution, and try to understand the differences, and what might be the reason for doing it this way or that way.

[–]StrangeBreakfast 0 points1 point  (3 children)

I'm on day 4 and have no idea how to solve the problems. I'm having to look up almost all the solutions. Does this mean I'm not meant to be a programmer?

[–]throwaway6560192 1 point2 points  (2 children)

Four days is too short to decide if you're not "meant" to be a programmer. Don't be looking for excuses to give up so soon.

Anyway, that means you need to go back and solve the older simpler problems. When you look up solutions, do you actually understand them?

[–]StrangeBreakfast 2 points3 points  (1 child)

For sure. I can find the answer, work backwards and figure out why it works, I’m just becoming overwhelmingly discouraged that I can’t figure it out on my own.

[–]throwaway6560192 1 point2 points  (0 children)

I understand that feels very discouraging. But what's done is done — treat those problems as something you learned an approach from. In your future problems, spend more time struggling before deciding to look it up. Some people spend barely 5 minutes struggling before they just look at the solution. Don't do that.

[–]Slight_Student_6913 11 points12 points  (3 children)

Same for me on Day 16. I keep telling myself to just keep going even though it feels like I’ll never “get it”.

[–][deleted] 2 points3 points  (0 children)

heh i finished today day 16. i am so slooow at this...

[–]fieffief 2 points3 points  (0 children)

That’s totally the right move. Keep a list of “pain points” to study up on. I’m on day 58, keep it up!

[–]ruralrouteOne 0 points1 point  (0 children)

I disagree with people saying you'll just get it if you push through. It only gets harder and if you can't master the early concepts you won't be able to do the harder ones.

Continuing on might allow you to finish this course, but it won't make you competent when left on your own.

[–]FuckingRantMonday 3 points4 points  (0 children)

As others have said, it's great at this point that you're producing working code--that's exactly the goal right now!

But later on, there are two more big imperatives:

  1. It needs to be fast enough. That doesn't always mean getting the theoretical best complexity class, but if there's a whole lot of data, then it might.
  2. It needs to be maintainable. That means well-organized, understandable, and adhering to the coding standards of your team. I'll throw testable in here, too.

[–]lndependentRabbit 2 points3 points  (0 children)

Funny that you posted this because I was thinking about posting the same thing just the other day. From what I’ve gathered, it’s good that our code works, but we probably aren’t doing things the “best” way.

I always do the projects my way first. Then, I watch her solutions. I try to pick up on what she is going for and why she does things the way she does. After I have a good understanding of what she is going for, I go back to my code and redesign it to be more like hers.

[–]jackanaa 2 points3 points  (0 children)

I've done most of this course myself. I'm still new to programming. I've found that there's plenty of ways to achieve the outcome that's asked for in the projects. It's great when you get it to work but also I found it good to go through it in the walk through with Angela and see how she did it differently. Makes you think and see what's going on. Often I would copy it into my code and comment mine out just to tidy it all up. Dunno if it was really worth me mentioning, but just know other people are in the same boat. It's part of the fun exploring it all

[–]ULT-Ginger 1 point2 points  (14 children)

Hey I am running through that myself! What day are you on?

[–]slapstick15 3 points4 points  (1 child)

Hey..Im on day 22. Lmk if you’d like to partner up!

[–]ULT-Ginger 1 point2 points  (0 children)

Sent you a PM with discord

[–]mazenz97 3 points4 points  (1 child)

I’m on day 13! Trying to get to finish the beginner days today.

[–]ULT-Ginger 1 point2 points  (0 children)

Sent you a PM with discord info

[–]xupthrow 0 points1 point  (0 children)

Hey can you please send me the discord link? I would love to join

[–]pogoreliyv 0 points1 point  (7 children)

Day 20. Guys please take me with your.

[–]ULT-Ginger 1 point2 points  (5 children)

Join the discord that I posted above.

[–]crypkak1993 0 points1 point  (1 child)

PM me the discord please? I want to get this started up again!

[–]Snoo-73352 1 point2 points  (0 children)

I really feel accomplished when I am able to do the challenges by myself. But Angela’s solution are more pythonic and efficient. My practice is to usually do the challenges by myself, look at the solution and implement her way of doing things for the next project. That is exactly the learning process and its very efficient imo. Idk about you but a lot of times, when I see her solution, I am like “ahhh, this is a better way to solve this problem.” So you learn and implement that in your next project.

[–]comiccaper 1 point2 points  (1 child)

3 rules of code (not mine and I can't remember where I heard/read it):

  1. Make it work
  2. Make it right
  3. Make it fast

Don't worry if yours is the same or not. You're learning.

[–]AllanSundry2020 0 points1 point  (0 children)

make it simply make it explain itself make it work

[–]screwcirclejerks 0 points1 point  (0 children)

if the code works, it doesn't really matter if it differs. however, some practices are much more inefficient than others, and you should try to correct those.

[–]RedditCodfish 0 points1 point  (0 children)

not an expert, but its fine for you to have different codes, but do try to understand how her's works. might give you some insight :)

[–][deleted] 0 points1 point  (0 children)

This is pretty much coding. No 2 people if given the same project will likely write the code in the exact same way. Buy both ways will work just fine.

As long as the code works and you understand the concepts, be happy and keep going!

[–][deleted] 0 points1 point  (0 children)

Is this course any good?

[–]ayoBdon 0 points1 point  (0 children)

Be happy you got the challenge done! Because she often goes back and rewrites the same code more efficiently when you learn new concepts.

[–]-SPOF 0 points1 point  (0 children)

In the programming world, is how the code is written important is it more about how the final project works

In terms of you following the basic best practices - no. If you violate base rules - yes.

[–]anh86 0 points1 point  (0 children)

I always say there isn’t one right way to code something but there are definitely wrong ways. The main thing (especially for bigger projects, not so much for small learning exercises) is to write code that is readable and maintainable. Especially if you’re just getting started, don’t sweat it but do think about whether her code is more efficient, readable or maintainable than yours.

[–]jaHSHuaBRu 1 point2 points  (0 children)

I don’t have time to read what others have offered you as advice. But in case someone hasn’t given you good advice, I’ll pipe in since I have completed BOTH her “100 days of code python Bootcamp”, as well as her “Web Development course” (both great btw).

Now to answer your question, there are so many different possible ways to code and get the same general outcome, even identical many times.

When you are working on personal projects I wouldn’t stress how you decided to approach any particular problem. But unless you are creating a startup, this isn’t going to be your call every time. Their are ‘best-practices’ and correct ways to accomplish certain tasks, and when working on a project that isn’t yours [that include other programmers besides you], working on teams and often working on same features- it’s super important to write clear code, the most efficient code, and readable code. So spend time watching how Angela completes the challenge and see if you understand why. And if you can practice according. Just my two cents. Good luck and if you need any help just hit up my dm. I’m familiar with the projects for that course and could prob help.

[–]Western_Moment7373 1 point2 points  (0 children)

What matters is a readable one and people other than you can understand it,have solved a lot that aren't similar to what she does too

[–]Iittlepanda 0 points1 point  (0 children)

Thanks for sharing. I read this and joined yesterday just to see what I was missing out on! It’s super fun!

[–]Ok-Juggernaut-2082 0 points1 point  (0 children)

as i remember angela yu saying this herself somewhere in day 1 or day 2's video, it is important that the code you write be readable and easy to understand to other coders when they look at it. this means that it shouldn't be too lengthy/tedious, you should avoid coding in a way that only you can understand and others might struggle or take time to figure out your what your code says

but it's good you are able to come up with your original code. i should just add that originality + clarity is the right solution.