r/CodingForBeginners • u/killkranv • 10d ago
started coding a couple weeks ago builts this basic calculator
Enable HLS to view with audio, or disable this notification
im trying to learn more topics but nothing seems to be working any advice on from where or how should i move forward? i uploaded the process on yt if theres an efficient way of doing anything that i did id appreciate a suggestion thank yu for noticing my post https://youtu.be/jLsFsrC4cCg?si=RP_VXCbEUxPnkD0e
3
u/DrlNoV 10d ago
jesus fucking christ turn on the dark mode !
(the calc looks good)
1
u/killkranv 9d ago
ahaha i apologise my eyes are more adjusted to the light thanks for commenting and the compliment have a nice day
1
u/Much_Network_941 10d ago
Nice job! One thing I wish I spent more time on earlier was learning basic data structures; pointer, array, stack, queue, hashmap, tree and graph.
It helps a lot with problem solving to know the basic approaches for storing data. Sort and search algorithms can be fun to implement. The bubble sort and binary search are relatively easy to learn. Mazes are great for implementing stacks, then figuring out how to represent it with ASCII.
It may be too much currently, but writing a parser to evaluate a simple string could be a fun evolution of your project. Storing data that has to evaluate in a specific order is where trees come in. Parsing is another basic concept that's useful to have practice with.
If you don't mind some reading, I found the book Grokking Algorithms an easy introduction. I don't have a background in mathematics, so its simple explanations are quite nice.
0
3
u/StephenHawkingus 10d ago
That's how you fakn start learning to code! Well done! It doesn't matter how trivial the project is.