Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. New to writing code...brain is melting......

New to writing code...brain is melting......

Scheduled Pinned Locked Moved The Lounge
visual-studiocsharphardwarebusiness
55 Posts 27 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • OriginalGriffO OriginalGriff

    It is possible that Swiss ladies don't start running away and screaming for help when you approach them with scissors (or a large knife) and an evil glint in your eye, but British ones will either scream and run, or kick you where the pain starts...and IIRC aren't all Swiss tooled up? :laugh: An App would be a lot safer!

    If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

    M Offline
    M Offline
    Marco Bertschi
    wrote on last edited by
    #21

    OriginalGriff wrote:

    IIRC aren't all Swiss tooled up? :laugh:

    We are. But there is a set of different tools, see details here[^].

    OriginalGriff wrote:

    It is possible that Swiss ladies don't start running away and screaming for help when you approach them with scissors (or a large knife)

    A colleague of mine stated it this way: Talk to her, hit her really hard and use the moment of surprise to put the chloroformed handkerchief on her mouth until she does not move anymore. I want to state clearly that a colleague of mine said this. I prefer to get women by good-looking and a nice personality . They stay longer with me than they would do with him (The a dress app is a good idea anyways) :laugh:.

    1 Reply Last reply
    0
    • OriginalGriffO OriginalGriff

      I wish! Mine is steam powered... :sigh:

      If you get an email telling you that you can catch Swine Flu from tinned pork then just delete it. It's Spam.

      M Offline
      M Offline
      Marco Bertschi
      wrote on last edited by
      #22

      OriginalGriff wrote:

      Mine is steam powered...

      Still better than having a donkey running around an Axis to keep the brain running (example)[^] :laugh: :laugh:

      1 Reply Last reply
      0
      • I ITWino

        Hello all.... Great web site. Love the info and suggestions I can get here. So, I have been doing IT work for over 25 years (servers, networks, hardware, etc...) and never delved into the development field. I now have the opportunity to learn writing and modifying code, but I am having a hard time making this logic click. I have several beginner books on Visual Studio (2005,2010,2012)and have done the training classes offered by a local business. I am focusing on Visual Basic as my language of choice because the company I work for uses this only. Any suggestions on how I can make all this info click? I understand the concepts, but just could not write the code behind a app i lay out in VS Designer to save my life. EDIT: Thanks all for the great advice. I sort of suspected I was trying to bite off more than I could chew. Going to go back simple and work my way up.

        M Offline
        M Offline
        Marc Clifton
        wrote on last edited by
        #23

        I will re-iterate what Ennis said. Do not start with the IDE and trying to create a window's app. Start with a console window and a few simple things: 1. How to write "Hello World" 2. How to format a date 3. How to read an input 4. How to convert a string to a number and add two numbers 5. How to write and call a method (a static method!) 6. How to write and instantiate a class 7. How to call methods in a class 8. Learn about fields and properties of a class. 9. Learn about public/protected/private. 10. Learn about base classes and derived classes. Write a class that overrides a virtual method. 11. Learn about delegates. 12. Learn about events using delegates 13. Maybe, just maybe, you will be ready to then double click on a button in a form and write something useful in the button's event handler. 14. And then, throw out the "Microsoft IDE way" and learn about MVC and MVVM. Have fun! Mwahahaha! Marc

        Latest Article: Intertexti - Resurrecting Apple's HyperCard
        My Blog

        1 Reply Last reply
        0
        • I ITWino

          Hello all.... Great web site. Love the info and suggestions I can get here. So, I have been doing IT work for over 25 years (servers, networks, hardware, etc...) and never delved into the development field. I now have the opportunity to learn writing and modifying code, but I am having a hard time making this logic click. I have several beginner books on Visual Studio (2005,2010,2012)and have done the training classes offered by a local business. I am focusing on Visual Basic as my language of choice because the company I work for uses this only. Any suggestions on how I can make all this info click? I understand the concepts, but just could not write the code behind a app i lay out in VS Designer to save my life. EDIT: Thanks all for the great advice. I sort of suspected I was trying to bite off more than I could chew. Going to go back simple and work my way up.

          L Offline
          L Offline
          lewax00
          wrote on last edited by
          #24

          The title of this thread, with the one immediately following it on the home page, looks like it was meant to be one sentence:

          Quote:

          New to writing code...brain is melting.........and that's the problem with Git

          :laugh:

          1 Reply Last reply
          0
          • I ITWino

            Hello all.... Great web site. Love the info and suggestions I can get here. So, I have been doing IT work for over 25 years (servers, networks, hardware, etc...) and never delved into the development field. I now have the opportunity to learn writing and modifying code, but I am having a hard time making this logic click. I have several beginner books on Visual Studio (2005,2010,2012)and have done the training classes offered by a local business. I am focusing on Visual Basic as my language of choice because the company I work for uses this only. Any suggestions on how I can make all this info click? I understand the concepts, but just could not write the code behind a app i lay out in VS Designer to save my life. EDIT: Thanks all for the great advice. I sort of suspected I was trying to bite off more than I could chew. Going to go back simple and work my way up.

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #25

            I've been programming for nearly a decade now and it still melts my brain. The things just out of reach are the most interesting :)

            1 Reply Last reply
            0
            • I ITWino

              Hello all.... Great web site. Love the info and suggestions I can get here. So, I have been doing IT work for over 25 years (servers, networks, hardware, etc...) and never delved into the development field. I now have the opportunity to learn writing and modifying code, but I am having a hard time making this logic click. I have several beginner books on Visual Studio (2005,2010,2012)and have done the training classes offered by a local business. I am focusing on Visual Basic as my language of choice because the company I work for uses this only. Any suggestions on how I can make all this info click? I understand the concepts, but just could not write the code behind a app i lay out in VS Designer to save my life. EDIT: Thanks all for the great advice. I sort of suspected I was trying to bite off more than I could chew. Going to go back simple and work my way up.

              0 Offline
              0 Offline
              0bx
              wrote on last edited by
              #26

              I'm not a very experienced developer and I didn't learn how to develop software at school either. So my advice may not be too accurate, but then again... I know how you're feeling since I was feeling like that too exactly one year ago. This was for me the epiphany that helped me tremendously: Try to think about a software project in layers. I don't know anything about the project you're attempting to make, so the following is just an example of a common structure: Database, Handler, Controller, Application layer. Think of the Database as the bottom layer and the application layer as the top. For each feature you create, start to work at the bottom and then work your way up. You'll find it'll be a lot easier to figure out what to do next if you try to work in that order, especially at first. If you have to work on existing project, try to see if a similar structure is there (if not, then you're basically screwed). Always respect the flow of data in your project, the role of your namespaces/classes; never make any exceptions to your own rules, unless the rules were wrong. In this case: the Database stores and provides information, the handler controls database and puts data into objects to pass on to the controller, the controller handles all the logic and the application layer talks with the controller and only deals with how the interface looks like. For the rest, you shouldn't worry too much about writing bad code when you're coding. You should worry a lot about it when you're not coding, but when you're coding you should make stuff happen and don't get paralysed. Avoid copy pasting code and try to re-factor/reuse code instead. Finally, focus on the basic functionality first and worry about the details later. Oh, and don't re-invent the wheel. Most of the stuff, if not all, you're trying to do has been done before and you have the Google machine at your disposal.

              .

              1 Reply Last reply
              0
              • I ITWino

                Hello all.... Great web site. Love the info and suggestions I can get here. So, I have been doing IT work for over 25 years (servers, networks, hardware, etc...) and never delved into the development field. I now have the opportunity to learn writing and modifying code, but I am having a hard time making this logic click. I have several beginner books on Visual Studio (2005,2010,2012)and have done the training classes offered by a local business. I am focusing on Visual Basic as my language of choice because the company I work for uses this only. Any suggestions on how I can make all this info click? I understand the concepts, but just could not write the code behind a app i lay out in VS Designer to save my life. EDIT: Thanks all for the great advice. I sort of suspected I was trying to bite off more than I could chew. Going to go back simple and work my way up.

                E Offline
                E Offline
                etkid84
                wrote on last edited by
                #27

                you can't. it's a personality thing. either your personality maps to the job description or it doesn't. quit while you are ahead, as my father would say, think that refers to gambling, but i am sure it pertains to your situation :suss:

                David

                M B 2 Replies Last reply
                0
                • I ITWino

                  Hello all.... Great web site. Love the info and suggestions I can get here. So, I have been doing IT work for over 25 years (servers, networks, hardware, etc...) and never delved into the development field. I now have the opportunity to learn writing and modifying code, but I am having a hard time making this logic click. I have several beginner books on Visual Studio (2005,2010,2012)and have done the training classes offered by a local business. I am focusing on Visual Basic as my language of choice because the company I work for uses this only. Any suggestions on how I can make all this info click? I understand the concepts, but just could not write the code behind a app i lay out in VS Designer to save my life. EDIT: Thanks all for the great advice. I sort of suspected I was trying to bite off more than I could chew. Going to go back simple and work my way up.

                  L Offline
                  L Offline
                  Lost User
                  wrote on last edited by
                  #28

                  Just go for it. In the “old days”, we started as “programmer trainees” and were expected to be “on-call” within 2 weeks; you had to go in for at least an hour when there was a problem and attempt to fix it before calling someone else for help. (And these were mission-critical systems). You first did “maintenance” before being given development. Ask a supervisor or co-worker for a small, non-critical, outstanding work request on an existing application and dive in (in your spare time, if necessary). You’ll be a lot more motivated than if you were writing trivial sample apps you have no real interest in. (At this stage, you will need to present any changes you propose before implementing them and also submit to a code review later).

                  D 1 Reply Last reply
                  0
                  • I ITWino

                    Hello all.... Great web site. Love the info and suggestions I can get here. So, I have been doing IT work for over 25 years (servers, networks, hardware, etc...) and never delved into the development field. I now have the opportunity to learn writing and modifying code, but I am having a hard time making this logic click. I have several beginner books on Visual Studio (2005,2010,2012)and have done the training classes offered by a local business. I am focusing on Visual Basic as my language of choice because the company I work for uses this only. Any suggestions on how I can make all this info click? I understand the concepts, but just could not write the code behind a app i lay out in VS Designer to save my life. EDIT: Thanks all for the great advice. I sort of suspected I was trying to bite off more than I could chew. Going to go back simple and work my way up.

                    A Offline
                    A Offline
                    Amarnath S
                    wrote on last edited by
                    #29

                    Keeping VB aside for a moment, you can take the free online 7-week long introductory Computer Science Course from Udacity (https://www.udacity.com/course/cs101[^]) to get your basic computer science concepts understood. This course is in Python language, though. Back to VB, you can port snippets from that Python code to VB, and make them work. This way, you'll gradually become familiar with both programming concepts and their implementation.

                    1 Reply Last reply
                    0
                    • E etkid84

                      you can't. it's a personality thing. either your personality maps to the job description or it doesn't. quit while you are ahead, as my father would say, think that refers to gambling, but i am sure it pertains to your situation :suss:

                      David

                      M Offline
                      M Offline
                      Mark_Wallace
                      wrote on last edited by
                      #30

                      I've known quality developers with all manner of personalities.

                      I wanna be a eunuchs developer! Pass me a bread knife!

                      E 1 Reply Last reply
                      0
                      • I ITWino

                        Hello all.... Great web site. Love the info and suggestions I can get here. So, I have been doing IT work for over 25 years (servers, networks, hardware, etc...) and never delved into the development field. I now have the opportunity to learn writing and modifying code, but I am having a hard time making this logic click. I have several beginner books on Visual Studio (2005,2010,2012)and have done the training classes offered by a local business. I am focusing on Visual Basic as my language of choice because the company I work for uses this only. Any suggestions on how I can make all this info click? I understand the concepts, but just could not write the code behind a app i lay out in VS Designer to save my life. EDIT: Thanks all for the great advice. I sort of suspected I was trying to bite off more than I could chew. Going to go back simple and work my way up.

                        N Offline
                        N Offline
                        Nicholas Marty
                        wrote on last edited by
                        #31

                        I started my way to develop applications by taking an existing application and trying to rebuild it from scratch. Don't try to recreate an application which is pure magic for you. Keep it simple and extend it with your own ideas (even if they don't have anything to do with the original application anymore) - Take the basic functionality of the application and rebuild it by writing the code yourself. - Add additional functionality - Come up with ideas for ... - ... writing/reading something to a file - ... writing/reading something from database - ... making your application configurable (file and/or database) in my case it was the windows calculator :-D - I implemented the basic functionality like add, subtract, multiply, divide, etc. - Added errorhandling via message boxes - Added logging to file - added a value store (calculator memory function) which saves values in a db This helped my to getting a basic knowledge of the language and framework i was using. For solving problems codeproject.com and stackoverflow.com are very nice sites to find explanations and solutions for specific problems. most of the time you can expect that the problme you've got already someone else has asked it and someone else has provided a solution for it. It is important that you try to break your problem down from the whole code to an isolated reproducable problem. This helps yourself understanding what the problem really is and, if you can't come up with a solution yourself, others finding a solution for you (if your asking for help, of course) Later when you understand the basic, step it up a notch and try what you can accomplish using interfaces, derivation and so on. Greetings

                        B 1 Reply Last reply
                        0
                        • L Lost User

                          Just go for it. In the “old days”, we started as “programmer trainees” and were expected to be “on-call” within 2 weeks; you had to go in for at least an hour when there was a problem and attempt to fix it before calling someone else for help. (And these were mission-critical systems). You first did “maintenance” before being given development. Ask a supervisor or co-worker for a small, non-critical, outstanding work request on an existing application and dive in (in your spare time, if necessary). You’ll be a lot more motivated than if you were writing trivial sample apps you have no real interest in. (At this stage, you will need to present any changes you propose before implementing them and also submit to a code review later).

                          D Offline
                          D Offline
                          Dexterus
                          wrote on last edited by
                          #32

                          I would have to agree with this direction. While I have worked my way through the basics, at some point just creating example apps was extremely boring and not so fun. Getting your hands dirty in a big app with a small feature / fix required is a very good way to start figuring things out from within. (Analysis) The example way is good to do at the same time as a way to get more exp, think on different problems and starting on design thinking I suppose. (Synthesis)

                          1 Reply Last reply
                          0
                          • E Ennis Ray Lynch Jr

                            The IDE confuses the basic concepts of programming making it very difficult to understand why something is happening. Don't use the IDE until after you can get simple logic problems solved at the command line.

                            Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost "All users always want Excel" --Ennis Lynch

                            B Offline
                            B Offline
                            BillWoodruff
                            wrote on last edited by
                            #33

                            Ennis, Are you seriously suggesting that this person who, evidently, has a stable long-term job in a company that uses VB.NET use a command-line, or ... what ? ... write console apps ? Unless you are being satirical, I find this hard to believe. yrs, Bill

                            This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)

                            1 Reply Last reply
                            0
                            • M M Badger

                              http://www.codecademy.com/[^] http://blog.ted.com/2013/01/29/10-places-where-anyone-can-learn-to-code/[^] http://ocw.mit.edu/courses/find-by-topic/[^], Engineering -> Computer Science MSDN has a lot of stuff, videos etc. Try YouTube? Chhose some thing that interests you to practice with, someone suggested one above, or how about a Mandelbrot drawing desktop app (something of a rite of passage) or make a basic calculator.

                              B Offline
                              B Offline
                              BillWoodruff
                              wrote on last edited by
                              #34

                              +5 At last: a helpful, on-topic, response, with links to appropriate resources. thanks, Bill

                              This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)

                              1 Reply Last reply
                              0
                              • L Lost User

                                If you are good with one assembly language, you will not have much trouble with another. Group all kinds of programing languages by their closeness to the hardware and their generations (also roughly equivalent to the prevailing programing model) and you get an accurate impression of how small or big the step from one to another may be. And in the end they all produce just a lot of bytes that the processor will try to execute as instructions.

                                A Offline
                                A Offline
                                Al Chak
                                wrote on last edited by
                                #35

                                :) What's about Object oriented Assembler?

                                L L 2 Replies Last reply
                                0
                                • M Marco Bertschi

                                  Start with developing smaller apps. An Address management app for example... Edit: Address for Adress. Thanks OG.

                                  B Offline
                                  B Offline
                                  BillWoodruff
                                  wrote on last edited by
                                  #36

                                  +5 At last a relevant suggestion meant to be helpful ! thanks, Bill

                                  This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)

                                  1 Reply Last reply
                                  0
                                  • E etkid84

                                    you can't. it's a personality thing. either your personality maps to the job description or it doesn't. quit while you are ahead, as my father would say, think that refers to gambling, but i am sure it pertains to your situation :suss:

                                    David

                                    B Offline
                                    B Offline
                                    BillWoodruff
                                    wrote on last edited by
                                    #37

                                    etkins wrote:

                                    you can't.
                                    it's a personality thing.
                                    either your personality maps to the job description or it doesn't.

                                    Utter nonsense ! yrs, Bill

                                    This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)

                                    E 1 Reply Last reply
                                    0
                                    • N Nicholas Marty

                                      I started my way to develop applications by taking an existing application and trying to rebuild it from scratch. Don't try to recreate an application which is pure magic for you. Keep it simple and extend it with your own ideas (even if they don't have anything to do with the original application anymore) - Take the basic functionality of the application and rebuild it by writing the code yourself. - Add additional functionality - Come up with ideas for ... - ... writing/reading something to a file - ... writing/reading something from database - ... making your application configurable (file and/or database) in my case it was the windows calculator :-D - I implemented the basic functionality like add, subtract, multiply, divide, etc. - Added errorhandling via message boxes - Added logging to file - added a value store (calculator memory function) which saves values in a db This helped my to getting a basic knowledge of the language and framework i was using. For solving problems codeproject.com and stackoverflow.com are very nice sites to find explanations and solutions for specific problems. most of the time you can expect that the problme you've got already someone else has asked it and someone else has provided a solution for it. It is important that you try to break your problem down from the whole code to an isolated reproducable problem. This helps yourself understanding what the problem really is and, if you can't come up with a solution yourself, others finding a solution for you (if your asking for help, of course) Later when you understand the basic, step it up a notch and try what you can accomplish using interfaces, derivation and so on. Greetings

                                      B Offline
                                      B Offline
                                      BillWoodruff
                                      wrote on last edited by
                                      #38

                                      +5 A very well thought-out response. thanks, Bill

                                      This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)

                                      1 Reply Last reply
                                      0
                                      • I ITWino

                                        Hello all.... Great web site. Love the info and suggestions I can get here. So, I have been doing IT work for over 25 years (servers, networks, hardware, etc...) and never delved into the development field. I now have the opportunity to learn writing and modifying code, but I am having a hard time making this logic click. I have several beginner books on Visual Studio (2005,2010,2012)and have done the training classes offered by a local business. I am focusing on Visual Basic as my language of choice because the company I work for uses this only. Any suggestions on how I can make all this info click? I understand the concepts, but just could not write the code behind a app i lay out in VS Designer to save my life. EDIT: Thanks all for the great advice. I sort of suspected I was trying to bite off more than I could chew. Going to go back simple and work my way up.

                                        B Offline
                                        B Offline
                                        BillWoodruff
                                        wrote on last edited by
                                        #39

                                        Hi, ITWino, In my opinion, if you "have been been doing IT work for over 25 years (servers, networks, hardware, etc...)," then you are already a programmer on many levels. The skills of logical analysis, framing the problem to be solved, planning a solution in stages, step-by-step iteration and testing, and problem-solving, etc., you know in hardware will, I believe, transpose into programming. While I think it is unfortunate that you are going to focus on VB.NET to learn programming, if that's the "currency" of the work environment you are in for the future, well, so be it. I say this not because I have any prejudice against VB.NET, but, because I think Microsoft truly created a mutant monster when they adapted VB6 to VB.NET, and the awkward and obscure syntax, and constructs, they added to the language to force it to fit into an object-oriented programming universe, is a spaghetti-verse of syntax that makes learning/using it much more difficult than, for example, C#. For learning basic programming concepts, there is absolutely nothing wrong with using an IDE like Visual Studio ! Programming these days is about objects, and events, about classes, and sub-classes, about graphic user-interfaces, and database access. Programming, now, is about user-interfaces in which asynchronous events occur (the does user does anything at any time, depending on mode/context). If you have a set of good introductory books, go through them step-by-step. Pose yourself small challenges, and implement them. You like math problems: how about Project Euler as a source of a vast series of problems to solve (from simple to very complex) [^]. And, you have had other good resources recommended to you, here, by several people, like the course at MIT. Consider asking the experts in your own company for their advice/thoughts on small projects to create on your own: if your goal is to become productive writing code in your company. yrs, Bill

                                        This thing we tell of can never be found by seeking, yet only seekers find it. Abu Yazid Al-Bistami (Persian, Sufi, 804-872)

                                        V 1 Reply Last reply
                                        0
                                        • H H Brydon

                                          Learning Visual Basic will tar you as a n00b forever, and firmly establish a reputation that will be very difficult to get out of. If you are going to learn a CLR language, C# might be a better choice. And if you want to expand your horizons beyond Microsoft, java might be the one.

                                          -- Harvey

                                          V Offline
                                          V Offline
                                          VBNetHack
                                          wrote on last edited by
                                          #40

                                          A large part of learning a .Net language is learning the framework, Visual Studio, OO concepts and design patterns eg MVC. Somebody who is a competant VB.Net developer won't have much trouble picking up C# - same framework, same IDE, same OO concepts baked in. The difference is mainly down to syntax. Hence why there are websites offering VB.Net to C# converters and visa-versa!

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups