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. The Weird and The Wonderful
  4. Studying informatics...

Studying informatics...

Scheduled Pinned Locked Moved The Weird and The Wonderful
c++csharpdata-structurestutorial
13 Posts 9 Posters 4 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.
  • P Paul Conrad

    What does your post have anything to do with Coding Horrors?

    "I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon

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

    Visual C++ 6.0 compiler bugs (yes we use it).

    maybe this.

    "Love thy neighbor.................... ..Whenever your marriage in in trouble"

    1 Reply Last reply
    0
    • P Paul Conrad

      What does your post have anything to do with Coding Horrors?

      "I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon

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

      Well, using methods like fil and st would constitute a coding horror. I guess this one fits.

      Deja View - the feeling that you've seen this post before.

      My blog | My articles

      P 1 Reply Last reply
      0
      • L Lutoslaw

        In this semester I've got a new subject: "Object-oriented programming". * We learn how to bypass Visual C++ 6.0 compiler bugs (yes we use it). * To show good OOP practices, we are told that a Student class should contain a non-static Write method which does not take any arguments. This method should write content of all Student objects from an array (stored as a global variable) to a file with a hard-coded name "student.bz" in a very plain text format. * All class names must definitely begin with 'C' and structures with 'T'. * Public members like 'fil' (FileName), 'st' (Student) or 'c' (Count) are perfectly o.k. and there is no need to comment them anywhere. * Finally, our knowledge is tested by writing a code snippet on a sheet of paper. You missed a semicolon or an #include directive -- sorry you fail. Sweet.

        Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

        C Offline
        C Offline
        Corinna John
        wrote on last edited by
        #5

        It's the same with my university. They teach us horrible coding style and rely on our future employers to fix the mess in out heads. Luckily nobody studies informatics without any coding experience. I don't want to know how such a poor guy would write code later on... Anyway, you are well off with C++. We had to write Java and Pascal snippets on paper.

        _____________________________________________________ This statement is false.

        1 Reply Last reply
        0
        • L Lutoslaw

          In this semester I've got a new subject: "Object-oriented programming". * We learn how to bypass Visual C++ 6.0 compiler bugs (yes we use it). * To show good OOP practices, we are told that a Student class should contain a non-static Write method which does not take any arguments. This method should write content of all Student objects from an array (stored as a global variable) to a file with a hard-coded name "student.bz" in a very plain text format. * All class names must definitely begin with 'C' and structures with 'T'. * Public members like 'fil' (FileName), 'st' (Student) or 'c' (Count) are perfectly o.k. and there is no need to comment them anywhere. * Finally, our knowledge is tested by writing a code snippet on a sheet of paper. You missed a semicolon or an #include directive -- sorry you fail. Sweet.

          Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

          D Offline
          D Offline
          DevSolar
          wrote on last edited by
          #6

          I wouldn't say writing first-year exams on paper is necessarily a bad thing. It takes away auto-correct, Intellisense, reference material. It takes away the option of trial-and-error coding. I wrote all my C++ exams except the final one on paper. As for the rest... get that bloke fired. Please. I don't want to have anyone following a coding style like that to ever come near me. :^)

          L T 2 Replies Last reply
          0
          • D DevSolar

            I wouldn't say writing first-year exams on paper is necessarily a bad thing. It takes away auto-correct, Intellisense, reference material. It takes away the option of trial-and-error coding. I wrote all my C++ exams except the final one on paper. As for the rest... get that bloke fired. Please. I don't want to have anyone following a coding style like that to ever come near me. :^)

            L Offline
            L Offline
            Lutoslaw
            wrote on last edited by
            #7

            DevSolar wrote:

            It takes away auto-correct, Intellisense, reference material. It takes away the option of trial-and-error coding.

            I agree, however in my opinion a paper exam is good for theroetical-ideological questions or block diagrams, not for implementation. Maybe the first one, when we are supposed to be aware of language syntax is ok. But it seems that all my future exams will look like this, as it's the only way to test programming abilites of a ~200 men group (+8 girls). Maybe the next generation of students will finally have a spoj.pl- or topcoder.com-like system. I'd like that.

            Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

            1 Reply Last reply
            0
            • D DevSolar

              I wouldn't say writing first-year exams on paper is necessarily a bad thing. It takes away auto-correct, Intellisense, reference material. It takes away the option of trial-and-error coding. I wrote all my C++ exams except the final one on paper. As for the rest... get that bloke fired. Please. I don't want to have anyone following a coding style like that to ever come near me. :^)

              T Offline
              T Offline
              Tristan Rhodes
              wrote on last edited by
              #8

              I don't agree. I learned most of what i know by reading all the intellisense methods + documentation of objects, and without trial and error noone would ever be a coder. That said, i used C# and read object documentation as a hobby...

              ------------------------------- Carrier Bags - 21st Century Tumbleweed.

              L M 2 Replies Last reply
              0
              • P Pete OHanlon

                Well, using methods like fil and st would constitute a coding horror. I guess this one fits.

                Deja View - the feeling that you've seen this post before.

                My blog | My articles

                P Offline
                P Offline
                Paul Conrad
                wrote on last edited by
                #9

                Yes, those would definitely be horrific :rolleyes:

                "I guess it's what separates the professionals from the drag and drop, girly wirly, namby pamby, wishy washy, can't code for crap types." - Pete O'Hanlon

                1 Reply Last reply
                0
                • T Tristan Rhodes

                  I don't agree. I learned most of what i know by reading all the intellisense methods + documentation of objects, and without trial and error noone would ever be a coder. That said, i used C# and read object documentation as a hobby...

                  ------------------------------- Carrier Bags - 21st Century Tumbleweed.

                  L Offline
                  L Offline
                  Lutoslaw
                  wrote on last edited by
                  #10

                  And that's why I state that exams should verify a knowledge which cannot be gained from documentation. "Hey, there is ain't knowledge which wouldn't be in documentation" you say. Huh, then ask a "senior programmist" and he'll give you a 30-min speech on the topic: "Why you should be on my lectures instead of reading damn stupid books not written by me or surfing the Internet.". Well, I think he'll be right in most cases.

                  Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

                  1 Reply Last reply
                  0
                  • L Lutoslaw

                    In this semester I've got a new subject: "Object-oriented programming". * We learn how to bypass Visual C++ 6.0 compiler bugs (yes we use it). * To show good OOP practices, we are told that a Student class should contain a non-static Write method which does not take any arguments. This method should write content of all Student objects from an array (stored as a global variable) to a file with a hard-coded name "student.bz" in a very plain text format. * All class names must definitely begin with 'C' and structures with 'T'. * Public members like 'fil' (FileName), 'st' (Student) or 'c' (Count) are perfectly o.k. and there is no need to comment them anywhere. * Finally, our knowledge is tested by writing a code snippet on a sheet of paper. You missed a semicolon or an #include directive -- sorry you fail. Sweet.

                    Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

                    J Offline
                    J Offline
                    jhwurmbach
                    wrote on last edited by
                    #11

                    gajatko wrote:

                    In this semester I've got a new subject: "Object-oriented programming". [Bogus misuse of object orientation]

                    Flee! As fast as you can. You are to be brainwashed.

                    Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
                    Douglas Adams, "Dirk Gently's Holistic Detective Agency"

                    L 1 Reply Last reply
                    0
                    • J jhwurmbach

                      gajatko wrote:

                      In this semester I've got a new subject: "Object-oriented programming". [Bogus misuse of object orientation]

                      Flee! As fast as you can. You are to be brainwashed.

                      Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
                      Douglas Adams, "Dirk Gently's Holistic Detective Agency"

                      L Offline
                      L Offline
                      Lutoslaw
                      wrote on last edited by
                      #12

                      Oh com'n we've got sooo much mathematics here. I couldn't just leave it. A lot of unrevealed algebra awaits... :-D

                      Greetings - Gajatko Portable.NET is part of DotGNU, a project to build a complete Free Software replacement for .NET - a system that truly belongs to the developers.

                      1 Reply Last reply
                      0
                      • T Tristan Rhodes

                        I don't agree. I learned most of what i know by reading all the intellisense methods + documentation of objects, and without trial and error noone would ever be a coder. That said, i used C# and read object documentation as a hobby...

                        ------------------------------- Carrier Bags - 21st Century Tumbleweed.

                        M Offline
                        M Offline
                        Megidolaon
                        wrote on last edited by
                        #13

                        Heh, I do about the same. Especially since the Microsoft documentation is a bad joke as it doesn't actually contain any more information than the tooltips in VS. And the vast majority of articles on websites like this one or in books, which aren't about the basics of the basics, rely too much on the context. If you want to know more about class x, the articles usually don't provide much information on the general usage and behavior but only in the specific context of the example, which barely ever has the slight similarity to do with what you need it for. Also, the vast majority of all programming exams consist of scribbling on paper. If not, they usually consist of doing a project and sending in the result. Paper is okay, at least if the reviewer isn't too strict. Subtracting too many points for missing semicolons and such is just stupid. Anyway, the topic really belongs here. Sounds like college/University the creator attends teaches a lot of bad practices.

                        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