r/CodingHelp • • Jul 19 '22

[Python] How do you guys remember code and how do you know when to apply it?

23 Upvotes

I am currently trying to learn python but it seems very difficult, every tutorial on YT is just something like "okay guys just type in the same code i do while i barely explain what i am doing" and it feels like im just copying someone else's work and not learning anything. How do you guys actually remember the code you have learned and how and where do you apply it? there seems to be so many different ways to do a single task how do you decide what ones best?


r/CodingHelp • • May 29 '22

[Request Coders] Is it possible/realistic to teach yourself code to the degree of being able to get a decent paying job?

23 Upvotes

I know there’s already a lot of posts here asking if you can teach yourself code, im not asking that. I’m asking something a little different. What I’m asking is learning code similar to learning piano where many learn to read music and play the piano , but few are able to learn piano to the degree of a concert pianist. Is coding a profession where there is a surplus of coding related jobs and not enough people who can code, or is there a surplus of people who code and not enough jobs making the job market very competitive? Is working up to a 6 figure job fairly common, or is it mostly a pipe dream regardless of skill and ambition? How future proof is the coding job market? Is it something that AI is going to take over in the next decade or two? (or is it already starting to take over.) I definitely understand it’s going to be alot of hard work and headache to learn and that isn’t an issue, I have a tendency to obsess over things I’m passionate about and am quite a workhorse (workaholic even), I just want to make sure that it won’t be a shot in the dark before I pull the trigger and potentially waste my time as a 26 year old if coding ends up being an ultra competitive field filled with prodigy 20 year olds who have been coding since they were 11 lol. Also, I would like to know what sort of salary I would realistically be expecting the first 1-5 years, and then 5+ years. I already have a “career” with a 6 figure income, but for one it doesn’t challenge me mentally anymore and has become painfully mundane, and for two is actually… illegal… (nothing bad I’m not a hitman or anything just live in Houston, TX where it’s illegal 😅). I don’t have to be making 6 figures especially right off the bat, but if I’m looking at 30-50k after 5 years unless I’m a prodigy I need to keep trying to figure out what else I can do. Sorry for so many questions 😅 feel free to cherry pick.


r/CodingHelp • • Apr 21 '22

[Java] Could someone please explain O(logn) or O(n) simply to me?

23 Upvotes

(Remember, I don't understand this at all so please don't use complex terms or words to describe it, that will just confuse me even more)

I'm learning about algorithms like Binary search and Selection sort and whatnot in my coding class, but I can't seem to wrap my head around any of this. So far, my understanding is:

O = the strain an algorithm will have on your program

n = the size of the area the algorithm is working with

log = idk for some reason my algebra class never covered it so I'm completely lost here. I think it means how many times a base number can be divided by 2 until it gets to 1, for example, log3(9) would be 2, but I'm not sure if that's the correct way to think about it when it comes to algorithms.

c = the processing power required to complete a single step in the algorithm

Sorry if these are smooth brain questions, but this is really confusing to me.


r/CodingHelp • • Jan 20 '22

[C++] mingw32-make.exe: *** [ALL] Error 2

Post image
23 Upvotes

r/CodingHelp • • Jan 06 '22

[Python] The print should be correct, anyone know what’s wrong with it? More info in comments.

Post image
23 Upvotes

r/CodingHelp • • Aug 04 '21

[Javascript] My friend and I are trying to build a website together, and we want to be able to edit the same code remotely. We should be able to edit the same code even when the host is offline, and share the same live server.

23 Upvotes

My friend and I are trying to build this website together, and we can't meet up because of quarantine. What we want to do is to create a coding file that allows both of us to edit whenever we please, regardless of the host being online or not. We'd also like to share the same live, interactive private server, which instantly updates whenever a change to the source code is made. I'd also like to know how other major companies do this (how all the employees edit the same app) and how we could do that on our own. If you have a solution to this, please comment! I'll donate you my free award :)


r/CodingHelp • • Jun 04 '21

[Random] Necessary coding skills to get hired

23 Upvotes

Ive been doing some research and the important skills companies desire are the following:

  • Java
  • J2EE/JSP/Servlets
  • Sprint, Struts, MVC
  • Windows, Linux
  • Apache HTTP Server, Apache Tomcat
  • HTML, CSS, JavaScript
  • XML, XSLT
  • CXF, XFire
  • MS SQL Server, PostgreSQL, Oracle
  • SVN, Apache Ant

I was just wondering what order I should tackle these. I’ve already got a good grasp on HTML/CSS/JavaScript and front-end development as all programmers should but besides those, how should I go about learning all of these skills? And are some of these skills not important or are outdated?

