I keep thinking everything I've coded could be done better ... How can I write a more effective and elegant code?

0 votes
I'm working on Java for 3 years but still keep thinking everything I've coded could be done better, faster, or in fewer lines. With the code I write right now, I don’t really feel like a professional developer. How can I write a more effective and elegant code? Has anyone felt the same as me? How did you overcome it?
Sep 6 in Career Counselling by ruchita
29 views

4 answers to this question.

0 votes
Ruchita,

Feeling ashamed or down on your work can motivate you to write better efficient code. This thought comes to mind of every coder or programmer in their work at least once. This thought makes your subconscious mind knows you can aim higher than where you are right now. This means you want to improve and become better for what you do. So don't let yourself down and compare with others at a higher rank than you. You just might currently lack the skills but you can make it happen one day by practicing and working hard. There are various means to improve your potential other than work by taking part in competitions or hackathons would enrich your knowledge and skills.

Hope it helps!
answered Sep 9 by prajwal
0 votes
A wonderful code resembles a delightful poem.The more clear your considerations and comprehension of the ideas are ,the all the more hypnotizing and engaging your code would be.

Along these lines,

1.Have a solid algorithmic base.

2.Enhance your thought on information structure

3.Always attempt to archive your code ie. leave spaces,new lines,make utilization of comments,and in particular - utilize significant variable and capacity names.

Consider it 'In the event that you were senior programming engineer at some enormous company,how would you need an assistant/your colleague present a code to you"...you would obviously need him/her to compose flawless and much straightforward codes.

Finally, just remember that that the manner in which you code reflects your reasoning so be certain with all that you do.
answered Sep 9 by Sirajul
• 30,540 points
0 votes
A lot of developers have this doubt. But you need to know, nobody is perfect. I personally feel the perfect and the most efficient code does not exist. But everybody gets better with experience. Try to make your code as efficient as possible and with time and experience you will be a pro.
answered Sep 9 by Bhagya
0 votes
There is always a chance to improve the quality of code you write. And your willingness to do so shows what we call it a "Growth Mindset". To start with you can try to understanding various coding standards (every programming language has set rules to follow to write efficient and systematic code).

But before this, you need to understand what are the parameters that makes a code efficient. Few such attributes are reusability, scalability and optimization. Few of the basic things that most of engineers do not concentrate much but is really important to make you a proficient programmer are Basic OOPS concepts, Understanding Frameworks and learning Algorithms.
answered Sep 10 by David

Related Questions In Career Counselling

0 votes
2 answers

Can I ask my boss why my teammate got a higher salary and I didn't?

Well saying so would give you a ...READ MORE

answered Jul 12 in Career Counselling by anonymous
• 28,040 points
45 views
0 votes
1 answer

How can I start learning Node.js and its related components?

Node.js is an open source server environment ...READ MORE

answered Jun 6 in Career Counselling by ArchanaNagur
• 2,270 points
44 views
0 votes
2 answers
0 votes
2 answers

How can I start my career as a data analyst as a fresher?

Data analysts examine data utilizing different data ...READ MORE

answered Sep 10 in Career Counselling by Sirajul
• 30,540 points
32 views
0 votes
3 answers

Switching the third comapny in 4years

Hey, Actually the whole depends on you , ...READ MORE

answered Apr 4 in Career Counselling by sumit
79 views
+1 vote
4 answers

Opting for Masters

Since you have acquired some work experience ...READ MORE

answered 4 days ago in Career Counselling by Saurabh
• 160 points
53 views
0 votes
2 answers

Is pursuing MBA better than GATE or GRE?

Opting MBA - better for marketing, business ...READ MORE

answered Apr 5 in Career Counselling by Anitha
49 views
0 votes
2 answers
0 votes
2 answers