Across this vast Fediverse, I have encountered a trend of people answering questions with esoteric programming language speaking in tongues that I don’t understand, including under my own posts. I am a Boomer when it comes to coding and I am only 27. I don’t even know where I would start to learn it because programming is so diverse. I want to feel like I know what’s going on but I don’t. Coding is the future and the future is now and I am lagging severely behind. I guess I’m asking where a bumbling novice like me can learn more about where to start when it comes to programming.

    • beigeoat@lemmy.zip
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      You don’t understand, if she wasn’t my sibling, it may as well have resulted in a fight.

      This code was for a company, not a I’m learning and am just a beginner kind of thing. Let me share a few details about the code:

      The program involved reading a csv file and doing some operations from the data it provided. It was a python program in a jupyter notebook (this is very relevant).

      • She had to create an array of the column names of the table. Her “solution” was to first print the table, then copy paste the column names into an array. When I told her to fix i pointing out the incredibly basic reasons for why not to do that, she refused. Also the table had like 10-15 columns.
      • She was using pandas dataframes, even having a variable called df in her code, also using the functions it provided. Now it will come as a surprise to you, as it came to me she doesn’t know what a dataframe is.
      • The reason she showed me her code was because she was getting an error which she didn’t know how to solve. The issue was that the array of column names she created and the column names in the table didn’t match. This was because when she printed the table the column names were missing _ which were present in the CSV file. One of the reasons for not not doing the first point. When told of the issue she added the _ manually. She will die on that hill.
      • So in jupyter notebooks you have cells in which you add a small slice of code and you run the cell. This is really amazing. Small issue though if you close the notebook and open it again you need to rerun the cells in the correct sequence again, barely an inconvenience . To overcome this great issue, my sister just didn’t do something stupid like having all her code in one cell, she was one step ahead, she had all the things she needed per cell copy-pasted. That God forsaken array of column names? You guessed it there were atleast 10 of them.

      Now if she was just starting out, these could probably be forgiven, but she has been “coding” for atleast a few years now. Also she refuses to learn her mistakes.

      Another interesting thing I noticed was, if she didn’t know something she would not search Google but rather YouTube. I originally thought she pasted some of the code from stackoverflow which has error, but no she looked at a YouTube video copied the code by hand and that code still resulted in an error because char and int are different, she doesn’t understand why it works in the video (same type), and why it doesn’t work for her.I am clearly still in a shock about the whole situation and to think someone would hire her only if it is for an internship still, I pray for the world.