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. Toolbox or legacy?

Toolbox or legacy?

Scheduled Pinned Locked Moved The Lounge
csharpc++phpasp-netcom
91 Posts 36 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.
  • P PJ Arends

    I can not speak for the web side of things, as I have never done any of that stuff (except for some SMTP email capabilities). But for desktop apps I will definitely be sticking to C++, with or without MFC. When I first joined CP the debate was between MFC and WTL. Many of the 'progressive' people were claiming that WTL was better because it did not require the 1MB runtime that came with MFC. Smaller, lighter footprint and all that. Now those same people (for the most part) are claiming that C#, with it's 21MB runtime is the better way to go. Come on guys, make up your minds, which is better? C++ with a relatively small footprint, that *may* take slightly longer to develop, or C# with it's huge runtime?


    You may be right
    I may be crazy
    -- Billy Joel --

    Within you lies the power for good, use it!!!

    J Offline
    J Offline
    Jorgen Sigvardsson
    wrote on last edited by
    #59

    PJ Arends wrote:

    Now those same people (for the most part) are claiming that C#

    Ahem. I'm not in the C#-crowd. :)

    -- No humans were probed in the making of this episode

    1 Reply Last reply
    0
    • L Lost User

      Are you sure it wasn't the pro-MFC crowd that now favour C#? I find it hard to imagine many WTL developers doing such a blatant 180 degree flip! :) :)


      Kicking squealing Gucci little piggy.

      J Offline
      J Offline
      Jorgen Sigvardsson
      wrote on last edited by
      #60

      Me neither. :~ WTL people are C++ lovers. They don't abandon a language because there's syntactic sugar and garbage collection on the other side of the fence.

      -- Bender's humor by Microsoft Joke

      1 Reply Last reply
      0
      • realJSOPR realJSOP

        Dario Solera wrote:

        there is no reason for using PHP for a new project

        When you're coding for a linux server that doesn't support asp... Man, the egos are so thick around here that you can almost hurt yourself when you bump up against one.

        "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
        -----
        "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

        J Offline
        J Offline
        Jorgen Sigvardsson
        wrote on last edited by
        #61

        John Simmons / outlaw programmer wrote:

        When you're coding for a linux server that doesn't support asp...

        If the choice is between ASP and PHP, I'll go for PHP on any platform.

        -- Transmitido en Martian en SAP

        L 1 Reply Last reply
        0
        • R Rohde

          Then it's good it's implemented as a separate thread I would say. It'd suck if the respirator had to crash just because the programmer forgot some deletes.

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

          Rohde wrote:

          It'd suck if the respirator had to crash just because the programmer forgot some deletes.

          In this kind of applications (embedded ones), heap is usually a no-no. Everything goes to stack, and there are no deletes.


          Programming Blog utf8-cpp

          1 Reply Last reply
          0
          • R Rocky Moore

            I have read a lot of posts over the years here on CP about developers "picking the right tool for the right job" or a given technology "is just another tool in the toolbox". Often when a battle occurs in the message boards about different technologies of which is better, there is always a few of those "it is just antoher tool in the toolbox" quotes. Okay, I will flaunt my age around here and say that I have been a programmer since 1981 and have plowed over many technologies (languages, frameworks, platforms) in that time. Some were great for development in the time they were used, but when new technologies appeared that made my life easier while still providing performance and maintainability, I would work with them until comfortable and then scrap the previous technology, not just cram it in my toolbox. The only time I would use the prior technologies is when I was forced to by either an employer or legacy code I had to maintain. Currently I work in C#/.NET and do not touch any other technology from the past. If I have a new project to build it will be C#/.NET. If work would come my way requiring a past technology (such as C/C++, PHP, etc) for new development, I would not take the work. To me it is a waste of my time to work on legacy systems when there is so much work to be done in the current technology I use. Anyone else out there that just loves technology and burns their bridges to past technology to remain focused on the current technology?

            Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Vista - Little Things

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

            That "latest" vs "legacy" dilemma simply makes no sense in my case. I typically work on the code that has a life span of 10+ years, running on various hardware and operating systems. Picking the latest hype is simply not an option. Sure, for the small projects that pop up in the meantime, I like to pick the current fad. Just trying to convince my managers to use Ajax for a little support application :)


            Programming Blog utf8-cpp

            R 1 Reply Last reply
            0
            • G Gary R Wheeler

              Jörgen, I think you, me, and John Simmonns are the last bastions of C++-ness here at CP.


              Software Zen: delete this;

              Fold With Us![^]

              C Offline
              C Offline
              Chris Losinger
              wrote on last edited by
              #64

              :wtf:

              image processing | blogging

              1 Reply Last reply
              0
              • G Gary R Wheeler

                Jörgen, I think you, me, and John Simmonns are the last bastions of C++-ness here at CP.


                Software Zen: delete this;

                Fold With Us![^]

                R Offline
                R Offline
                Ryan Binns
                wrote on last edited by
                #65

                Gary R. Wheeler wrote:

                Jörgen, I think you, me, and John Simmonns are the last bastions of C++-ness here at CP.

                *raises hand* Me too!

                Ryan

                "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

                1 Reply Last reply
                0
                • R Rocky Moore

                  Chris Losinger wrote:

                  all those technologies are old . SQL was created in the early 70s.

                  Old is not the issue, "better" is the point. You do not change to a new technology just because you feel like learning and using something new. The shift is only based on the benefits you gain from the new technology, minus the learning time/curve and the time it will take to move things forward. Once a person finds themselves comfortable with new technology that obsoletes their old technology, then to me, it is time to break from the old if you can and move on. There will never be a day I write a line of assembler again. Probably never a day I will do a line of C++ unless it is a performance or interace issue. Those tools are nto near as productive to me as the ones I use today, so it would cost me to use the legacy technologies.

                  Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Replacing Vista System HD & New things learned!

                  J Offline
                  J Offline
                  Josh Smith
                  wrote on last edited by
                  #66

                  Rocky Moore wrote:

                  You do not change to a new technology just because you feel like learning and using something new.

                  Speak for yourself! ;P I've been studying WPF for months now, just because I like it. :cool:

                  :josh: My WPF Blog[^]

                  R 1 Reply Last reply
                  0
                  • J Jorgen Sigvardsson

                    John Simmons / outlaw programmer wrote:

                    When you're coding for a linux server that doesn't support asp...

                    If the choice is between ASP and PHP, I'll go for PHP on any platform.

                    -- Transmitido en Martian en SAP

                    L Offline
                    L Offline
                    Luis Alonso Ramos
                    wrote on last edited by
                    #67

                    Joergen Sigvardsson wrote:

                    ASP

                    ASP is a thing of the past. What about ASP.NET?

                    Luis Alonso Ramos Intelectix Chihuahua, Mexico

                    Not much here: My CP Blog!

                    1 Reply Last reply
                    0
                    • A alex barylski

                      Actively developed...and very obsolete... :P Listen to what you just said...oxymoron anyone? The fact you suggest PHP is obsolete compared to ASP...or that it's antiquated...IMHO demonstrates your lack of experience in using PHP... For everything you can do in ASP.NET I can do in PHP 100 different ways because of the power in open source software...there are countless PHP frameworks each specializing in one market or another as well as bare bones generic ones like Zend, PEAR and others... Do yourself a favour and google both "PHP" and "ASP" you will see that PHP more than doubles ASP ;) The LAMP stack is the *most* popular configuration on the planet....no question about it...it's power and flexibility in open source...ASP is merely for newbies :P Just kidding of course...but the fact PHP is open source and based on C syntax...it has a tendancy to attract more advanced developers...coming from either years of experience in C/C++ who don't want to follow the path of C#...or those academically trained coming from a Java background... Yes PHP has short falls in some areas, particularly the object model isn't quite up to par yet, but a skilled disciplined developer doesn't absolutely need member access control, etc... I dropped my interest in ASP about 5 years ago...and picked up PERL...lost interest, took up PHP and I have never looked back...PHP does everything I want it to...faster, cleaner and better than any other web technology or language... Cheers :)

                      It's frustrating being a genius and living the life of a moron!!!

                      R Offline
                      R Offline
                      Rocky Moore
                      wrote on last edited by
                      #68

                      Hockey wrote:

                      The fact you suggest PHP is obsolete compared to ASP...or that it's antiquated...IMHO demonstrates your lack of experience in using PHP...

                      Come on, just because someone does not like PHP does not mean they do not know it, I used it for over a year in the past and it was a thrown together technology at best. IMHO, it does not even fit in the shadow of ASP.NET for any professional development.

                      Hockey wrote:

                      I dropped my interest in ASP about 5 years ago...and picked up PERL...lost interest, took up PHP

                      Actually, my experience was just the reverse, I played with PERL and did not care for it, then moved to PHP and later moved to ASP (even with the yucky VB script - still trying to forget those days), but once ASP.NET hit, there was no reason to look back. Even now, if for some reason I was to develop something on Linux it would be in mono, no sense in going backwards.

                      Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Replacing Vista System HD & New things learned!

                      realJSOPR 1 Reply Last reply
                      0
                      • D Dario Solera

                        Well, I agree with you in most of the points, but I just suggest you a real-world example. Fog Creek Software[^] (Joel Spolsky[^]'s Company), for FogBugz[^] developed their own compiler[^] for a special language, which targets PHP and classic ASP. This means that they can sell their product to almost any customer, both on Windows and Linux/Unix. Isn't it a great thing? Personally, I consider classic ASP way obsolete, I don't like PHP at all, but I think they're making money because they target the customer's needs, regardless of the available modern platforms and technologies.

                        ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 1.1 (1.0.7 is out)

                        R Offline
                        R Offline
                        Rocky Moore
                        wrote on last edited by
                        #69

                        Dario Solera wrote:

                        This means that they can sell their product to almost any customer, both on Windows and Linux/Unix. Isn't it a great thing?

                        You could just target it for ASP.NET and sell it on both with the use of Mono. Lots of movement in mono nowadays.

                        Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Replacing Vista System HD & New things learned!

                        A 1 Reply Last reply
                        0
                        • A Anand Vivek Srivastava

                          I am surprised that some people call C++ legacy. COBOL, FORTRAN or PASCAL would have been fine, but C++ is certainly not legacy. I gave a few interviews earlier this year, and everyone expected me to know C++, and sometimes Java as well, but no one talked about C#/.NET. But then I had applied in 'big' companies only.

                          R Offline
                          R Offline
                          Rocky Moore
                          wrote on last edited by
                          #70

                          Well, you do a monster search or other job search sites and you will see that unless you are targeting Linux or video game development, most jobs are .NET. While there are many that want C/C++ experience, it is often to either maintain legacy systems or to convert them. Even without the C/C++ experience, many are jobs only require VB.NET/C#.NET.

                          Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Replacing Vista System HD & New things learned!

                          1 Reply Last reply
                          0
                          • M Member 96

                            I don't think there is any question that in the world of programming using outdated legacy tools for new projects is just plain silly. I keep up with and use the latest technology. I'm on the toolbox side but to me that means a toolbox full of the latest and greatest, not a toolbox crammed with every tool ever invented.

                            R Offline
                            R Offline
                            Rocky Moore
                            wrote on last edited by
                            #71

                            Yeah, I agree with you. I have a toolbox, but not 20 different technology to do the same type of work. I have tools for web development under ASP.NET and tools for desktop applications under .NET. Other than that, it is just to costly to work older technologies.

                            Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Replacing Vista System HD & New things learned!

                            1 Reply Last reply
                            0
                            • C Christian Graus

                              Two observations 1 - adding a new tool to the toolbox, by definition, means the old tool gets used less. I bought a new drill, a chordless one. Being more portable means a lot on an 11 acre property - the powered one gets used a lot less, and I really reach for the new one by instinct now, where the old one always got used, now it gets used ONLY where I need the extra power it has, if both will do, I tend to use the new one. My old C++ days compared to my post C# C++ days work in a similar way 2 - the 'tool in the toolbox' thing is also a cliche. Someone one defended VB6 to me using this terminology ( fair enough ), and when I dug deeper, I found that he regards VB6 the right tool for EVERY job. So, even people who tie themselves to one technology will say this, because they've learned by example that it's the right way to look at the wrong approach :-)

                              Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog

                              R Offline
                              R Offline
                              Rocky Moore
                              wrote on last edited by
                              #72

                              Very good!

                              Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Replacing Vista System HD & New things learned!

                              1 Reply Last reply
                              0
                              • N Nemanja Trifunovic

                                That "latest" vs "legacy" dilemma simply makes no sense in my case. I typically work on the code that has a life span of 10+ years, running on various hardware and operating systems. Picking the latest hype is simply not an option. Sure, for the small projects that pop up in the meantime, I like to pick the current fad. Just trying to convince my managers to use Ajax for a little support application :)


                                Programming Blog utf8-cpp

                                R Offline
                                R Offline
                                Rocky Moore
                                wrote on last edited by
                                #73

                                Nemanja Trifunovic wrote:

                                Sure, for the small projects that pop up in the meantime, I like to pick the current fad

                                Limited to only small apps? ;) I know there are a few times when an applicatin can have a very long lifecycle without upgrade. One applicatino I built many years ago monitored alarms for an security alarm monitoring company. It was written orginally in C++/DOS but a few years down the road moved to a Win32 app, where it functioned until the company was sold this last year. The application worked and thus did not need anything from the new technology, but the requirements never changed either. Of course, this falls into maintaining legacy applications. Also, I am talking about moving to a technology when it is better than what you have and can replace your current means of development. Then and only then, I think it is time to remove that tool from the toolbox, there is not sense in starting new development with an older tool.

                                Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Replacing Vista System HD & New things learned!

                                1 Reply Last reply
                                0
                                • E El Corazon

                                  Gary R. Wheeler wrote:

                                  Jörgen, I think you, me, and John Simmonns are the last bastions of C++-ness here at CP.

                                  hardly. :) It's all of us in the real-time graphics. :)

                                  _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                  C Offline
                                  C Offline
                                  Chris Austin
                                  wrote on last edited by
                                  #74

                                  Don't know why you were voted down but I agree 100%. I am currently contracting with an organization producing a 3D real time video game. The team played a bit with managed direct x but we found it lacking both in performance and the seat of the pants feeling from the engine. There was some talk at looking at a managed OpenGl system as well but luckily it was voted down,

                                  A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long, Time Enough For Love

                                  E 1 Reply Last reply
                                  0
                                  • C Chris Austin

                                    Don't know why you were voted down but I agree 100%. I am currently contracting with an organization producing a 3D real time video game. The team played a bit with managed direct x but we found it lacking both in performance and the seat of the pants feeling from the engine. There was some talk at looking at a managed OpenGl system as well but luckily it was voted down,

                                    A human being should be able to change a diaper, plan an invasion, butcher a hog, conn a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects. - -Lazarus Long, Time Enough For Love

                                    E Offline
                                    E Offline
                                    El Corazon
                                    wrote on last edited by
                                    #75

                                    Chris Austin wrote:

                                    Don't know why you were voted down

                                    A) because it is from me (you never know) B) because they are tired of hearing an example where C++ still wins hands down. :)

                                    _________________________ Asu no koto o ieba, tenjo de nezumi ga warau. Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)

                                    1 Reply Last reply
                                    0
                                    • P peterchen

                                      I'd almost prefer Vista over Win 95...


                                      We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
                                      Linkify! || Fold With Us! || sighist

                                      B Offline
                                      B Offline
                                      Bradml
                                      wrote on last edited by
                                      #76

                                      And I would prefer Netscape over Telnet, doesn't mean it is a good option.

                                      Brad Australian Save the Glass House (Fill in the complaint form to the ABC) Glass House Home Page (May as well get hooked while you still can)

                                      1 Reply Last reply
                                      0
                                      • R Rocky Moore

                                        Dario Solera wrote:

                                        This means that they can sell their product to almost any customer, both on Windows and Linux/Unix. Isn't it a great thing?

                                        You could just target it for ASP.NET and sell it on both with the use of Mono. Lots of movement in mono nowadays.

                                        Rocky <>< Latest Code Blog Post: ASP.NET HttpException - Cannot use leading "..".. Latest Tech Blog Post: Replacing Vista System HD & New things learned!

                                        A Offline
                                        A Offline
                                        Ashley van Gerven
                                        wrote on last edited by
                                        #77

                                        Do you lose any functionality, performance or classes developing asp.net for mono?

                                        "For fifty bucks I'd put my face in their soup and blow." - George Costanza

                                        ~ Web SQL Utility - asp.net app to query Access, SQL server, MySQL. Stores history, favourites.

                                        1 Reply Last reply
                                        0
                                        • D Dario Solera

                                          I used to develop in PHP three years ago, and I became quite good. Then I discovered ASP.NET. Never ever looked back. :-D In my opinion, there is no reason for using PHP for a new project, even the smallest one. But maybe I'm being too drastic.

                                          ________________________________________________ Personal Blog [ITA] - Tech Blog [ENG] Developing ScrewTurn Wiki 1.1 (1.0.7 is out)

                                          A Offline
                                          A Offline
                                          Ashley van Gerven
                                          wrote on last edited by
                                          #78

                                          Dario Solera wrote:

                                          Never ever looked back.

                                          Same here. Asp.net just gives you so much more, and is far more structured IMO. But Visual Studio gives it an extra unfair advantage. Zend's PHP IDE is very slow - I think you need a very beefy PC to be productive in it. But PHP has some advantages over .net 1.1 - e.g. speed (i.e. no need to rebuild and grab a cup of coffee while refreshing the page :))

                                          "For fifty bucks I'd put my face in their soup and blow." - George Costanza

                                          ~ Web SQL Utility - asp.net app to query Access, SQL server, MySQL. Stores history, favourites.

                                          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