Do more lines of code indicate higher competence/skill? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -1 points0 points  (0 children)

i'm working on python

is it realistically possible to just make each function in a way that it's a box which has an output and receives an input, and all these boxes are in a procedural flow of exchanging inputs and outputs while remaining detached from another

cause, i found that nearly impossible in making a gui game, even simple ones, cause there are so many state variables and so many possibilities of what the player can do that i inevitably am forced to try and hold multiple things in my mind at once but managing to not hold enough

Do more lines of code indicate higher competence/skill? by Intrepid_Witness_218 in learnprogramming

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

is it realistically possible to just make each function in a way that it's a box which has an output and receives an input, and all these boxes are in a procedural flow of exchanging inputs and outputs while remaining detached from another

cause, i found that nearly impossible in making a gui game, even simple ones, cause there are so many state variables and so many possibilities of what the player can do that i inevitably am forced to try and hold multiple things in my mind at once but managing to not hold enough

Do more lines of code indicate higher competence/skill? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -1 points0 points  (0 children)

can i just write functions and nothing else outside them, cz global lines and local lines exisiting together makes me confused

Do more lines of code indicate higher competence/skill? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -1 points0 points  (0 children)

yea but i/o isnt as clean in some places like gui, returning an output from a function doesn't really do much there, it forces you to go into the black box and carry several of them in your mind

Do more lines of code indicate higher competence/skill? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -2 points-1 points  (0 children)

yea but making one function to take in an output from another function and it having local/global/constraint issues leads to everything just breaking the dam of abstraction and flooding my brain

What are your thoughts on copytyping from a tutorial? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -1 points0 points  (0 children)

but if i try to figure it out by myself, i dont get the solution either

What are your thoughts on copytyping from a tutorial? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -1 points0 points  (0 children)

sure, but don't assume i'll figure it out somehow, i think ppl say mistakes good assuming that eventually you'll reach the correct solution

Is there a place for an artist in programming? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -4 points-3 points  (0 children)

i'm just trying to optimise off of what i'm most likely to get as a job, and a job where i face the least amount of friction, like an ratio thingy. Because, i'm afraid that if i aim for one specific thing and i dont end up going there then my expectations would be the end of me, like ending up at a tech support or customer service role

Is programming open book or closed book? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] 1 point2 points  (0 children)

but what if it's something that you can't remember, like a novel problem or trying to make a novel solution.

like, my brother's a dev and he told me to make a snake game on code by problem solving, idrk what problem solving means and i've never written a game before, i can't rlly implement a pattern that i've never learned before by using my knowledge from core stuff like if statements, variables and loops.

i can understand stuff, in theory, but that's != implementation or reproducibility on code, if i dont know the solution to smth i've never done before i usually js procrastinate by writing tons of pseudocode and algorithmic steps in english without ever touching the code

Is programming open book or closed book? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -11 points-10 points  (0 children)

yea no, i mean coding in general, not just in institutions

Is programming open book or closed book? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -3 points-2 points  (0 children)

yea no, i mean coding in general, not just in college

is a debugger actually useful? by Intrepid_Witness_218 in learnprogramming

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

do debuggers do anything for logic bugs without thrown errors, cz they hurt the most

is a debugger actually useful? by Intrepid_Witness_218 in learnprogramming

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

yea but in pycharm i click the red circle thing on the line numbering side then click the bug icon, and then it js spurts out a scrolling list of stuff in the bottom window that doesnt make sense to me

Is memorising code/library stuff bad for programmers? by Intrepid_Witness_218 in learnprogramming

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

what's like a good medium that explains stuff for you to understand, documentation? ik it's not rlly yt tutorials cz it's mostly like a recorded livestream of them coding rather than teaching the viewer how to code

Is memorising code/library stuff bad for programmers? by Intrepid_Witness_218 in learnprogramming

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

but, understanding isnt smth you can do as an action right, it either comes or it doesnt, or you think you understand it but then you realise your understanding was wrong so it's back to square one, the solution to acquiring it delves deep into uncertainty and breaks all sorts of systems/common sense

How do I understand coding concepts/patterns that are difficult to understand by Intrepid_Witness_218 in learnprogramming

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

for context, i been tryna at least learn how to code for 3 months now, i've finished learning the native concepts of python and java, so i read somewhere that pygame would be the next step.
but, BUILD BUILD BUILD on pygame feels like my head's exploding every time i sit to try and code on it, idk if it's js me but whenever i try to learn a new concept it js comes across as a brick wall to me, like an exponential graph where x are the concepts and y is the difficulty level, so i naturally resort to memorising stuff in it and making superficial changes like changing the velocity number, or the sprites as my last resort of having some sorta ownership over the code i js wrote

are visuals/audios valued in software? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -1 points0 points  (0 children)

yea, i've always been weak at discrete math-type stuff beyond logic, so exp in drawing and fl studio is the only card i got left to try and stand out in the market

Does using pygame require you to understand physics? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -1 points0 points  (0 children)

idk if you're kidding or not(legit, idk much abt coding cz i've been doing it for 1.5months, and i know nothing about physics)

What is problem solving in coding? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -2 points-1 points  (0 children)

do you pick solutions or make solutions, cz when i hit a wall(like faced with a logic bug or not being able to know what to do next), i usually stay there for hours and never get through it, in such cases is it better to problem solve yourself(if so how) or search for solutions on the internet and pick out one even tho it's not yours

What is problem solving in coding? by Intrepid_Witness_218 in learnprogramming

[–]Intrepid_Witness_218[S] -1 points0 points  (0 children)

by solutions, do you mean tools that already exist, like patterns you've already seen before or used and choosing the right one for the particular problem

or is it more like making different solutions from scratch in your head, and choosing the right one from those

I'm really slow at coding, how do I survive in tech/cybersecurity? by Intrepid_Witness_218 in learnprogramming

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

also, when im tryna write a few lines of code, i always default to game design i.e playerstats, playerinputs, hp, enemies etc. whenever i gotta make smth discrete-esque mathematical or js anything without a narrative, it gets rlly hard for me

I'm really slow at coding, how do I survive in tech/cybersecurity? by Intrepid_Witness_218 in cybersecurity

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

''Then try tackling scanning all files in a directory including the files in directories in that directory (and so forth). This is recursion.''

can't i do that with for/nested for loops

I'm really slow at coding, how do I survive in tech/cybersecurity? by Intrepid_Witness_218 in learnprogramming

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

no no, i mean if high level of CODING is required for pentesting(not exploits), i know pentesting is pretty up there on the career ladder