+ 116

When do you actually start writing your own code?

I go through all the material and do small projects, but when I want to make my own stuff I freeze at the blank screen and don't know where to begin.

27th Feb 2017, 5:46 AM
Taylor
Taylor - avatar
136 Antworten
+ 153
When trying to code a full-scale project, code little pieces at a time. How to never finish a project is getting bogged down trying to focus on every little detail. Get the structure down first! For example, you are making a dungeon exploration game. You don't want to focus on a sword with enchantmants, graphics, stats, whatever... you want to create a simple damage and durability stat, and then move on. Come back to it later. This gives a greater sense of achievement than making a simple poison enchantment!
28th Feb 2017, 4:02 PM
Lelearner
+ 86
programming is not about learning syntax it's about solving problems. Try to make something which is useful for you or something to pass time.
1st Mar 2017, 3:31 PM
shobhit
shobhit - avatar
+ 62
Hello precious ones, i greet you all my fellow brothers in code. Have you ever asked yourself why we have architects and builders? building a software is not about your programming skills but your software design and development skills. Always remember the "think before you act or plan before you execute" statement. So design your software, thus the features, libraries and others, select a language that is perfect for the particular project and I promise you that when u sit in front of your computer to code you will have a blueprint of something to code, build or develop. I hope this has being informative. thank you all
28th Feb 2017, 8:04 PM
Alex A. Adusei
Alex A. Adusei - avatar
+ 34
3 years ago ... even though I can code in PHP, JavaScript, I felt that I've missed some points, so I decided to start again from the scratch with HTML5. and now i feel that i can code more easily
1st Mar 2017, 12:09 PM
Ilyes
Ilyes - avatar
+ 27
Begin by writing an algorithm , that is the step that will be executed by your program : For Example : //Adding two numbers. 1. Add the two numbers. 2. Display the result. Then you write it in pseudocode : //Adding two numbers. 1. Set x to 26 2. Set y to 18 3. Set sum to x + y 4. Output sum. Finally you write it in code : //Adding two numbers #include <iostream> using namespace std ; int main () { int x ; int y ; int sum ; x = 26 ; y = 18 ; sum = 26 + 18 ; cout << sum ; return 0 ; }
2nd Mar 2017, 9:28 AM
handerson scott
handerson scott - avatar
+ 22
These days it is very easy to find code online which you simply copy and paste. This is tempting to beginning coders, but you should refrain from it and instead force yourself to do some thinking. It is OK to look up the syntax; the point is to piece the code together on your own. Do this enough, and you will be coding with your eyes closed! Pick areas you would like to master and get to work...for the fun of it. For example, if you want to learn how to process HTML form input, create a page with just a few input controls and get something working. You could then expand the app by adding more controls. This is the iterative process: getting a prototype from which to grow and refine your app. Finally, when you're happy with your app, refactor the code. Meaning rearrange your code: create methods to create reusable blocks, improve the flow for readability, etc. Yes, writing code can be challenging, but when you get something working it is very satisfying...so worth it!
2nd Mar 2017, 12:59 AM
Jose Marte
Jose Marte - avatar
+ 18
Well every complex operating system is a combination of smaller and simpler units that work together. So my opinion and practice once u decide to be a coder you should be already writing your own code. Any complex project u will ever do will just be those small hello and starter codes upgraded and put together
2nd Mar 2017, 4:31 PM
Zemuldo
Zemuldo - avatar
+ 18
First learn & then begin to code. In the beginning, I was also facing difficulty in simple HTML & CSS but now both are easy for me. This is because I believe in my self. Also i would like to say that if you are stuck on somewhere, try to analyse your mistake & correct your error. Don't give up. Remember that coding is just not about 'mugging up' the syntax. "One should learn programming as it teaches one how to think." - Steve Jobs
3rd Mar 2017, 6:21 PM
Biraj Patel
+ 15
When I did something stupid in real life and I want to recycle that stupidity to become a masterpiece😂
3rd Mar 2017, 1:00 AM
MrCoder
MrCoder - avatar
+ 15
Truly speaking, I wrote my first program when I was 13 years old. Now, I write many because I've got Sololearn. Sololearn provided a lot of help to me. Yes, truly I love Sololearn.
3rd Mar 2017, 3:10 PM
Dev
Dev - avatar
+ 14
this is my first code i started from https://code.sololearn.com/WkY54n8HFf52/?ref=app
9th May 2017, 6:59 PM
MAHENDAR SONI
MAHENDAR SONI - avatar
+ 13
I do it sorta like a human body, I start with the bones, then I move to the muscles, tendons, organs, then I top it off with all the minor details, then you gotta take care of it and watch it grow... Always remember you can always come back to it, you can always find help on sololearn...
1st Mar 2017, 10:42 AM
Cory Gutierrez🔹
Cory Gutierrez🔹 - avatar
+ 13
As a suggestion for if you're going blank: try looking at really old retro games such as pong and pacman. Because they're simplistic and old I feel it tends to give your mind new ideas on how you would like to see it today, or how you could apply the same concepts to new things. 1. Think about something you want to experience as a user 2. Pseudo code: When the ball hits the edge it explodes 3. Look up codes to help achieve pseudo code 4. Go with the step by step flow Other than that everyone else has probably already said good or better advice! Hope this helps
2nd Mar 2017, 7:48 AM
Ashley Rusli
Ashley Rusli - avatar
+ 12
It is important how you start. If you start writing first line of programming ,you can write a lot of code.
4th Mar 2017, 5:38 AM
Nima J.
Nima J. - avatar
+ 11
Coding is like playing a puzzle So keep coding keep experimenting.
1st Mar 2017, 7:32 PM
Ashutosh Saraf
Ashutosh Saraf - avatar
+ 11
Now
2nd Mar 2017, 2:30 PM
Victor Williams
Victor Williams - avatar
+ 11
https://code.sololearn.com/WkY54n8HFf52/?ref=app hey guys it is my code tell me suggestions to improve if and i learn better
5th May 2017, 5:43 AM
MAHENDAR SONI
MAHENDAR SONI - avatar
+ 10
ask the person who don't know programming because only he can tell you real requirement, any programmer not. This is my idea for programming.
4th Mar 2017, 2:52 AM
Ajay Agrawal
Ajay Agrawal - avatar
+ 9
today! ;)
3rd Mar 2017, 5:41 AM
Andre van Rensburg
Andre van Rensburg - avatar
+ 9
A good IDE helps help write code easier .Divide the program into small pieces and start with simple section
4th Mar 2017, 5:45 AM
Nima J.
Nima J. - avatar