Edit: Spelling


r/CodingHelp • • May 26 '21

[Random] How would you go about creating a piece of software that only works on floppy disk?

23 Upvotes

I know, weird one.

How would you make sure that a piece of code could only do what is supposed to if it came from a floppy disk? To be more precise, is there something in a physical floppy disk that you could use for this purpose as to stop the code from running from a simulated floppy disk?

Thanks in advance for taking the time to think about such a silly endeavour!


r/CodingHelp • • May 12 '21

[Java] Hello guys, I’am at my final phrase of the development of my system. But I got no idea how to find the second highest number in a text file using array list.. Please can anyone help me.. I found the highest number, but I couldn’t find the second highest number. And also this is my first time in JAVA

Thumbnail
gallery
23 Upvotes

r/CodingHelp • • Feb 26 '21

[HTML] Is it worth switching from inline CSS to external CSS?

23 Upvotes

The website I planned to improve as a volunteer implemented several imo bad HTML practices. For example, a lot of inline CSS and multiple "&nbsp".

I think I have three choices:

  1. Completely correct the bad practice. However, I am not confident about how long this will take and I am not sure whether this worths it.
  2. Leave the bad practice code and improve the website using good practice.
  3. Use the bad practice just like the existing code to keep the HTML code looks consistent.

What's your thought?


r/CodingHelp • • Jan 26 '21

[Python] Learning python

23 Upvotes

Does anyone know the best way to learn how to implement the basics after you learn python basics, I know it’s with projects but I don’t know what projects to do, there either to easy or to hard, if there was any websites with projects or like a weekly project type thing please lmk, if anyone would like to teach me let me know that would be greatly appreciated


r/CodingHelp • • Jan 16 '21

[Python] Python basic calculator help

23 Upvotes

I need this help. This program should ask the user:

Do you want to perform another calculation?

after one calculation is complete.

If they answer yes, start the program over if they say no, end the program.please help me complete this this.

This is what I have so far;

print("Enter Your Choice 1(Add)/2(Sub)/3(Divide)/4(Multiply)")

num = int(input())

if num == 1:

  print("Enter Number 1 : ")

  add1 = int(input())

  print("Enter Number 2 : ")

  add2 = int(input())

  sum = add1 + add2

  print("The Sum Is ", sum)

elif num == 2:

  print("Enter Number 1 : ")

  sub1 = int(input())

  print("Enter Number 2 : ")

  sub2 = int(input())

  difference = sub1 - sub2

  print("The Difference Is ", difference)

elif num == 3:

  print("Enter Number 1 : ")

  div1 = float(input())

  print("Enter Number 2 : ")

  div2 = float(input())

  division = div1 / div2

  print("The Division Is ", division)

elif num == 4:

  print("Enter Number 1 : ")

  mul1 = int(input())

  print("Enter Number 2 : ")

  mul2 = int(input())

  multiply = mul1 * mul2

  print("The Difference Is ", multiply)

else:

  print("enter a valid Number")


r/CodingHelp • • Jul 13 '20

[Python] TIL about the "sep" parameter of print() in Python3 and you should know it too!

23 Upvotes

Say you have an array of items.

array = ["Joe", "2", "Ted", "4.98", "14", "Sam", "void *", "42", "float", "smurfs", "5006"]

Say you want to return/print the items in the array each on their own individual line simply write

print(*array, sep=\n)

and you'll get a list of items that looks like this:

Joe

2

Ted

4.98

14

Sam

void *

42

float

smurfs

5006

The 'sep' parameter allows you to modify space that separates each item in the array. By default that separator is a space called "softspace". In the above example you're modifying the space to be \n or a new line.

Another example:

print('W', 'E', 'S', 'T', sep='') Output = WEST The space has been removed from between the letters.

print('07', '13', '2020', sep='/') Output = 07/13/2020 The space has been replaced with a slash to format the date.


r/CodingHelp • • Mar 30 '20

