+ 7
I'm learning all courses in SoloLearn easily but unable to code 100's and 1000's of lines.. How can I code?
I'm learning all courses in SoloLearn easily but unable to code 100's and 1000's of lines.. How can I code? I'm unable to get the logic for any program...
13 Respuestas
+ 28
1) Focus yourself in a language only, learn the logic behind a language, conditions and functions are just basics.
2) Make simple programs, get the user input and give a dynamic output with an "if/else" condition, then try to display an array with a "for loop", then try to make an original program with the "while" loop [ and so on ... ]
3) Close Sololearn, learn more about your language.
4) Return here and complete the courses, generally languages share the same logic.
Remember that 1000 lines of code don't make you a good programmer, you have to find the best solution with less lines as possible.
Good luck! ^^
+ 8
Find a subject that really interests you (sorting music/pictures in albums by dates, counting calories per day, checking the scores in games, plotting GPS coordinates in maps, finding the optimal route for a trip to the sea, checking the mileage of a car...) and try to make first a simple app, then later something more complex.
Of course use the web to find out which tools and languages are the most appropriate.
The logic is usually simple: you have same input data, you want some output data, the trick is to find a way to get and process the inputs using the written code, and in the end to save and/or display the results.
Basically, find a project that motivates you to spend a few days to make it.
+ 5
You have to practise beside SoloLearn. The App just supports you learning, but when you want to really get into it, it is essential to repeat and practise a lot!
+ 5
Also, you don't have to start from scratch - adding functionality to existing (open source) code is a good icebreaker.
+ 3
You have to practise beside Learning here in solo learn .
1) Specialise One subject(Web development , Application programming ....)
2) Learn Relevant basics of the language (For web development you need to learn HTMl...)
3) Implement what you learn
4) Do a mini project (Very Important), your 1000 lines begin from here
+ 3
understanding a concept is the Easy part. implementing what you understand is hard. practice makes perfect. keep rewriting programming over and over eventually you can start applying concepts into code.
+ 2
Maz , what do you mean , logic behind a language??
+ 2
Sololearn is for programming the same as a manual for driving :D
From Sololearn i only learn new syntaxes for new languages or get some short tricks for my used languages. But to learn programming you need to use it and get a feeling for it.
First i am trying to manipulate some numbers in a list or array and to get a feeling for the most common dataformats for the languages. When i get a good feeling for it, i try to make somethink useful. With my scientific-background i try to import data and to analyse them. Another possible way could be to create your own window with buttons (Gui) and to challenge yourself what possible thinks you could programm in it. ;)
+ 2
Every language has its own purpose. First determine your project. Then choose the appropriate language for it. When you finished your project then you will see 1000 lines code easily.
Number of line code should not be your target, it's byproduct. Happy Coding!
+ 1
SoloLearn is very useful for learning the code syntax, and basic structures. However, programmatic thinking is an other aspect which is also important for building tools and applications.
My advice is not to build further on other (open) source code, but to start your own application. And be very punctual, to force yourself in neat programming (splitting code into functions, etc.). Then you don't need much lines :).
0
We write program but we do not count the numbers of lines we have written. Focus on what your code want to achieve.
In fact for web programming code, we should write shorter code for performance optimisation.
0
focus to a language and learn more. you must learn basic, logic and practise practise practise practise more.
0
Pick a language and exercise. Just learning alot of codes will confuse you especially if you are not used to code. Programs grow over time and tent to be made up of multiple smaller programs and features start with a idea in mind. Start small soon youll see that this standalone program can word we'll with another and another