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. Other Discussions
  3. IT & Infrastructure
  4. Getting over the beginer hump

Getting over the beginer hump

Scheduled Pinned Locked Moved IT & Infrastructure
learningcsharpc++designalgorithms
38 Posts 16 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.
  • 1 123 0

    J4amieC wrote:

    You taught database design, yet you would use a text-based field to indicate a month.

    Don't be silly, Jamie. My recommendation appears above the intentionally questionable SQL statement. I was arguing for an approach where such detailed syntactical matters are unimportant or at least hidden from the user. In the Plain English version we refer to the first month of the year simply as "January".

    J Offline
    J Offline
    J4amieC
    wrote on last edited by
    #18

    Oh, another thing Gerry - maybe I missed this as I did not visit CP in the holidays - didnt you leave? So basically by coming back you prooved my point that you're just an attention seeker.

    --- How to get answers to your questions[^]

    1 Reply Last reply
    0
    • H hpjchobbes

      I apologize if this is the wrong place to ask this. I am still new here. I have been learning programming for a bit and have read through some books to get a basic understanding of languages and program coding. I have read "Accelerated C++" by Koenig/Moo, "Programming Visual C# 2005: The Language" by Donis Marshall, "Microsoft Visual C# 2005 Step-by-Step" by John Sharp. I feel that I have a good understanding of the C# language. I am now in the stages where I want to try to put this knowledge to use and reinforce my understanding. I'm having problems starting, though. I don't know how to 'begin' writing a program. I come up with an idea of a program that I would like to create. I start writing, but end up with just a big mess that doesn't work. In frustration I give up on the project. My code is messy and I run into problems that I didn't foresee and don't know how to tackle them. I've restarted a project a couple times as I seem to code myself into a dead end. I don't really know how to design a program and look ahead for potential pitfalls. I am looking for something that would walk a person through completion of a mildly complex program, starting from the design and planning phase and ending with a final release product. I would prefer if it didn't teach the language, as I have an understanding of that as well as reference books if I don't understand. I have looked at a lot of the computer books at my local bookstores but most just seem to be complete beginner books that teach the language, or advance books that assume you know what you are doing. I have tried to search on line for these 'intermediate' type of books, but I have have little luck. I may be using the wrong words to describe what I am looking for, though. Basically, just something to help me move from beginner to intermediate that shows/teaches good programming practices. Any references or suggestions on terms to use when searching would be greatly appreciated. Sorry about the long post.

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #19

      What doesn't seem to have been mentioned by anybody is that you need to start with a reasonable understanding of what you are trying to achieve. Pick a problem, e.g. the recipe program, and then try to break it down into the requirements. For instance: The program will store recipes. The recipes will be categorised by type, e.g. Cake. Each recipe will be made up of a number of ingredients. Each ingredient will specify the type of ingredient, e.g. Sugar, and the quantity. And so on. Once you have the requirements, you can break the problem down into smaller logical units. You will also consider issues such as "Where am I going to store the recipes? In a text file, a database?". These will lead you ultimately to the design of your application. Most importantly though, don't give up if you become stuck. Ask questions. Listen to advice. Decide on what works for you.

      the last thing I want to see is some pasty-faced geek with skin so pale that it's almost translucent trying to bump parts with a partner - John Simmons / outlaw programmer
      Deja View - the feeling that you've seen this post before.

      1 Reply Last reply
      0
      • H hpjchobbes

        I apologize if this is the wrong place to ask this. I am still new here. I have been learning programming for a bit and have read through some books to get a basic understanding of languages and program coding. I have read "Accelerated C++" by Koenig/Moo, "Programming Visual C# 2005: The Language" by Donis Marshall, "Microsoft Visual C# 2005 Step-by-Step" by John Sharp. I feel that I have a good understanding of the C# language. I am now in the stages where I want to try to put this knowledge to use and reinforce my understanding. I'm having problems starting, though. I don't know how to 'begin' writing a program. I come up with an idea of a program that I would like to create. I start writing, but end up with just a big mess that doesn't work. In frustration I give up on the project. My code is messy and I run into problems that I didn't foresee and don't know how to tackle them. I've restarted a project a couple times as I seem to code myself into a dead end. I don't really know how to design a program and look ahead for potential pitfalls. I am looking for something that would walk a person through completion of a mildly complex program, starting from the design and planning phase and ending with a final release product. I would prefer if it didn't teach the language, as I have an understanding of that as well as reference books if I don't understand. I have looked at a lot of the computer books at my local bookstores but most just seem to be complete beginner books that teach the language, or advance books that assume you know what you are doing. I have tried to search on line for these 'intermediate' type of books, but I have have little luck. I may be using the wrong words to describe what I am looking for, though. Basically, just something to help me move from beginner to intermediate that shows/teaches good programming practices. Any references or suggestions on terms to use when searching would be greatly appreciated. Sorry about the long post.

        E Offline
        E Offline
        ednrgc
        wrote on last edited by
        #20

        Read the book Code Complete from McConnell.

        1 Reply Last reply
        0
        • D DavidNohejl

          The Grand Negus wrote:

          In the Plain English version we refer to the first month of the year simply as "January".

          That's cool, now put pen in a box and box in a pen and you will be my hero.


          "Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus

          1 Offline
          1 Offline
          123 0
          wrote on last edited by
          #21

          dnh wrote:

          That's cool, now put pen in a box and box in a pen and you will be my hero.

          I don't know if you're being facetious or not, but in Plain English we would say:

          A pen is a thing...
          A box is a thing...
          To put a pen in a box...

          Where the first two statements are type definitions, and the third is a routine header. Note that the words "pen" and "box" and "put" are defined in the source code, not the compiler. As are the semantic rules; when asked, for example, to "put the box in the pen" the compiler will say "I don't know how to do that", not because we have a huge dictionary and an even larger database of relational concepts, but simply because the programmer didn't tell the thing how that is accomplished (ie, didn't include a routine for that purpose). Note also that the "names" of the pen and the box when referenced within the routine body (not shown) are simply those: "the pen" and "the box". The need to name objects that are not typically named in real life is eliminated in Plain English.

          C 1 Reply Last reply
          0
          • 1 123 0

            Trollslayer wrote:

            your languager has structural flaws which render it all but useless.

            The ultimate test of a general purpose programming language is whether or not it can be used to reproduce itself. In other words: Can a reasonably efficient compiler for the language be conveniently written using nothing but the given language? If so, the rest is "decoration" because the language itself can be used to extend itself in any and every desirable way; nothing else is required. A language like C, for instance, satisfies these conditions; a language like SQL, on the other hand, does not. Plain English passes the test with flying colors. Using fewer than 4000 lines of simple, readable code, our compiler can reproduce itself on a minimal Windows machine in less than 3 seconds. The rest - as I've said - is decoration.

            L Offline
            L Offline
            led mike
            wrote on last edited by
            #22

            The Grand Negus wrote:

            The ultimate test of a general purpose programming language is whether or not it can be used to reproduce itself.

            So by definition your compiler is obsolete?

            led mike

            1 1 Reply Last reply
            0
            • H hpjchobbes

              Thanks for the reply. It actually isn't one specific program, I've tried many. Recipe/cooking software, personal schedule software, scaled down version of word processing, an Othello clone, etc. Ideas will pop into my head that don't seem that complex and I think that I'll be able to actually complete them, but I tend to get stuck and frustrated, mostly due to my lack of planing and design. I'll check out Code Complete. I have also been looking over the articles here at CP, though some of them are way over my head. Hopefully with time I'll be able to understand and even contribute!

              L Offline
              L Offline
              led mike
              wrote on last edited by
              #23

              hpjchobbes wrote:

              mostly due to my lack of planing and design.

              Before planning and design comes analysis. The nature of the subject of the software should be understood and pictured first. Sometimes diagrams can be used to accomplish this. For example diagrams like Use Cases, Class diagrams and Activity diagrams found in UML can be used to express the subject’s nature diagrammatically. The pictures of the subject will usually provide a starting point for design. After the initial design that represents the subject, most low level design is technical in nature, meaning it is focused on solving computer software related problems. Most of these problems are solved using well known design patterns[^]. Also research the Model-View-Controller[^] pattern as it is widely used in applications that include a user interface.

              led mike

              P 1 Reply Last reply
              0
              • 1 123 0

                dnh wrote:

                That's cool, now put pen in a box and box in a pen and you will be my hero.

                I don't know if you're being facetious or not, but in Plain English we would say:

                A pen is a thing...
                A box is a thing...
                To put a pen in a box...

                Where the first two statements are type definitions, and the third is a routine header. Note that the words "pen" and "box" and "put" are defined in the source code, not the compiler. As are the semantic rules; when asked, for example, to "put the box in the pen" the compiler will say "I don't know how to do that", not because we have a huge dictionary and an even larger database of relational concepts, but simply because the programmer didn't tell the thing how that is accomplished (ie, didn't include a routine for that purpose). Note also that the "names" of the pen and the box when referenced within the routine body (not shown) are simply those: "the pen" and "the box". The need to name objects that are not typically named in real life is eliminated in Plain English.

                C Offline
                C Offline
                Chris S Kaiser
                wrote on last edited by
                #24

                This actually sounds more complicated. Also using the word January, instead of an integer isn't efficient. I still think it has theoretical value, in the area of academia, but in business I can't see it. I can think faster in C# than I can in English at times. The English language frustrates me with its support of invalid logic. Such as the self elimintating statement: This Statement Is False. The language itself is corrupt and only works when the interpreter is on the same page with you. Too much is required to be interpreted. A pen is a thing, doesn't really mean anything. Too general and vague. How do you describe it? How do you determine its functioning? In this case its most likely visual, so an image would be needed, how do you associtate this pen with its image so that when you put it in the box the user can see it? Dunno, I'm trying to understand this some, but am missing it.

                What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                1 1 Reply Last reply
                0
                • L led mike

                  The Grand Negus wrote:

                  The ultimate test of a general purpose programming language is whether or not it can be used to reproduce itself.

                  So by definition your compiler is obsolete?

                  led mike

                  1 Offline
                  1 Offline
                  123 0
                  wrote on last edited by
                  #25

                  led mike wrote:

                  So by definition your compiler is obsolete?

                  Yes, as you say, the version used to produce the current version is now obsolete, but the current version which is being used now to produce the next version will only become obsolete then. Seriously, however, the neat thing about a natural language compiler is that the earlier "syntax" accepted by the now obsolete compiler is not obsolete because it was English then and it is still English now; in other words, natural languages - in spite of their tendency to mutate - are in some ways more stable than artificial languages (which tend to sudden obsolescence).

                  C 1 Reply Last reply
                  0
                  • C Chris S Kaiser

                    This actually sounds more complicated. Also using the word January, instead of an integer isn't efficient. I still think it has theoretical value, in the area of academia, but in business I can't see it. I can think faster in C# than I can in English at times. The English language frustrates me with its support of invalid logic. Such as the self elimintating statement: This Statement Is False. The language itself is corrupt and only works when the interpreter is on the same page with you. Too much is required to be interpreted. A pen is a thing, doesn't really mean anything. Too general and vague. How do you describe it? How do you determine its functioning? In this case its most likely visual, so an image would be needed, how do you associtate this pen with its image so that when you put it in the box the user can see it? Dunno, I'm trying to understand this some, but am missing it.

                    What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                    1 Offline
                    1 Offline
                    123 0
                    wrote on last edited by
                    #26

                    Chris S Kaiser wrote:

                    This actually sounds more complicated.

                    For whom? Grab an average person - not a programmer - and ask whether

                    How much was our electric bill last month?

                    is easier or harder to understand than

                    SELECT AMOUNT FROM BILLS WHERE MONTH=12 AND YEAR=2006 AND TYPE="ELECTRIC";

                    Chris S Kaiser wrote:

                    I still think it has theoretical value, in the area of academia, but in business I can't see it.

                    Can't see an upper-level manager turning to his PAL 3000 and asking, "Any messages, PAL?" or "When is that meeting with Jones, PAL?" or "Remind me next Monday, PAL, to take my files home with me. Okay?"

                    Chris S Kaiser wrote:

                    I can think faster in C# than I can in English at times.

                    I don't doubt it. But you think faster in English almost all the rest of the time. Like when you were composing the above sentence to communicate a thought to me!

                    Chris S Kaiser wrote:

                    The English language frustrates me with its support of invalid logic. Such as the self elimintating statement: This Statement Is False.

                    How about something like:

                    if ((x-1)==(x+1))...

                    English isn't the only language that supports nonsensical but syntactically correct statements.

                    Chris S Kaiser wrote:

                    The language itself is corrupt and only works when the interpreter is on the same page with you. Too much is required to be interpreted.

                    But see the "Subtle Bugs" forum for lots of examples where traditional environments are mis-interpreting what the programmer intends. And if this sort of thing is really so bad in English, then how can we compile English at the rate of 12,000 sentences per second on a bottom-of-the-line computer? And why did we - my son and I - have such an easy time writing our development system? Believe me, if it was hard or unnatural to do so in Plain English, we would have thrown it out and done something else - in fact, we did throw out several other working compilers for those very reasons. Including our own AIQ language that we used to write the first version of Plain English in!

                    Chris S Kaiser wrote:

                    A pen is a thing, doesn't really mean anything. Too general and vague.

                    I guess the three dots in the statement were n

                    C 1 Reply Last reply
                    0
                    • 1 123 0

                      Chris S Kaiser wrote:

                      This actually sounds more complicated.

                      For whom? Grab an average person - not a programmer - and ask whether

                      How much was our electric bill last month?

                      is easier or harder to understand than

                      SELECT AMOUNT FROM BILLS WHERE MONTH=12 AND YEAR=2006 AND TYPE="ELECTRIC";

                      Chris S Kaiser wrote:

                      I still think it has theoretical value, in the area of academia, but in business I can't see it.

                      Can't see an upper-level manager turning to his PAL 3000 and asking, "Any messages, PAL?" or "When is that meeting with Jones, PAL?" or "Remind me next Monday, PAL, to take my files home with me. Okay?"

                      Chris S Kaiser wrote:

                      I can think faster in C# than I can in English at times.

                      I don't doubt it. But you think faster in English almost all the rest of the time. Like when you were composing the above sentence to communicate a thought to me!

                      Chris S Kaiser wrote:

                      The English language frustrates me with its support of invalid logic. Such as the self elimintating statement: This Statement Is False.

                      How about something like:

                      if ((x-1)==(x+1))...

                      English isn't the only language that supports nonsensical but syntactically correct statements.

                      Chris S Kaiser wrote:

                      The language itself is corrupt and only works when the interpreter is on the same page with you. Too much is required to be interpreted.

                      But see the "Subtle Bugs" forum for lots of examples where traditional environments are mis-interpreting what the programmer intends. And if this sort of thing is really so bad in English, then how can we compile English at the rate of 12,000 sentences per second on a bottom-of-the-line computer? And why did we - my son and I - have such an easy time writing our development system? Believe me, if it was hard or unnatural to do so in Plain English, we would have thrown it out and done something else - in fact, we did throw out several other working compilers for those very reasons. Including our own AIQ language that we used to write the first version of Plain English in!

                      Chris S Kaiser wrote:

                      A pen is a thing, doesn't really mean anything. Too general and vague.

                      I guess the three dots in the statement were n

                      C Offline
                      C Offline
                      Chris S Kaiser
                      wrote on last edited by
                      #27

                      The Grand Negus wrote:

                      For whom? Grab an average person - not a programmer - and ask whether How much was our electric bill last month? is easier or harder to understand than SELECT AMOUNT FROM BILLS WHERE MONTH=12 AND YEAR=2006 AND TYPE="ELECTRIC";

                      Well, now you're talking about SQL. And you're also talking interface instead of programming.

                      The Grand Negus wrote:

                      Can't see an upper-level manager turning to his PAL 3000 and asking, "Any messages, PAL?" or "When is that meeting with Jones, PAL?" or "Remind me next Monday, PAL, to take my files home with me. Okay?"

                      Well, again, this is interface. Not programming. This is using the software, and I totally support speech recognition for the interface. But not the code.

                      The Grand Negus wrote:

                      I don't doubt it. But you think faster in English almost all the rest of the time. Like when you were composing the above sentence to communicate a thought to me!

                      True. But this is in the context of communicating with a human. I can't in English visualize a complex system of software as easy as I can in UML and C#. That would be the wrong tool for the job. For talking with you it happens to be the right tool for the job.

                      The Grand Negus wrote:

                      How about something like: if ((x-1)==(x+1))... English isn't the only language that supports nonsensical but syntactically correct statements.

                      I didn't say non-sensical. You've reinterpreted my English. Exactly my point. Logically the above statement is still valid. Where as my English statement isn't valid logic.

                      The Grand Negus wrote:

                      But see the "Subtle Bugs" forum for lots of examples where traditional environments are mis-interpreting what the programmer intends.

                      The environment isn't misinterpreting. The programmer is making mistakes.

                      The Grand Negus wrote:

                      And if this sort of thing is really so bad in English, then how can we compile English at the rate of 12,000 sentences per second on a bottom-of-the-line computer?

                      Controlled environment. Limited functionality. Why are nested ifs bad? And most is left up to the programmer to define. Too much work.

                      The Grand Negus wrote:

                      And why did we -

                      1 1 Reply Last reply
                      0
                      • 1 123 0

                        led mike wrote:

                        So by definition your compiler is obsolete?

                        Yes, as you say, the version used to produce the current version is now obsolete, but the current version which is being used now to produce the next version will only become obsolete then. Seriously, however, the neat thing about a natural language compiler is that the earlier "syntax" accepted by the now obsolete compiler is not obsolete because it was English then and it is still English now; in other words, natural languages - in spite of their tendency to mutate - are in some ways more stable than artificial languages (which tend to sudden obsolescence).

                        C Offline
                        C Offline
                        Chris S Kaiser
                        wrote on last edited by
                        #28

                        How is English natural and C# artificial. Both were created by humans.

                        What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                        1 1 Reply Last reply
                        0
                        • C Chris S Kaiser

                          How is English natural and C# artificial. Both were created by humans.

                          What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                          1 Offline
                          1 Offline
                          123 0
                          wrote on last edited by
                          #29

                          Chris S Kaiser wrote:

                          How is English natural and C# artificial. Both were created by humans.

                          The term "natural" in this context simply means "developed without conscious direction from humans" as opposed to "developed specifically by humans for a particular purpose". The former has arisen, naturally, over a long period of time and among a large group of people who weren't consciously trying to develop a language - they just wanted to communicate; no particular person or group of persons designed the thing. The latter was developed, however, by a small number of people, over a relatively short period of time, for a particular and limited purpose. I admit that there's overlap here and that difference is more of degree than kind; but practically speaking, the difference is tremendous. The natural language I am using right now has "withstood the test of time" and has been used to communicate thoughts about everything from numbers to love - not to mention the fact that it is readily understood by hundreds of millions of educated, uneducated, and other people who have very little else in common.

                          C 1 Reply Last reply
                          0
                          • 1 123 0

                            Chris S Kaiser wrote:

                            How is English natural and C# artificial. Both were created by humans.

                            The term "natural" in this context simply means "developed without conscious direction from humans" as opposed to "developed specifically by humans for a particular purpose". The former has arisen, naturally, over a long period of time and among a large group of people who weren't consciously trying to develop a language - they just wanted to communicate; no particular person or group of persons designed the thing. The latter was developed, however, by a small number of people, over a relatively short period of time, for a particular and limited purpose. I admit that there's overlap here and that difference is more of degree than kind; but practically speaking, the difference is tremendous. The natural language I am using right now has "withstood the test of time" and has been used to communicate thoughts about everything from numbers to love - not to mention the fact that it is readily understood by hundreds of millions of educated, uneducated, and other people who have very little else in common.

                            C Offline
                            C Offline
                            Chris S Kaiser
                            wrote on last edited by
                            #30

                            The Grand Negus wrote:

                            The term "natural" in this context simply means "developed without conscious direction from humans" as opposed to "developed specifically by humans for a particular purpose".

                            Can you prove this? The English language is based on an alphabet which is not natural, but is in fact code. No, I have to disagree here. English is just as artificial. And I'd have to also state that coding languages have also evolved over time to express what they intend, but just in a shorter span. Language in general is artificial. Not natural. I think you're stretching here and the only purpose for the distinction is to apply bias.

                            What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                            1 1 Reply Last reply
                            0
                            • C Chris S Kaiser

                              The Grand Negus wrote:

                              The term "natural" in this context simply means "developed without conscious direction from humans" as opposed to "developed specifically by humans for a particular purpose".

                              Can you prove this? The English language is based on an alphabet which is not natural, but is in fact code. No, I have to disagree here. English is just as artificial. And I'd have to also state that coding languages have also evolved over time to express what they intend, but just in a shorter span. Language in general is artificial. Not natural. I think you're stretching here and the only purpose for the distinction is to apply bias.

                              What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                              1 Offline
                              1 Offline
                              123 0
                              wrote on last edited by
                              #31

                              Chris S Kaiser wrote:

                              Can you prove this? The English language is based on an alphabet which is not natural, but is in fact code. No, I have to disagree here. English is just as artificial. And I'd have to also state that coding languages have also evolved over time to express what they intend, but just in a shorter span.

                              My God, you're argumentative! I didn't classify English and natural and C# as artificial; that division is common knowledge. Google a bit and see.

                              C 1 Reply Last reply
                              0
                              • C Chris S Kaiser

                                The Grand Negus wrote:

                                For whom? Grab an average person - not a programmer - and ask whether How much was our electric bill last month? is easier or harder to understand than SELECT AMOUNT FROM BILLS WHERE MONTH=12 AND YEAR=2006 AND TYPE="ELECTRIC";

                                Well, now you're talking about SQL. And you're also talking interface instead of programming.

                                The Grand Negus wrote:

                                Can't see an upper-level manager turning to his PAL 3000 and asking, "Any messages, PAL?" or "When is that meeting with Jones, PAL?" or "Remind me next Monday, PAL, to take my files home with me. Okay?"

                                Well, again, this is interface. Not programming. This is using the software, and I totally support speech recognition for the interface. But not the code.

                                The Grand Negus wrote:

                                I don't doubt it. But you think faster in English almost all the rest of the time. Like when you were composing the above sentence to communicate a thought to me!

                                True. But this is in the context of communicating with a human. I can't in English visualize a complex system of software as easy as I can in UML and C#. That would be the wrong tool for the job. For talking with you it happens to be the right tool for the job.

                                The Grand Negus wrote:

                                How about something like: if ((x-1)==(x+1))... English isn't the only language that supports nonsensical but syntactically correct statements.

                                I didn't say non-sensical. You've reinterpreted my English. Exactly my point. Logically the above statement is still valid. Where as my English statement isn't valid logic.

                                The Grand Negus wrote:

                                But see the "Subtle Bugs" forum for lots of examples where traditional environments are mis-interpreting what the programmer intends.

                                The environment isn't misinterpreting. The programmer is making mistakes.

                                The Grand Negus wrote:

                                And if this sort of thing is really so bad in English, then how can we compile English at the rate of 12,000 sentences per second on a bottom-of-the-line computer?

                                Controlled environment. Limited functionality. Why are nested ifs bad? And most is left up to the programmer to define. Too much work.

                                The Grand Negus wrote:

                                And why did we -

                                1 Offline
                                1 Offline
                                123 0
                                wrote on last edited by
                                #32

                                Chris S Kaiser wrote:

                                Can you show a body of a routine?

                                Sure. Download the sample from our website; there's three hundred lines of the stuff.

                                Chris S Kaiser wrote:

                                Maybe later, I don't have a half day to devote to it at the moment.

                                For a guy who's so busy, you sure spend a lot of time posting these forums!

                                C 1 Reply Last reply
                                0
                                • 1 123 0

                                  Chris S Kaiser wrote:

                                  Can you prove this? The English language is based on an alphabet which is not natural, but is in fact code. No, I have to disagree here. English is just as artificial. And I'd have to also state that coding languages have also evolved over time to express what they intend, but just in a shorter span.

                                  My God, you're argumentative! I didn't classify English and natural and C# as artificial; that division is common knowledge. Google a bit and see.

                                  C Offline
                                  C Offline
                                  Chris S Kaiser
                                  wrote on last edited by
                                  #33

                                  Now that's the pot calling the kettle black. You are making statements. You might not have classified it as such, but you are exploiting it for your purposes. When in reality both are indeed artificial.

                                  What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                                  1 Reply Last reply
                                  0
                                  • 1 123 0

                                    Chris S Kaiser wrote:

                                    Can you show a body of a routine?

                                    Sure. Download the sample from our website; there's three hundred lines of the stuff.

                                    Chris S Kaiser wrote:

                                    Maybe later, I don't have a half day to devote to it at the moment.

                                    For a guy who's so busy, you sure spend a lot of time posting these forums!

                                    C Offline
                                    C Offline
                                    Chris S Kaiser
                                    wrote on last edited by
                                    #34

                                    Yep, and this dissonance you'll have to sort out for yourself. I didn't say I am so busy by the way. I said I don't have a half day to devote to it at the moment. Thanks for putting words into my mouth.

                                    What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                                    J 1 Reply Last reply
                                    0
                                    • H hpjchobbes

                                      I apologize if this is the wrong place to ask this. I am still new here. I have been learning programming for a bit and have read through some books to get a basic understanding of languages and program coding. I have read "Accelerated C++" by Koenig/Moo, "Programming Visual C# 2005: The Language" by Donis Marshall, "Microsoft Visual C# 2005 Step-by-Step" by John Sharp. I feel that I have a good understanding of the C# language. I am now in the stages where I want to try to put this knowledge to use and reinforce my understanding. I'm having problems starting, though. I don't know how to 'begin' writing a program. I come up with an idea of a program that I would like to create. I start writing, but end up with just a big mess that doesn't work. In frustration I give up on the project. My code is messy and I run into problems that I didn't foresee and don't know how to tackle them. I've restarted a project a couple times as I seem to code myself into a dead end. I don't really know how to design a program and look ahead for potential pitfalls. I am looking for something that would walk a person through completion of a mildly complex program, starting from the design and planning phase and ending with a final release product. I would prefer if it didn't teach the language, as I have an understanding of that as well as reference books if I don't understand. I have looked at a lot of the computer books at my local bookstores but most just seem to be complete beginner books that teach the language, or advance books that assume you know what you are doing. I have tried to search on line for these 'intermediate' type of books, but I have have little luck. I may be using the wrong words to describe what I am looking for, though. Basically, just something to help me move from beginner to intermediate that shows/teaches good programming practices. Any references or suggestions on terms to use when searching would be greatly appreciated. Sorry about the long post.

                                      1 Offline
                                      1 Offline
                                      123 0
                                      wrote on last edited by
                                      #35

                                      I would like to offer you the opportunity, as an exercise, to re-code our Plain English development system in C#. You will learn how to design and write an interface, file manager, text editor, hex dumper, wysiwyg page layout facility, and - if you persevere - a native-code generating compiler/linker for Windows. We will provide source code and all necessary assistance free of charge. Simply contact me (help@osmosian.com) and we'll get started.

                                      1 Reply Last reply
                                      0
                                      • C Chris S Kaiser

                                        Yep, and this dissonance you'll have to sort out for yourself. I didn't say I am so busy by the way. I said I don't have a half day to devote to it at the moment. Thanks for putting words into my mouth.

                                        What's in a sig? This statement is false. Build a bridge and get over it. ~ Chris Maunder

                                        J Offline
                                        J Offline
                                        J4amieC
                                        wrote on last edited by
                                        #36

                                        Mazeltov, you just reached the same point with this guy as everybody else has/does. You pick apart his logic until there is nothing left - then he insults you or belittles you. Osmo, you are a waste of f'in space. begone.

                                        --- How to get answers to your questions[^]

                                        1 Reply Last reply
                                        0
                                        • H hpjchobbes

                                          Thanks for the reply. It actually isn't one specific program, I've tried many. Recipe/cooking software, personal schedule software, scaled down version of word processing, an Othello clone, etc. Ideas will pop into my head that don't seem that complex and I think that I'll be able to actually complete them, but I tend to get stuck and frustrated, mostly due to my lack of planing and design. I'll check out Code Complete. I have also been looking over the articles here at CP, though some of them are way over my head. Hopefully with time I'll be able to understand and even contribute!

                                          C Offline
                                          C Offline
                                          CodingYoshi
                                          wrote on last edited by
                                          #37

                                          hpjchobbes, Starting with writing a scaled down version of word processing is probably not the best idea as it might look simple but I think for begginning is pretty complex. I understand you know the languages, however, languages are just tools and you also need to learn how to use the tools. The best way is through practice as the same is true for any tools. You can start by reading books about Analysis and Design instead of programming lanuages--I reccommend OO Analysis and Design. For example, and don't take this as a desing advice, but from the top of my head if I was designing a scheduling software I will probably write a very general class called Schedule which will have the very general properties and behaviors of a schedule. Then have more specific classes--DailySchedule, WeeklySchedule, MonthlySchedule etc. Of course, this is just for scheduling part. You still need other classes for what you are scheduling: Are you scheduling dates, tasks etc? The worst way to program is by starting to code without any diagrams or pseudocode etc. Programming is like art: You start with an idea, rough sketch then go into details then decoration. Part of the reason you might be ending with a big mess is because you are not breaking your solution into smaller compartments. Break it down and make sure it compiles and behaves properly before you add further functionality. Anyways, good luck and I hope this helps. You can read a book about design, you might find it hard to understand because it is very complex but should check it out. The book is called "Design Patterns" by the Gang of Four. Farid

                                          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