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. Back to C#.

Back to C#.

Scheduled Pinned Locked Moved The Lounge
csharpc++
36 Posts 20 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.
  • N Nemanja Trifunovic

    I ran away from C# and got back to real programming some five years ago, and have been happy ever since. Today I found out I was assigned on a C# web project. Welcome back view states, postbacks, properties, dispose patterns and other "joys" I hoped I would never see again :) On the bright side, I can still use vim for editing code.

    utf8-cpp

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

    What's wrong with properties? I'm glad I don't have to do that silly verbose get/set thing anymore..

    N S 2 Replies Last reply
    0
    • L Lost User

      What's wrong with properties? I'm glad I don't have to do that silly verbose get/set thing anymore..

      N Offline
      N Offline
      Nemanja Trifunovic
      wrote on last edited by
      #5

      harold aptroot wrote:

      silly verbose get/set thing anymore..

      Properties are just a little less verbose but still silly get/set things that look like member fields even if they are really methods.

      utf8-cpp

      T 1 Reply Last reply
      0
      • M Mladen Jankovic

        Nemanja Trifunovic wrote:

        view states, postbacks

        Come on - don't blame C# for everything.

        [Genetic Algorithm Library] [Wowd]

        N Offline
        N Offline
        Nemanja Trifunovic
        wrote on last edited by
        #6

        Mladen Jankovic wrote:

        don't blame C# for everything.

        Yes - strictly speaking I should blame ASP.NET web forms for those, but the fact remains I never see them when programming with some other language (VB does not qualify as "other").

        utf8-cpp

        J OriginalGriffO T 3 Replies Last reply
        0
        • N Nemanja Trifunovic

          I ran away from C# and got back to real programming some five years ago, and have been happy ever since. Today I found out I was assigned on a C# web project. Welcome back view states, postbacks, properties, dispose patterns and other "joys" I hoped I would never see again :) On the bright side, I can still use vim for editing code.

          utf8-cpp

          A Offline
          A Offline
          Abhinav S
          wrote on last edited by
          #7

          Think of it this way - you can always tell the client it "will be fixed in Microsoft's next service pack".

          The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick Visit the Hindi forum here.

          1 Reply Last reply
          0
          • N Nemanja Trifunovic

            I ran away from C# and got back to real programming some five years ago, and have been happy ever since. Today I found out I was assigned on a C# web project. Welcome back view states, postbacks, properties, dispose patterns and other "joys" I hoped I would never see again :) On the bright side, I can still use vim for editing code.

            utf8-cpp

            T Offline
            T Offline
            Todd Smith
            wrote on last edited by
            #8

            Convert it to ASP.NET MVC and half of those atrocities will disappear.

            Todd Smith

            R N 2 Replies Last reply
            0
            • N Nemanja Trifunovic

              Mladen Jankovic wrote:

              don't blame C# for everything.

              Yes - strictly speaking I should blame ASP.NET web forms for those, but the fact remains I never see them when programming with some other language (VB does not qualify as "other").

              utf8-cpp

              J Offline
              J Offline
              Jim Crafton
              wrote on last edited by
              #9

              Actually blame the dipshit developers for forcing app development onto HTTP.

              ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

              N 1 Reply Last reply
              0
              • N Nemanja Trifunovic

                Mladen Jankovic wrote:

                don't blame C# for everything.

                Yes - strictly speaking I should blame ASP.NET web forms for those, but the fact remains I never see them when programming with some other language (VB does not qualify as "other").

                utf8-cpp

                OriginalGriffO Offline
                OriginalGriffO Offline
                OriginalGriff
                wrote on last edited by
                #10

                Nemanja Trifunovic wrote:

                I never see them when programming with some other language (VB does not qualify as "other language").

                FTFY!

                Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together.

                "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
                "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

                1 Reply Last reply
                0
                • T Todd Smith

                  Convert it to ASP.NET MVC and half of those atrocities will disappear.

                  Todd Smith

                  R Offline
                  R Offline
                  Rajesh R Subramanian
                  wrote on last edited by
                  #11

                  Jargons like that make me want to go to something simpler - like x86 assembly. :laugh:

                  There are some really weird people on this planet - MIM.

                  1 Reply Last reply
                  0
                  • T Todd Smith

                    Convert it to ASP.NET MVC and half of those atrocities will disappear.

                    Todd Smith

                    N Offline
                    N Offline
                    Nemanja Trifunovic
                    wrote on last edited by
                    #12

                    Todd Smith wrote:

                    Convert it to ASP.NET MVC

                    Not a very realistic option for such a big project, even if it was up to me to decide, which is not :)

                    utf8-cpp

                    T E 2 Replies Last reply
                    0
                    • J Jim Crafton

                      Actually blame the dipshit developers for forcing app development onto HTTP.

                      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

                      N Offline
                      N Offline
                      Nemanja Trifunovic
                      wrote on last edited by
                      #13

                      Jim Crafton wrote:

                      Actually blame the dipshit developers for forcing app development onto HTTP.

                      I agree. However, the web forms model of trying to cover up the stateless nature of HTTP really does more harm than good.

                      utf8-cpp

                      1 Reply Last reply
                      0
                      • N Nemanja Trifunovic

                        I ran away from C# and got back to real programming some five years ago, and have been happy ever since. Today I found out I was assigned on a C# web project. Welcome back view states, postbacks, properties, dispose patterns and other "joys" I hoped I would never see again :) On the bright side, I can still use vim for editing code.

                        utf8-cpp

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

                        Nemanja Trifunovic wrote:

                        Today I found out I was assigned on a C# web project.

                        They really seem to be playing musical chairs where you work. :)

                        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
                        • N Nemanja Trifunovic

                          I ran away from C# and got back to real programming some five years ago, and have been happy ever since. Today I found out I was assigned on a C# web project. Welcome back view states, postbacks, properties, dispose patterns and other "joys" I hoped I would never see again :) On the bright side, I can still use vim for editing code.

                          utf8-cpp

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

                          Going "back to C#" would be a bit like going "back to the future", eh? :-D

                          Nemanja Trifunovic wrote:

                          view states

                          It's good that ASP.Net automatically manages that for you, and allows you to customize it, eh?

                          Nemanja Trifunovic wrote:

                          postbacks

                          Or you could use AJAX. Or just JavaScript. Or Silverlight (using C# and, if necessary, web services). Or not develop for the web.

                          Nemanja Trifunovic wrote:

                          properties

                          Which now have a short syntax, and which also allow you to modify a DLL to add functionality later (e.g., if you decide you want to grab a value from the web.config rather than a private constant member) without having to change the code that relies on it. A nifty feature, IMO.

                          Nemanja Trifunovic wrote:

                          dispose patterns

                          Yeah, pointers and manual memory management were so much more "fun".

                          Nemanja Trifunovic wrote:

                          vim for editing code

                          Nemanja Trifunovic wrote:

                          I ran away from C# and got back to real programming some five years ago, and have been happy ever since.

                          I guess some people just like a challenge. You seem like just the type of person who would enjoy QuickBasic 4.5 with some inline machine code. That way, you get a crappy editor AND you can program for one of the hardest possible languages to use. ;)

                          [Forum Guidelines]

                          N 1 Reply Last reply
                          0
                          • A AspDotNetDev

                            Going "back to C#" would be a bit like going "back to the future", eh? :-D

                            Nemanja Trifunovic wrote:

                            view states

                            It's good that ASP.Net automatically manages that for you, and allows you to customize it, eh?

                            Nemanja Trifunovic wrote:

                            postbacks

                            Or you could use AJAX. Or just JavaScript. Or Silverlight (using C# and, if necessary, web services). Or not develop for the web.

                            Nemanja Trifunovic wrote:

                            properties

                            Which now have a short syntax, and which also allow you to modify a DLL to add functionality later (e.g., if you decide you want to grab a value from the web.config rather than a private constant member) without having to change the code that relies on it. A nifty feature, IMO.

                            Nemanja Trifunovic wrote:

                            dispose patterns

                            Yeah, pointers and manual memory management were so much more "fun".

                            Nemanja Trifunovic wrote:

                            vim for editing code

                            Nemanja Trifunovic wrote:

                            I ran away from C# and got back to real programming some five years ago, and have been happy ever since.

                            I guess some people just like a challenge. You seem like just the type of person who would enjoy QuickBasic 4.5 with some inline machine code. That way, you get a crappy editor AND you can program for one of the hardest possible languages to use. ;)

                            [Forum Guidelines]

                            N Offline
                            N Offline
                            Nemanja Trifunovic
                            wrote on last edited by
                            #16

                            aspdotnetdev wrote:

                            eh?

                            Meh. Btw - it was not me who downvoted your post.

                            utf8-cpp

                            modified on Wednesday, September 22, 2010 3:17 PM

                            1 Reply Last reply
                            0
                            • N Nemanja Trifunovic

                              I ran away from C# and got back to real programming some five years ago, and have been happy ever since. Today I found out I was assigned on a C# web project. Welcome back view states, postbacks, properties, dispose patterns and other "joys" I hoped I would never see again :) On the bright side, I can still use vim for editing code.

                              utf8-cpp

                              C Offline
                              C Offline
                              CPallini
                              wrote on last edited by
                              #17

                              I'm happy with Lua and C at the moment. I've already the moon, so no regrets for the discarded OOP. :rolleyes:

                              If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                              This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                              [My articles]

                              1 Reply Last reply
                              0
                              • L Lost User

                                What's wrong with properties? I'm glad I don't have to do that silly verbose get/set thing anymore..

                                S Offline
                                S Offline
                                Shog9 0
                                wrote on last edited by
                                #18

                                If you use public member data (er, "fields") you don't have to do the get/set thing regardless...

                                L 1 Reply Last reply
                                0
                                • S Shog9 0

                                  If you use public member data (er, "fields") you don't have to do the get/set thing regardless...

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

                                  I don't know.. I thought that was against some Holy Design Rule? :)

                                  1 Reply Last reply
                                  0
                                  • N Nemanja Trifunovic

                                    harold aptroot wrote:

                                    silly verbose get/set thing anymore..

                                    Properties are just a little less verbose but still silly get/set things that look like member fields even if they are really methods.

                                    utf8-cpp

                                    T Offline
                                    T Offline
                                    tec goblin
                                    wrote on last edited by
                                    #20

                                    You are the first person I've ever seen don't liking Properties. They are syntactic sugar but they make the code concise and understandable. Yes they are methods, you know they are, they start with a capital letter, but what's the problem about that?

                                    P 1 Reply Last reply
                                    0
                                    • N Nemanja Trifunovic

                                      I ran away from C# and got back to real programming some five years ago, and have been happy ever since. Today I found out I was assigned on a C# web project. Welcome back view states, postbacks, properties, dispose patterns and other "joys" I hoped I would never see again :) On the bright side, I can still use vim for editing code.

                                      utf8-cpp

                                      T Offline
                                      T Offline
                                      tec goblin
                                      wrote on last edited by
                                      #21

                                      Wait, what's your problem about dispose patterns?

                                      1 Reply Last reply
                                      0
                                      • N Nemanja Trifunovic

                                        Todd Smith wrote:

                                        Convert it to ASP.NET MVC

                                        Not a very realistic option for such a big project, even if it was up to me to decide, which is not :)

                                        utf8-cpp

                                        T Offline
                                        T Offline
                                        tec goblin
                                        wrote on last edited by
                                        #22

                                        I definetely don't see why.

                                        1 Reply Last reply
                                        0
                                        • N Nemanja Trifunovic

                                          Mladen Jankovic wrote:

                                          don't blame C# for everything.

                                          Yes - strictly speaking I should blame ASP.NET web forms for those, but the fact remains I never see them when programming with some other language (VB does not qualify as "other").

                                          utf8-cpp

                                          T Offline
                                          T Offline
                                          tec goblin
                                          wrote on last edited by
                                          #23

                                          Try Salesforce and APEX. It is java-like, with the most bugful studio I've ever seen and it heavily uses the view state. It's slow and its CHEAT SHEET of platform limitations (in terms of number of queries etc) is 9 pages long.

                                          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