Coding | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Coding

I think programming is more about problem solving than memorizing code example and spending hours cramming syntax.. Man created machine to help. What we do with coding is to solve our problems. We talk about improving our coding. But what is coding for? Making lifes easy If you agree... Please give a problem to us to solve. A Real Life Problem Look around you.. Find problems and post them.

9th Feb 2018, 7:34 PM
Saksham
Saksham - avatar
8 Answers
+ 10
make an efficient alarm system for buildings and house and company which bell when a person is came there it open without trigger to alarm and when an unknown person came that alarm is belled the challenge to solve this you have to make an efficient algorithm and code by which you can compare the database, you need to tackle with how the sensor should sense the situation by code it is a real time problem so need very accurate and efficient algorithm you can also design hard time problem where a single mistake can cause damage so you have to decide the priority their like if high priority task came then current task is save and higher priority interrupt enable and the task which has higher priority can solved eg:- battery pop up window of computer when the battery is in critical state only then the pop up window to charge is shown else it is not shown you can code how that priority is set by coding or by an efficient algorithm
9th Feb 2018, 7:46 PM
GAWEN STEASY
GAWEN STEASY - avatar
+ 18
//for square , int a=v*t% (s*4); System.out.print(a/s==0?a:a/(2*s)==0?Math.sqrt (a*a+(a-s)*(a-s)):a/(3*s)==0?Math.sqrt (a*a+(3*s-a)(3*s-a)):4*s-a);
9th Feb 2018, 9:20 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 4
I agree that programming is heavily revolved around problem solving, but that shouldn't be a means of minimizing the reality of needing to memorize syntax and the amount of time all of it takes. I have a problem for you to solve though. WHY is it important to memorize (and understand) the syntax and all of the pieces involved in programming? That's a good real life problem for you to solve, especially since it pertains to you at this very point in your life. Much to learn from the answer to that question.
9th Feb 2018, 7:42 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 3
@Jacob Marley I think syntax and all other parts are tools for solving...you need to know them. But what are tools for when there is no work. You learn every part of a language and when given a single real world problem. You start looking up the net then you are NOT a real programmer You just know a language. You can't create your stuff, make better softwares, make life's easier
9th Feb 2018, 7:44 PM
Saksham
Saksham - avatar
+ 3
@Jakob Marley I agree with you. I didnt mean to say that looking up the net means you not a real programmer. I meant if you can't solve a problem than you are one. Referencing is great for learning but you got to be a creator. I mostly make my own softwares and learn.
9th Feb 2018, 8:01 PM
Saksham
Saksham - avatar
11th Feb 2018, 8:38 AM
Utkarsh Singh
Utkarsh Singh - avatar
+ 1
Agreed. Maybe I misunderstood your initial post, as I thought you were against having to sit and study syntax / other concepts of programming. My apologies if so. However, what are tools for when there is no work? I suppose to allow you the ability to express your creative side as a creator. As well, they're so you can create your own work if there is no work. You have people that simply solve problems, people that create problems, and people that are in their own world creating it from the ground up. You're right though, once someone learns a language then they must put it into practice and utilize it so they can also gain experience in it. I disagree that one is not a real programmer if they have to reference something when needed though; that's simply being resourceful, which is another good trait to have and part of the learning process as well. If you're not getting better over time though, then who knows, maybe you're not. lol What type of programmer are you and what type of stuff do you enjoy working on? This is off-topic, but just curious to know more about you since we're talking.
9th Feb 2018, 7:54 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
@Jacob I didn't understand last paragraph of your edited post
10th Feb 2018, 12:30 AM
Saksham
Saksham - avatar