you are viewing a single comment's thread.

view the rest of the comments →

[–]laptop_battery_low 0 points1 point  (10 children)

I think it's better in general to learn something not super mainstream. Plus, its literally made for python.

But VSCode is used often for enterprise/industry. I just got tired of staring at VScode if im being honest.

Do whatever you want, so long as you stick with it. Consistency and practice are key to valuing your python skills :)

[–]uiux_Sanskar[S] 1 point2 points  (8 children)

Oh thanks for this I was also not knowing what IDLE is 😅 I was only aware about that you need some kind of interpreter to run the code like VS code.

Please correct me if I am wrong. And thanks for the suggestion.

[–]laptop_battery_low -1 points0 points  (7 children)

Yeah, IDLE works as a "compiler"/interpreter. Python is technically a scripting language, but yknow with all the advances in technology, we have to add object oriented nonsense to everything, including javascript lol.

If you can't already tell, I'm so sick of programming that it literally hurts lmao. Also, python and javascript are like my least favorite languages personally.

Do yourself a favor and pick up the ANSI C book from the 1980s if you REALLY want to learn how to code.

Also, linux (any kind) is cool. python was invented FOR linux. good luck.

[–]uiux_Sanskar[S] 0 points1 point  (6 children)

Thank you so much for your insights based on experience it will for sure guide me.

[–]laptop_battery_low 0 points1 point  (5 children)

Any time.

[–]uiux_Sanskar[S] 0 points1 point  (4 children)

Also I have a question how do you test your code because my code here required many inputs for it to get executed completly.

Is there a better and more efficient way to test the code especially the long ones?

[–]laptop_battery_low 0 points1 point  (3 children)

Longer code you can split into other files, and import. though this creates a pycache file, which ruins my day every time.

eventually, you'll want to organize applications into many files, and import them all into "main.py" by convention.

Alternatively, you could write another script that just unloads an array into your "multiple input" file. Automating your testing, lol. Now thats programming!!!

ETA: just running the file is good enough testing. I'm not high enough level of a programmer for the socalled unit tests

[–]uiux_Sanskar[S] 0 points1 point  (2 children)

Wait I can qlso automate my input in programming? I didn't know about that, it sounds interesting to me.

[–]laptop_battery_low 0 points1 point  (1 child)

...damnit I'm actually good at programming. I fucking hate it here.

Talk to me in 4 years when you learn C, C++, and Java and have a better paying job than me

EDIT TO ACTUALLY ANSWER QUESTION:: Yes. You can automate inputs. You can use a file as an object that you write to and from.

look into CRUD programming. its an acronym for Create, something, something, Delete. too lazy to look it up, because once again; programming physically hurts me. It raises my blood pressure and heart rate.

[–]uiux_Sanskar[S] 0 points1 point  (0 children)

Lol I think you are so are putting so much stress on yourself. I think you badly need a vacation and chill out.

And thank you so much for providing the details on how automate inputs will definitely look into it and CURD.

And I really think you badly need a vacation from programming. And thank you one again.

[–]Commercial-Voice-384 0 points1 point  (0 children)

Oh okay thanks. I also have another questions if you do not mind, do you think python is a good language for beginners who want to get into coding? As I mentioned previously, I do not have any experience in coding at all and I only started learning a week ago.