+ Post New Thread
Results 1 to 20 of 20
  1. #1
    Member level 4
    Points: 886, Level: 6

    Join Date
    Sep 2016
    Posts
    79
    Helped
    9 / 9
    Points
    886
    Level
    6

    Need advice on what programming language to learn.

    Hi

    I want to learn a programming language that relate to PC. My goal is to learn more about Windows, so the best way is to learn how to write programs relate to Windows, using Windows. I want to know what language to learn and how to go by it.

    I learned Assembly, Basic and Pascal before and did some programming in my jobs in late 70s and early 80s. But since then, my interest and career was more in analog and RF electronics. Now that I am retired, I just want to catch up on programming and learn more about Windows.

    Please advice me what language to learn and what is the best approach to achieve this.

    Thanks

    Alan

  2. #2
    Super Moderator
    Points: 29,644, Level: 41
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    8,863
    Helped
    1115 / 1115
    Points
    29,644
    Level
    41
    Blog Entries
    9

    Re: Need advice on what programming language to learn.

    Currently there are options for various tastes and costs. For those who like me started with Delphi (90's) and borland C++ (this century), Java Netbeans came up as a good option, mainly because it's free, but it's necessary to review object oriented programming concepts to at least understand the why of some language constructs. The IDE itself inherited from Eclipse is also an extremely powerful asset, and can be used with other compilers, which means that much of what you experience there will be used with another platform soon or late.
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )



    •   AltAdvertisement

        
       

  3. #3
    Advanced Member level 4
    Points: 11,359, Level: 25
    Kripton2035's Avatar
    Join Date
    Jul 2001
    Location
    Western Europe
    Posts
    1,150
    Helped
    206 / 206
    Points
    11,359
    Level
    25

    Re: Need advice on what programming language to learn.

    as you know basic and pascal, I suggest you to take a look at Xojo (www.xojo.com)
    it's a object oriented basic, works on multiple platforms including a raspberry Pi, so the link to electronics is quite direct.



  4. #4
    Super Moderator
    Points: 52,942, Level: 56

    Join Date
    Apr 2011
    Location
    Minneapolis, Minnesota, USA
    Posts
    12,949
    Helped
    2580 / 2580
    Points
    52,942
    Level
    56

    Re: Need advice on what programming language to learn.

    ThinBasic is a programming environment which is centered around the Windows OS. It uses routines found in the Win OS so you can create your own application resembling professional Windows applications.
    It supports custom windows, menus, mouse & keyboard operations, user interactions, error messages, etc. You can open simultaneous console (DOS-like) window, and color graphics window. It is a sophisticated BASIC language developer environment, supporting disk operations, peripherals, communications, etc. Abundant examples allow a rapid learning curve.

    Free to download and use:

    www.thinbasic.com


    1 members found this post helpful.

  5. #5
    Member level 4
    Points: 886, Level: 6

    Join Date
    Sep 2016
    Posts
    79
    Helped
    9 / 9
    Points
    886
    Level
    6

    Re: Need advice on what programming language to learn.

    Thanks for all the replies, I need time to look into this. I thought is very simple, I see there's a lot of choice. In my work days, it's always C++ or C# they were talking about, I did not expect there are so many option.

    - - - Updated - - -

    Quote Originally Posted by BradtheRad View Post
    ThinBasic is a programming environment which is centered around the Windows OS. It uses routines found in the Win OS so you can create your own application resembling professional Windows applications.
    It supports custom windows, menus, mouse & keyboard operations, user interactions, error messages, etc. You can open simultaneous console (DOS-like) window, and color graphics window. It is a sophisticated BASIC language developer environment, supporting disk operations, peripherals, communications, etc. Abundant examples allow a rapid learning curve.

    Free to download and use:

    www.thinbasic.com
    Thanks

    This sounds the closest to what I am thinking.....But I am just thinking out loud, I really don't know what I really want.



    •   AltAdvertisement

        
       

  6. #6
    Advanced Member level 3
    Points: 5,888, Level: 18

    Join Date
    Feb 2014
    Posts
    839
    Helped
    279 / 279
    Points
    5,888
    Level
    18

    Re: Need advice on what programming language to learn.

    C# in Visual studio. Very powerful modern language and a very good IDE.

    If you want to make life harder for yourself c++ is another obvious but dated choice.


    1 members found this post helpful.

    •   AltAdvertisement

        
       

  7. #7
    Member level 2
    Points: 2,448, Level: 11

    Join Date
    Sep 2006
    Location
    London---UK
    Posts
    43
    Helped
    2 / 2
    Points
    2,448
    Level
    11

    Re: Need advice on what programming language to learn.

    Hi,
    Why not try C++ with visual studio or QT creator and with QT creater it is very similar to the thinbasic UI design.



  8. #8
    Member level 4
    Points: 886, Level: 6

    Join Date
    Sep 2016
    Posts
    79
    Helped
    9 / 9
    Points
    886
    Level
    6

    Re: Need advice on what programming language to learn.

    Quote Originally Posted by asdf44 View Post
    C# in Visual studio. Very powerful modern language and a very good IDE.

    If you want to make life harder for yourself c++ is another obvious but dated choice.
    Sorry about my ignorance, what is IDE? I know the company I contracted with 2 years ago use C# even for firmware development. Would that be the best choice that I can use it for firmware?

    Sorry for my ignorance, I am really out of the loop as my specialty is so far remote form this even though it is so closely related. Even when I designed the micro-controller based hardware, I just designed the circuit and let my junior engineer did the programming!!! ( Lazy).



  9. #9
    Super Moderator
    Points: 29,644, Level: 41
    andre_teprom's Avatar
    Join Date
    Nov 2006
    Location
    Brazil
    Posts
    8,863
    Helped
    1115 / 1115
    Points
    29,644
    Level
    41
    Blog Entries
    9

    Re: Need advice on what programming language to learn.

    I know the company I contracted with 2 years ago use C# even for firmware development. Would that be the best choice that I can use it for firmware?
    Perhaps others will give different opinions, but I would say from my own experience that C++ lacks from many resources (methods) natively available in Java, without the need to add third libraries, and C# is even easiest to work if compared to both, C# is a bit more up to date language. One aspect to consider is the work efficiency; it is frustating to realize that lot of functions you had to write by yourself in one language were intrinsicly built in another language.

    - - - Updated - - -

    By the way, you are talking about software, not firmware, right? I mean, it is intended to run on the PC side or embeeded ?
    --------------------------------------------------------------------------------------------------
    Part of the world that you live in, You are the part that you're giving ( Renaissance )


    1 members found this post helpful.

  10. #10
    Member level 4
    Points: 886, Level: 6

    Join Date
    Sep 2016
    Posts
    79
    Helped
    9 / 9
    Points
    886
    Level
    6

    Re: Need advice on what programming language to learn.

    Quote Originally Posted by andre_teprom View Post
    Perhaps others will give different opinions, but I would say from my own experience that C++ lacks from many resources (methods) natively available in Java, without the need to add third libraries, and C# is even easiest to work if compared to both, C# is a bit more up to date language. One aspect to consider is the work efficiency; it is frustating to realize that lot of functions you had to write by yourself in one language were intrinsicly built in another language.
    Sounds like C# is the best of both worlds for me, I can get into PC and can use in firmware development if I ever choose to in the future. Actually I was talking to my CTO at the time and he suggested C# as they actually use it in the company. But I was thinking they use it more on firmware, but now that I know it's good for PC application, that seems to be the best choice.

    What is the best way to start? Is there any free download?

    Thanks



  11. #11
    Advanced Member level 3
    Points: 5,888, Level: 18

    Join Date
    Feb 2014
    Posts
    839
    Helped
    279 / 279
    Points
    5,888
    Level
    18

    Re: Need advice on what programming language to learn.

    IDE stands for integrated development environment. The program that you write the code in that contains the text editor, compiler, etc. Visual studio has lots of bells and whistles like auto-complete, immediate window, GUI for creating GUIs, refactoring tools (rename variables and functions intelligently versus find-and-replace) and many more. It's quite painful to go back to IDEs that lack these features after you get used to them....

    Yes its free, google "visual studio C# download".

    I'd say C# is a windows desktop language first that has expanded from that. Firmware, well what kind? Embedded windows - definitely yes. But also, believe it or not, we're deploying some C# in an embedded Linux firmware application. .Net is now cross platform and it appears to work quite well. Though to be clear we don't use it for the mainline code, only for some diagnostic features at the moment.


    1 members found this post helpful.

  12. #12
    Member level 4
    Points: 886, Level: 6

    Join Date
    Sep 2016
    Posts
    79
    Helped
    9 / 9
    Points
    886
    Level
    6

    Re: Need advice on what programming language to learn.

    Quote Originally Posted by asdf44 View Post
    IDE stands for integrated development environment. The program that you write the code in that contains the text editor, compiler, etc. Visual studio has lots of bells and whistles like auto-complete, immediate window, GUI for creating GUIs, refactoring tools (rename variables and functions intelligently versus find-and-replace) and many more. It's quite painful to go back to IDEs that lack these features after you get used to them....

    Yes its free, google "visual studio C# download".

    I'd say C# is a windows desktop language first that has expanded from that. Firmware, well what kind? Embedded windows - definitely yes. But also, believe it or not, we're deploying some C# in an embedded Linux firmware application. .Net is now cross platform and it appears to work quite well. Though to be clear we don't use it for the mainline code, only for some diagnostic features at the moment.
    Is this the one? https://visualstudio.microsoft.com/downloads/

    Do you have recommendation on a book for C#? I have not done any programming for almost 40 years!!! I pretty much starting from the beginning.

    thanks



  13. #13
    Member level 4
    Points: 886, Level: 6

    Join Date
    Sep 2016
    Posts
    79
    Helped
    9 / 9
    Points
    886
    Level
    6

    Re: Need advice on what programming language to learn.

    I downloaded and installed the Visual Studio C#, is anyone of these books any good? https://www.amazon.com/s/ref=nb_sb_n...23+programming



  14. #14
    Advanced Member level 3
    Points: 5,888, Level: 18

    Join Date
    Feb 2014
    Posts
    839
    Helped
    279 / 279
    Points
    5,888
    Level
    18

    Re: Need advice on what programming language to learn.

    Can't help you with the books.

    Because it's a popular language you can google "how to do [insert anything] in c#" and almost always get an answer. Admittedly that helps more with specific questions than the big picture. If you're new to object oriented programming I'd make sure the book helps you with that - or find a book on that subject specifically.

    Before you buy a book try to find and follow a couple tutorials online to get a clue as to what kind of help you'll need from a book.



  15. #15
    Member level 4
    Points: 886, Level: 6

    Join Date
    Sep 2016
    Posts
    79
    Helped
    9 / 9
    Points
    886
    Level
    6

    Re: Need advice on what programming language to learn.

    What is the difference between C# 6 and C# 7. Some books are for 6 and some for 7.

    Also, should I buy books for absolute beginners on C# or the next step up. Obviously I don't know anything about C#, but I did do some programming on basic, fortran, pascal and particular assembly. From my experience, you really learn one and you learn all. I remember I learned fortran in college at the time, that was hard enough. But then when I learn basic and Pascal, it's like a two week thing only as you expect what's coming, just mainly learning the syntax and learn the particular way to compile and run it. Even assemble language is pretty much the same, just more primitive. They are quite easy.



    •   AltAdvertisement

        
       

  16. #16
    Advanced Member level 5
    Points: 12,636, Level: 26
    Achievements:
    7 years registered

    Join Date
    Apr 2010
    Posts
    1,918
    Helped
    411 / 411
    Points
    12,636
    Level
    26

    Re: Need advice on what programming language to learn.

    There are many languages like c++ , c# , java and others .
    Many compilers like visual c and many IDEs . Each one has its own plus and minusses.


    But if you are interseted in Windows programming ,
    learn C (yes C) and get to know the WinAPI.

    All others have the advantages of writing in few codes with GigaBytes of overhead.

    and all examples will show how to write code for trivial things .
    Once you eter into the advanced level , they are very difficult to learn and implement.

    Since it is for you personal and not any professional (No deadlines)
    go in that route.
    Though looks very hard initially , you will reap the benefit in advanced applications.

    initially you can use toolkits to try the examples.



  17. #17
    Newbie level 1
    Points: 20, Level: 1

    Join Date
    May 2019
    Posts
    1
    Helped
    0 / 0
    Points
    20
    Level
    1

    Re: Need advice on what programming language to learn.

    C# or C++ for Windows programming



  18. #18
    Newbie level 5
    Points: 2,135, Level: 10
    Achievements:
    7 years registered

    Join Date
    Jan 2008
    Posts
    10
    Helped
    0 / 0
    Points
    2,135
    Level
    10

    Re: Need advice on what programming language to learn.

    I have been programming for more than 25 years on C, C++, C#, Basic, Visual Basic, Java, Python, FORTRAN, and COBOL. For what it is worth, a few pieces of advice:

    1) IMHO, once you learn any programming language to a decent level of competency, picking up another language is just a matter of a change in syntax.
    2) You would probably be most comfortable in C# to start out programming Windows.
    3) I know it is out-dated, but learning about the structure of Windows (Microsoft Foundation Classes (MFC), Memory Allocation, Message Queuing and Handling, Multi-threading etc.) will take your Windows skills to a whole new level, even if you just know about them and not necessarily learn to work with them on a low-level.

    Whatever language you decide to pursue and need educational material on it, PM me. I have a lot of e-books on most of the programming languages.

    Hope this helps.



  19. #19
    Newbie level 1
    Points: 18, Level: 1

    Join Date
    Jun 2019
    Posts
    1
    Helped
    0 / 0
    Points
    18
    Level
    1

    Re: Need advice on what programming language to learn.

    Python is a popular programming language. It was created by Guido van Rossum, and released in 1991.

    It is used for:

    web development (server-side),
    software development,
    mathematics,
    system scripting.
    Last edited by FvM; 20th June 2019 at 12:31. Reason: Advertising links deleted



  20. #20
    Full Member level 6
    Points: 2,035, Level: 10

    Join Date
    Jan 2019
    Posts
    378
    Helped
    94 / 94
    Points
    2,035
    Level
    10

    Re: Need advice on what programming language to learn.

    Quote Originally Posted by Alan8947 View Post
    Hi

    I want to learn a programming language that relate to PC. My goal is to learn more about Windows, so the best way is to learn how to write programs relate to Windows, using Windows. I want to know what language to learn and how to go by it.

    I learned Assembly, Basic and Pascal before and did some programming in my jobs in late 70s and early 80s. But since then, my interest and career was more in analog and RF electronics. Now that I am retired, I just want to catch up on programming and learn more about Windows.

    Please advice me what language to learn and what is the best approach to achieve this.

    Thanks

    Alan
    I did the same thing you did.
    Fortran, 360/370 Assembler, Turbo Pacal,
    and now I've glommed onto Python 3.7

    I suggest you pick a popular language - better resources in forums like this and in forums dedicated to a specific language.
    Ultimately, it doesn't matter which one. The time and effort you put in learning it is what will matter.
    and like every choice, each language has its upside and it downside



--[[ ]]--