But without spaghetti code how do I maintain job security?
@yakuzaclan5704
23 күн бұрын
So basically: The cause of making developers do spaghetti code is because of the department given y'all a short time requirement deadline? But I believe, if a Knight can't hold his sword, he can't be called a knight. The same applies to the coders, if they can't code properly, they have no rights to call themselves as developers or even IT professional coders. Am I correct?
@Mark-D-Inman
22 күн бұрын
I like the analogy so let's go with it. Any task in life becomes more difficult the shorter the timeline. The knight who needs to slay the dragon by tomorrow is likely to get devoured. Compared to the knight who has a year to prepare for his battle with the dragon. Same applies to coders - taking on ridiculous deadlines leads to dragons and lots of burn.
@thomasmoores3512
18 күн бұрын
How? Have you ever heard about unit tests?
@InforSpirit
6 ай бұрын
I would argue OOP spaghetti comes from small methods and with too complex polymorphism structures and violations. If method is not interface and include lesser than ten lines of code, most likely it should not be a method and just live on somewhere else. Bunny hopping small methods is way worse experience than to read big method ( Only reason to read old code is to trace bug or generally to understand it.) You can't really trust what interface name says and now you need use mental gymnastic to stitch method train together and then evaluate validity... It is just wild rabbit chase.
@Mark-D-Inman
6 ай бұрын
In my experience, this is only true on smaller projects. For maintaining a decent size project, small methods (as long as they are named truthfully and meaningfully) that do a single thing, are the way and light.
@InforSpirit
6 ай бұрын
@@Mark-D-InmanThis is problem of with simple rules. If someone says make your method shorter, then you have more inner methods. Danger of this is temptentation to use those methods: A calls B and C. B calls 3 methods, C calls D which calls X Third party reader has now 9 methods to figure out the function of one method. This is what i call bunny hopping. Maybe closer to true statement is: 'Make small methods that don't call other methods. And if your language support pure functions, consider using pure functions'
@lokeshkumar-wj5rp
6 ай бұрын
Hi bro.. I am a beginner coder. Just started with java. But I am worried if it's worth learning java.. Or coding in general.. Will there be jobs in the future for java developers.. Bcs many people are saying it will be replaced by AI
@Mark-D-Inman
6 ай бұрын
I doubt very much that coders will be made redundant by AI. There's just too much of the world that runs on code. I think the way we code will just change. Human coders will just make use of AI to speed up the coding process.
@lokeshkumar-wj5rp
6 ай бұрын
@@Mark-D-Inmanokay, got it.. Thank you
@JohnSmith-cn4cw
6 ай бұрын
@@lokeshkumar-wj5rp To add to what has already been said, coding is a tool in your toolbox, its another bullet point on your resume. There will be jobs for java developers, but there will also be a broader spectrum of jobs where it could come down to "Hey this guy not only knows XYZ, but also knows java". Having another skill to present to potential employers will never be a bad idea. So yes, its worth learning. To this day, people still hire FORTRAN and COBOL developers.
@lokeshkumar-wj5rp
6 ай бұрын
@@JohnSmith-cn4cwthank you
@tygooch
6 ай бұрын
Don’t learn to code for a money job thing. If you don’t enjoy it don’t do it. If you enjoy it do it. If you wanna get rich, converting to Judaism seems to be the most popular option as long as you’re willing to lose a member
Пікірлер: 13