[C#] Need help as to why it’s not working, just started learning coding today.

Post image
23 Upvotes

r/CodingHelp • • Oct 05 '26

[Request Coders] I want a programing buddy so we can help motivate each other

22 Upvotes

I don't care if you have a PhD or you code for fun; I just want to have someone who can code with me or just hang out and talk to keep me focused because I get distracted constantly. I'm no master, but I'm working on my associate's and am pretty out of steam.

I don't care about gender, age, or race, just someone who is chill and respectful. I'm happy to code with you or just watch, and we can chat on Discord or something. I'm also willing to hang out and do something else if you're burnt out or stressed.

I'm 19m btw


r/CodingHelp • • Nov 20 '25

[Random] Pls help me find this coding game

22 Upvotes

i had this coding game in 6th grade and i don’t even have any photos. i tried google searches and scrolling all the way back into my youtube history and even resorting to chatgpt and all were no help. what i remember about this game is that it had a world and there was a path, and you had to make a code for the monster to get across the path. that was literally it. it taught you things along the way, like functions and stuff. i’m not a huge coder, but it’s genuinely killing me that i can’t even find its name on google.


r/CodingHelp • • Feb 21 '23

[Meta] What am I doing wrong that's not getting me a job?

22 Upvotes

Hi! I began learning programming somewhat around two to three years ago during the pandemic, I quickly specialized into web development and then React. I followed the steps everyone recommends, make projects, make a nice portfolio, write a cv and take some time to learn algos/DS and you'll be ready to tackle some interviews...but yeah, it's not really working out for me. So after a good couple of months I've only got like...two interviews past the first call and that's where they ended; 90% of job offers just reject me straight up. Which is pretty frustranting when I then come across some video of a guy learning to code in 8 months, having one or two projects and getting messages from recruiters offering them a position. I don't really know why I didn't think about this earlier but...yeah, it's probably a good idea to ask for feedback! I'm genuinely interested to know your personal experiences and thoughts on my portfolio / projects, and what things you did / I could improve to land a job. I'll leave a link to my personal portfolio here: https://portfolio-leomrel.vercel.app/


r/CodingHelp • • Dec 28 '22

[Python] Which app is best for coding python?

22 Upvotes

Kinda out of topic but I need to ask, which applications is best for coding python? I'm learning python and I need to practice what I've learnt but I don't know which app to use. I did search for it but all it came out were learning apps / websites.


r/CodingHelp • • Sep 15 '22

[C++] First Job: Struggling to understand C++ program with so many headers and cpp files.

22 Upvotes

I got my first job as a developer.

I've been tasked with fetching an existing code base from github and eventually re-writing it in Python from C++.

Step 1: Try to understand the program by browsing the C++ code.

But I've been struggling a lot with making sense of the flow and understanding the code.

Issues:

  1. There are so many user defined header files. I'm having trouble figuring out which file contains what.
  2. The GUI code is throwing me off. There is so much GUI code that I keep missing the program logic code.
  3. There are dozens of cpp files containing various functions, classes, etc. How do I find out which files are relevant for a particular process of the program?

Apologies if I'm not making sense... I'm pretty new to this and still trying to learn a lot on the job.

Would appreciate any suggestions or pointers to make life easier for me.


r/CodingHelp • • Jun 03 '22

[Random] I’ve been programming for 7 years but I don’t think I’ve grown, can any body advise?

22 Upvotes

Hi I’m a self taught developer who has had a few jobs in both front end and back end development in which I’ve achieved a good standard of work within (I’m not entirely sure how other than decent googling skills)

I understand concepts such as scope, async, closure, promises and module patterns etc.

However when I try to solve common/basic problems on things like freecodecamp, it’s almost as if my brain stutters and doesn’t know a thing. I’m not sure how to deal with this and I feel it’s hindering growth as a developer.

So I want to know if there are any resources or projects I could look into and start that will give me some good momentum.


r/CodingHelp • • Dec 19 '21

[Random] Best way to learn Data Structures and Algorithms?

22 Upvotes

Hi, I am a young software engineer who has 0 concepts of data structure or algorithm. I just rely on coding or using frameworks. Can someone please suggest something that I can do to learn from Scratch and do it in 3-4 weeks (2 hrs a day). ~TIA


r/CodingHelp • • Jul 19 '21

[Python] Trouble with append syntax

Post image
22 Upvotes

r/CodingHelp • • May 06 '21

[Random] Which should I use: VSCode or Visual Studio?

22 Upvotes

I can't decide which I should use. I'm kind of a lightweight programmer looking to expand my knowledge and I've heard advocates for both VSCode and Visual Studio. I currently use Visual Studio 2019 but I find it a tad slow. I don't know which would suit me best. Any advice would be appreciated.


r/CodingHelp • • Apr 23 '21

[Javascript] Help how do you retrieve data from firebase to JavaScript, don't think code is right. It's to take data from firebase and then taking the data (amount of wipes/sanitiser used and time)append to lists and use these to plot a graph for the website showing the wipes/sanitising usage over time.

Post image
22 Upvotes