+ 25
How to write a good code?
29 Respuestas
+ 20
Arjay Orante Actually it is totally difficult to think how shall we code😂. You know it is always happen to me. Then I find some practice names in google then I'm starting coding. So, don't be lazy to code . If you can't think which things to code,just find some projects in google but don't copy paste them. Code in your own.☺
+ 12
Practise Practise and Practise because remember your first code is totally different from your 100 th code so try as much mistakes you can do and improve slowly slowly....
+ 10
As Aaron said, practicing is the best way to write better code. Concerning the reference to reading experienced programmers' products, you can find quality code in popular github repositories
+ 9
Arjay Orante I recommend you to use the search bar before posting a question to avoid duplicate copies.
Here's your answer :
https://www.sololearn.com/discuss/1856110/?ref=app
+ 8
Coding is really learning by doing. So I'd recommend you to start coding your own small projects. Also it can be helpful to look at how more experienced programmers solved a certain problem in their codes.
+ 7
Start from little, and try to get the concept for building your coding skills. Practice is the key to good coding.
+ 7
the only way out is to become the code it self.relate it to your inner conscouceness(put in your all in learning) that's when your code becomes unique and beutiful.
+ 7
By gaining experience (not necessarily xp) writing code.
+ 7
Um.. I guess applying whatever you are learning, as much as you can 😊
+ 6
Write, and then write again. And study open source solutions.
+ 6
Your question should be " how to write clean code"
+ 5
if it were a bad code, no body would use it, would they?
+ 5
Nice question
I want to say
If you want to write a good code
So you have to learn languages with focus
And then apply it
To make a code
And practice is the best way to improve yourself
+ 4
First you need to learn the basics of coding.
Try coding something (i recommend you start little)
If you fail, find the source of your mistake (source.error)
Try coding something similar (this will help you navigate through your earlier mistake)
They you can take on tougher challenges.
Remember to stick to a routine of constant practice and always ask questions.
+ 4
Master one programming language and be perfect 👌 and when you are coding make sure you make no mistakes.
And if u dont understand anything go to a brother for him or her to teach you
Like my comment
+ 4
Only Practice more more
+ 3
"Think twice code once". Coding is not only about logic but how to implement that logic with minimum process and memory. Reuse of resources make it small as possible. Comments are beneficial for understanding the flow.
+ 3
Arjay Orante Here's how YOU can start writing clean code.
★Use Descriptive Names. What are variables, classes, and functions? ...
★Give Each Class/Function One Purpose. ...
★Delete Unnecessary Code. ...
★Readability > Cleverness. ...
★Keep a Consistent Coding Style. ...
★Choose the Right Architecture. ...
★Master the Language's Idioms. ...
★Study the Code of Masters......
https://www.makeuseof.com/tag/10-tips-writing-cleaner-better-code/
+ 2
Code should be readable ,reusable and accurate.
+ 2
You need to have much practice to write a code.