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. Size Matters

Size Matters

Scheduled Pinned Locked Moved The Weird and The Wonderful
com
21 Posts 12 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.
  • A Offline
    A Offline
    AspDotNetDev
    wrote on last edited by
    #1

    public class OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions {/*...*/}

    A 62-character class name that doesn't even make use of generics. The word "Order" appears 4 times. As always, live production code. :doh:

    [Forum Guidelines]

    L B E L R 8 Replies Last reply
    0
    • A AspDotNetDev

      public class OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions {/*...*/}

      A 62-character class name that doesn't even make use of generics. The word "Order" appears 4 times. As always, live production code. :doh:

      [Forum Guidelines]

      L Offline
      L Offline
      Luc Pattyn
      wrote on last edited by
      #2

      There must be at least one person happy about the newly introduced var keyword then. var ii=new OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions(); :)

      Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


      I only read formatted code with indentation, so please use PRE tags for code snippets.


      I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


      A J 2 Replies Last reply
      0
      • L Luc Pattyn

        There must be at least one person happy about the newly introduced var keyword then. var ii=new OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions(); :)

        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


        I only read formatted code with indentation, so please use PRE tags for code snippets.


        I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #3

        Visual Studio 2005 project :((

        [Forum Guidelines]

        L 1 Reply Last reply
        0
        • A AspDotNetDev

          Visual Studio 2005 project :((

          [Forum Guidelines]

          L Offline
          L Offline
          Luc Pattyn
          wrote on last edited by
          #4

          so it is upgrade time; or refactor time; or both... :)

          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


          I only read formatted code with indentation, so please use PRE tags for code snippets.


          I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


          A 1 Reply Last reply
          0
          • L Luc Pattyn

            so it is upgrade time; or refactor time; or both... :)

            Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


            I only read formatted code with indentation, so please use PRE tags for code snippets.


            I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


            A Offline
            A Offline
            AspDotNetDev
            wrote on last edited by
            #5

            Perhaps. If I have time tomorrow, I'm also going to convert a massive VB.net project (which was converted from VB6 code) to C#. :)

            [Forum Guidelines]

            L 1 Reply Last reply
            0
            • A AspDotNetDev

              Perhaps. If I have time tomorrow, I'm also going to convert a massive VB.net project (which was converted from VB6 code) to C#. :)

              [Forum Guidelines]

              L Offline
              L Offline
              Luc Pattyn
              wrote on last edited by
              #6

              aspdotnetdev wrote:

              VB6

              is that the language where variables got called like Excel cells: A, A1, A2, ..., B, B1, etc? Now which one do you prefer? :)

              Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


              I only read formatted code with indentation, so please use PRE tags for code snippets.


              I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


              1 Reply Last reply
              0
              • A AspDotNetDev

                public class OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions {/*...*/}

                A 62-character class name that doesn't even make use of generics. The word "Order" appears 4 times. As always, live production code. :doh:

                [Forum Guidelines]

                B Offline
                B Offline
                Bernhard Hiller
                wrote on last edited by
                #7

                How does the use of that class look like? Perhaps

                OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions myCurrentObjectOfOrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructionsForCustomerNumber1 = new OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions()

                J 1 Reply Last reply
                0
                • B Bernhard Hiller

                  How does the use of that class look like? Perhaps

                  OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions myCurrentObjectOfOrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructionsForCustomerNumber1 = new OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions()

                  J Offline
                  J Offline
                  Jeroen De Dauw
                  wrote on last edited by
                  #8

                  That proves he indeed should go for c# :)

                  Jeroen De Dauw
                  Blog ; Wiki

                  A 1 Reply Last reply
                  0
                  • L Luc Pattyn

                    There must be at least one person happy about the newly introduced var keyword then. var ii=new OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions(); :)

                    Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                    I only read formatted code with indentation, so please use PRE tags for code snippets.


                    I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                    J Offline
                    J Offline
                    Jammer 0
                    wrote on last edited by
                    #9

                    heh heh ...

                    Jammer My Blog | Articles | DMon | SampleSort

                    1 Reply Last reply
                    0
                    • J Jeroen De Dauw

                      That proves he indeed should go for c# :)

                      Jeroen De Dauw
                      Blog ; Wiki

                      A Offline
                      A Offline
                      AspDotNetDev
                      wrote on last edited by
                      #10

                      Huh? That is C#.

                      [Forum Guidelines]

                      L 1 Reply Last reply
                      0
                      • A AspDotNetDev

                        Huh? That is C#.

                        [Forum Guidelines]

                        L Offline
                        L Offline
                        Luc Pattyn
                        wrote on last edited by
                        #11

                        verbose, no semi-colons, no curly brackets; my bet is on VB.NET :)

                        Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                        I only read formatted code with indentation, so please use PRE tags for code snippets.


                        I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                        A 1 Reply Last reply
                        0
                        • L Luc Pattyn

                          verbose, no semi-colons, no curly brackets; my bet is on VB.NET :)

                          Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]


                          I only read formatted code with indentation, so please use PRE tags for code snippets.


                          I'm not participating in frackin' Q&A, so if you want my opinion, ask away in a real forum (or on my profile page).


                          A Offline
                          A Offline
                          AspDotNetDev
                          wrote on last edited by
                          #12

                          Nope, just bad C#. The VB.Net would actually be shorter in this case (assuming the "var" C# keyword can't be used):

                          Dim myCurrentObjectOfOrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructionsForCustomerNumber1 As _
                          New OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions()

                          [Forum Guidelines]

                          1 Reply Last reply
                          0
                          • A AspDotNetDev

                            public class OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions {/*...*/}

                            A 62-character class name that doesn't even make use of generics. The word "Order" appears 4 times. As always, live production code. :doh:

                            [Forum Guidelines]

                            E Offline
                            E Offline
                            Emilio Garavaglia
                            wrote on last edited by
                            #13

                            "Small is beautiful, but BIG is wonderful". (John Holmes)

                            2 bugs found. > recompile ... 65534 bugs found. :doh:

                            W 1 Reply Last reply
                            0
                            • E Emilio Garavaglia

                              "Small is beautiful, but BIG is wonderful". (John Holmes)

                              2 bugs found. > recompile ... 65534 bugs found. :doh:

                              W Offline
                              W Offline
                              WiGgLr
                              wrote on last edited by
                              #14

                              that sounds very American

                              L 1 Reply Last reply
                              0
                              • W WiGgLr

                                that sounds very American

                                L Offline
                                L Offline
                                leppie
                                wrote on last edited by
                                #15

                                WiGgLr wrote:

                                that sounds very American

                                The american version goes: Small is beautiful, but big is better. :)

                                xacc.ide
                                IronScheme - 1.0 RC 1 - out now!
                                ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

                                1 Reply Last reply
                                0
                                • A AspDotNetDev

                                  public class OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions {/*...*/}

                                  A 62-character class name that doesn't even make use of generics. The word "Order" appears 4 times. As always, live production code. :doh:

                                  [Forum Guidelines]

                                  L Offline
                                  L Offline
                                  leppie
                                  wrote on last edited by
                                  #16

                                  At least it is not:

                                  public class OrdrBtchCustmrOrdrOrdrShpToOrdrShpCarrInstrs {/*...*/}

                                  xacc.ide
                                  IronScheme - 1.0 RC 1 - out now!
                                  ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

                                  G 1 Reply Last reply
                                  0
                                  • A AspDotNetDev

                                    public class OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions {/*...*/}

                                    A 62-character class name that doesn't even make use of generics. The word "Order" appears 4 times. As always, live production code. :doh:

                                    [Forum Guidelines]

                                    R Offline
                                    R Offline
                                    RugbyLeague
                                    wrote on last edited by
                                    #17

                                    Apple code always used to have very long field and function names

                                    1 Reply Last reply
                                    0
                                    • A AspDotNetDev

                                      public class OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions {/*...*/}

                                      A 62-character class name that doesn't even make use of generics. The word "Order" appears 4 times. As always, live production code. :doh:

                                      [Forum Guidelines]

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

                                      Still it's better than using shorthands like OBCOOStoOSCI :doh:

                                      Greetings - Jacek

                                      1 Reply Last reply
                                      0
                                      • A AspDotNetDev

                                        public class OrderBatchCustomerOrderOrderShipToOrderShipCarrierInstructions {/*...*/}

                                        A 62-character class name that doesn't even make use of generics. The word "Order" appears 4 times. As always, live production code. :doh:

                                        [Forum Guidelines]

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

                                        aspdotnetdev wrote:

                                        The word "Order" appears 4 times

                                        Was it in bold? Maybe it was a (re)tired Web Developer who wrote this. :laugh: [^]

                                        Greetings - Jacek

                                        1 Reply Last reply
                                        0
                                        • L leppie

                                          At least it is not:

                                          public class OrdrBtchCustmrOrdrOrdrShpToOrdrShpCarrInstrs {/*...*/}

                                          xacc.ide
                                          IronScheme - 1.0 RC 1 - out now!
                                          ((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) The Scheme Programming Language – Fourth Edition

                                          G Offline
                                          G Offline
                                          Gary R Wheeler
                                          wrote on last edited by
                                          #20

                                          public class OBCOOSTOSCInstrs { /*...*/ }

                                          Software Zen: delete this;
                                          Fold With Us![^]

                                          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