Connect with us

How did you start to learn programming?

Discussion in 'General Electronics Discussion' started by lucy Wyling, Jan 10, 2018.

Scroll to continue with content
  1. lucy Wyling

    lucy Wyling

    6
    1
    Dec 28, 2017
    I am a freshman in learning programming. I met lots of problems. Sometimes I want to give up because I felt very boring and headache about some problems. Can anyone tell me an easier way to learn programming in a short time?
    Thanks!
     
  2. kellys_eye

    kellys_eye

    4,275
    1,146
    Jun 25, 2010
    There are no short cuts.

    Good books and/or a good tutor are essential requirements. Doing ACTUAL examples whilst reading/learning also helps.
     
  3. BobK

    BobK

    7,682
    1,687
    Jan 5, 2010
    If you think learning to program is difficult now:

    I took a programming course in my first year of college. At that time (1970), programming was done using punched cards that you submitted to be run through the one computer that my large university (U. of Maryland) had for student use. About 3-4 hours later, you got back a printout. Usually the result was a list of syntax errors. Correct, resubmit and wait another 3-4 hours.

    And yet, I learned.

    Bob
     
  4. duke37

    duke37

    5,364
    769
    Jan 9, 2011
    My experience was similar except that pundhed tape was used. This had the advantage that you did not have a half hour job sorting the cards if you dropped them. The language was ALGOL.
    We eventually got an Apple11E (48k) and used it to control a large brake dynamometer. BASIC and 6502 assembler.
    My favorite language was TurboBasic, partly due to the editor and also that it could be structured like ALGOL unlike early FORTRAN.

    The first thing to do is to decide what needs to be done and then programming each part. Do not just dive in, you will get into a mess. Make sure that your syntax is correct.
     
  5. Stephen Olstein

    Stephen Olstein

    5
    0
    Jan 4, 2018
    I'm also an old programmer...

    It was a cumbersome task to get your programs running back then but the system and languages were much simpler. You could more or less have an understanding of the complete system from hardware to software by yourself.

    Today it is easy to program, but the development systems are more complex and you might have to learn multiple hierarchies of libraries. To make it simple, pick a language and a development system that is small and easy to comprehend. Start off with small easy problems that only introduce a few basic language features at a time, and I'm sure you soon get the hang of it.

    If you don't have access to a teacher/mentor learning how to debug is necessary somewhere down the line to understand why a program doesn't work as expected.
     
  6. Bluejets

    Bluejets

    4,492
    957
    Oct 5, 2014
    Most these days want the "easy" way. There are systems like Arduino where libraries are included in which some of the hard yakka is done. No matter which system, if you want to be any "good at it" you have to put in the long haul just as most here have done.
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-