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. This months WDM

This months WDM

Scheduled Pinned Locked Moved The Lounge
csharpc++javatutorialquestion
58 Posts 19 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.
  • C Christian Graus

    Nemanja Trifunovic wrote: Let me know when you start learning Haskell - I may join you. Funny you mention that, my boss has been showing me some Haskell recently and I've decided to learn it soon. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
    C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
    It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

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

    Haskell is pretty darn fun. Although, I've never done anything serious with it. Perfect language for teaching type theory. :) -- Chatai. Yana ra Yakana ro futisha ta?

    1 Reply Last reply
    0
    • C Christian Graus

      peterchen wrote: C++ is much harder than C# I disagree. It's got more features, that does not mean you need to use them. peterchen wrote: If C++ came with a decent array and string class from the very beginning, my life would have been much better I know it's controversial - but STL ain't the answer to this quesiton. I agree, partially. STL *does* answer this question, and not being there in the beginning is irrelevant to new projects. peterchen wrote: Properties are fun! No argument here. But I don't see the link to GUI development, much less how they are more than just 'fun'. They are syntactic sugar, not a showstopper. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
      C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
      It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

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

      Christian Graus wrote: No argument here. But I don't see the link to GUI development, much less how they are more than just 'fun'. They are syntactic sugar, not a showstopper. I for one would like to see that syntactic sugar implemented. But only if you can treat them as first class citizens - i.e. being able to take the adress of them (and consequently reference them). That could indeed be interesting! -- Chatai. Yana ra Yakana ro futisha ta?

      C 1 Reply Last reply
      0
      • J Jorgen Sigvardsson

        Christian Graus wrote: No argument here. But I don't see the link to GUI development, much less how they are more than just 'fun'. They are syntactic sugar, not a showstopper. I for one would like to see that syntactic sugar implemented. But only if you can treat them as first class citizens - i.e. being able to take the adress of them (and consequently reference them). That could indeed be interesting! -- Chatai. Yana ra Yakana ro futisha ta?

        C Offline
        C Offline
        Christian Graus
        wrote on last edited by
        #34

        Jörgen Sigvardsson wrote: i.e. being able to take the adress of them (and consequently reference them). But how would that work ? If I have a string property, but it really stores and retrieves a value from the database, what would the address point to ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
        C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
        It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

        J 1 Reply Last reply
        0
        • C Christian Graus

          peterchen wrote: C++ is much harder than C# I disagree. It's got more features, that does not mean you need to use them. peterchen wrote: If C++ came with a decent array and string class from the very beginning, my life would have been much better I know it's controversial - but STL ain't the answer to this quesiton. I agree, partially. STL *does* answer this question, and not being there in the beginning is irrelevant to new projects. peterchen wrote: Properties are fun! No argument here. But I don't see the link to GUI development, much less how they are more than just 'fun'. They are syntactic sugar, not a showstopper. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
          C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
          It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

          P Offline
          P Offline
          peterchen
          wrote on last edited by
          #35

          well, I'm fine with most of these points - as long as I'm developing on my own. However, if you go into a team, and have to work with different libraries, things change: one likes this, one likes that. Lib A uses this feature, Lib B uses that. For an "industrial strength" project you need to be fluid in most features. Properties can be more than syntactic sugar: used properly, they gurantee and enforce a certain style (e.g. setting .Background to Red does redraw immediately). So, while being syntactic sugar, they make liefe easier. STL: to use it as simple vector-and-string it's very crude syntactically, and ignores it's real power (which needs much deeper understanding of both templates, and the STL architecture. But well, that's my pet peeve with it: For most jobs it's to perfect a tool...


          So many people long for eternity that don't know what to do on a rainy sunday afternoon.
          [sighist] | [Agile Programming] [doxygen]
          If you look for evil in me you will find it whether it's there or not.

          C 1 Reply Last reply
          0
          • P peterchen

            well, I'm fine with most of these points - as long as I'm developing on my own. However, if you go into a team, and have to work with different libraries, things change: one likes this, one likes that. Lib A uses this feature, Lib B uses that. For an "industrial strength" project you need to be fluid in most features. Properties can be more than syntactic sugar: used properly, they gurantee and enforce a certain style (e.g. setting .Background to Red does redraw immediately). So, while being syntactic sugar, they make liefe easier. STL: to use it as simple vector-and-string it's very crude syntactically, and ignores it's real power (which needs much deeper understanding of both templates, and the STL architecture. But well, that's my pet peeve with it: For most jobs it's to perfect a tool...


            So many people long for eternity that don't know what to do on a rainy sunday afternoon.
            [sighist] | [Agile Programming] [doxygen]
            If you look for evil in me you will find it whether it's there or not.

            C Offline
            C Offline
            Christian Graus
            wrote on last edited by
            #36

            peterchen wrote: Properties can be more than syntactic sugar: used properly, they gurantee and enforce a certain style (e.g. setting .Background to Red does redraw immediately). So, while being syntactic sugar, they make liefe easier. How does this differ to setting.SetBackground( RGB(255, 0, 0)) also enforcing a redraw ? It's the same thing, a set method instead of a raw variable. peterchen wrote: to use it as simple vector-and-string it's very crude syntactically, and ignores it's real power True, just as it's possible to use C++ and ignore other powerful features. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
            C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
            It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

            P 1 Reply Last reply
            0
            • C Christian Graus

              peterchen wrote: Properties can be more than syntactic sugar: used properly, they gurantee and enforce a certain style (e.g. setting .Background to Red does redraw immediately). So, while being syntactic sugar, they make liefe easier. How does this differ to setting.SetBackground( RGB(255, 0, 0)) also enforcing a redraw ? It's the same thing, a set method instead of a raw variable. peterchen wrote: to use it as simple vector-and-string it's very crude syntactically, and ignores it's real power True, just as it's possible to use C++ and ignore other powerful features. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
              C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
              It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

              P Offline
              P Offline
              peterchen
              wrote on last edited by
              #37

              Christian Graus wrote: How does this differ to setting.SetBackground( RGB(255, 0, 0)) you obviously never worked with a library that required you to call ResetImage, or ReinitializeImage, or both, after such a grave change ;) I agree, the same thing can be achieved without properties. And properties can be abused as well. ok ok... they are sugar - but I like candy! :cool: off to bed now... good nite.


              So many people long for eternity that don't know what to do on a rainy sunday afternoon.
              [sighist] | [Agile Programming] [doxygen]
              If you look for evil in me you will find it whether it's there or not.

              1 Reply Last reply
              0
              • C Christian Graus

                Terry Denham wrote: but it sounds like once your make up your mind, you are intractable. LOL - I'll admit to being pig headed, that's for sure. But my slow but steady conversion to C# would hopfully indicate that I can keep an open mind, and change my position, although whatever my position is, I'm likely to fight hard for it :) Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

                T Offline
                T Offline
                Terry Denham
                wrote on last edited by
                #38

                Christian Graus wrote: slow but steady conversion to C# I just went out and looked at your article count. Man have you been busy writing stuff in C#. I can't wait to get off this year two year long project and work with some new stuff. :cool:

                C 1 Reply Last reply
                0
                • C Christian Graus

                  Terry Denham wrote: but it sounds like once your make up your mind, you are intractable. LOL - I'll admit to being pig headed, that's for sure. But my slow but steady conversion to C# would hopfully indicate that I can keep an open mind, and change my position, although whatever my position is, I'm likely to fight hard for it :) Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                  C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                  It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

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

                  Christian Graus wrote: LOL - I'll admit to being pig headed, that's for sure. It must be getting harder and harder to hide this as you get older. I suggest growing a beard. ;P Michael Martin Australia mjm68@tpg.com.au "I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end." - Chris Maunder 15/07/2002

                  C 1 Reply Last reply
                  0
                  • T Terry Denham

                    Christian Graus wrote: slow but steady conversion to C# I just went out and looked at your article count. Man have you been busy writing stuff in C#. I can't wait to get off this year two year long project and work with some new stuff. :cool:

                    C Offline
                    C Offline
                    Christian Graus
                    wrote on last edited by
                    #40

                    Terry Denham wrote: Man have you been busy writing stuff in C#. *grin* The image processing articles were my first C# code. I admit to being selfish, my magazine and CP articles are all written to give me projects to help me learn stuff. Now that I use C# at work, I am using J2EE at home. I do miss C++, but for the time being my skill level is high enough that I'm better off building skills elsewhere. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                    C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                    It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

                    K 1 Reply Last reply
                    0
                    • L Lost User

                      Christian Graus wrote: LOL - I'll admit to being pig headed, that's for sure. It must be getting harder and harder to hide this as you get older. I suggest growing a beard. ;P Michael Martin Australia mjm68@tpg.com.au "I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end." - Chris Maunder 15/07/2002

                      C Offline
                      C Offline
                      Christian Graus
                      wrote on last edited by
                      #41

                      Hi Michael. Have I told you to get stuffed lately ? :) So how's life in Sydney ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                      C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                      It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

                      L 1 Reply Last reply
                      0
                      • C Christian Graus

                        Jörgen Sigvardsson wrote: i.e. being able to take the adress of them (and consequently reference them). But how would that work ? If I have a string property, but it really stores and retrieves a value from the database, what would the address point to ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                        C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                        It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

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

                        As I was writing an example to show you what I meant, I discovered my error. :) Such pointers and references could never be true first class citizens of the language. Sure, this would work:

                        std::string* p = &obj.Prop;
                        *p = "This string will invoke obj.Prop.set()";

                        But the pointer type itself would not be compatible with a "real" std::string*. One would not be able to access public data members for instance, since the pointer doesn't really point to a memory location. I guess it could be possible by adding a "property reference" construct, but that would just make the language look more like VB. Ok then, I stand corrected. I won't need properties in C++. :) -- Chatai. Yana ra Yakana ro futisha ta?

                        1 Reply Last reply
                        0
                        • C Christian Graus

                          Hi Michael. Have I told you to get stuffed lately ? :) So how's life in Sydney ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                          C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                          It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

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

                          Christian Graus wrote: Hi Michael. Have I told you to get stuffed lately ? :) NO, and oh how I have missed it. :-D Christian Graus wrote: So how's life in Sydney ? Wouldn't know. I'm in Sydney but not having a life. Income is not covering expenses (car lease, board, bills, MC) and stress is just a tad over extreme at the moment. Extra work with consultancy is slow after the Christmas break, TAFE still hasn't got back to me about lecturing at night and my wife is still trying to get a job after 7 or 8 years without. How's sunny Tasmania? Michael Martin Australia mjm68@tpg.com.au "I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end." - Chris Maunder 15/07/2002

                          C 1 Reply Last reply
                          0
                          • L Lost User

                            Christian Graus wrote: Hi Michael. Have I told you to get stuffed lately ? :) NO, and oh how I have missed it. :-D Christian Graus wrote: So how's life in Sydney ? Wouldn't know. I'm in Sydney but not having a life. Income is not covering expenses (car lease, board, bills, MC) and stress is just a tad over extreme at the moment. Extra work with consultancy is slow after the Christmas break, TAFE still hasn't got back to me about lecturing at night and my wife is still trying to get a job after 7 or 8 years without. How's sunny Tasmania? Michael Martin Australia mjm68@tpg.com.au "I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end." - Chris Maunder 15/07/2002

                            C Offline
                            C Offline
                            Christian Graus
                            wrote on last edited by
                            #44

                            Michael Martin wrote: NO, and oh how I have missed it Well, get ready..... Michael Martin wrote: TAFE still hasn't got back to me about lecturing at night What are you going to lecture on ? I've often contemplated running an adult ed course, is that the sort of thing you mean ? Michael Martin wrote: my wife is still trying to get a job after 7 or 8 years without. That can be tough. Donna has managed it, she's actually full time now, and her trouble is more people want her than there are hours in the day. Michael Martin wrote: How's sunny Tasmania? Really busy. But I got my new guitar today, so life is looking good. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                            C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                            It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

                            L 1 Reply Last reply
                            0
                            • C Christian Graus

                              In WDM this month is an article on why we should use C# over C++ '95% of the time'. It's not on the website, but if you don't have the mag, the gist of it is that C++ is too hard. It's anti C++ example is that C++ did not always have a string class, and it's pro C# example is properties, which it says are essential for developing GUI's, and the existence of the standards committee, which it says is the reason that C++ does not have properties. He also says that Sun has committed suicide by litigating Microsoft out of access to Java. I'm just astounded. Has anyone else read this drivel ? Does anyone agree with him ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                              C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                              It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

                              F Offline
                              F Offline
                              Fazlul Kabir
                              wrote on last edited by
                              #45

                              Christian Graus wrote: In WDM this month is an article on why we should use C# over C++ '95% of the time'. I think you meant this article of "Visual Studio Magazine".. http://www.fawcette.com/vsm/2002_12/online/csharp_bwagner_12_16_02/default.asp[^] Christian Graus wrote: which it says is the reason that C++ does not have properties That's not quite true. Microsoft C++ compiler supports properties. Also, most of the advantages we get from C# have nothing to do with the language itself, but it is the .NET framework that lets us to write code productively.

                              C 1 Reply Last reply
                              0
                              • F Fazlul Kabir

                                Christian Graus wrote: In WDM this month is an article on why we should use C# over C++ '95% of the time'. I think you meant this article of "Visual Studio Magazine".. http://www.fawcette.com/vsm/2002_12/online/csharp_bwagner_12_16_02/default.asp[^] Christian Graus wrote: which it says is the reason that C++ does not have properties That's not quite true. Microsoft C++ compiler supports properties. Also, most of the advantages we get from C# have nothing to do with the language itself, but it is the .NET framework that lets us to write code productively.

                                C Offline
                                C Offline
                                Christian Graus
                                wrote on last edited by
                                #46

                                Fazlul Kabir wrote: I think you meant this article of "Visual Studio Magazine".. You think that do you ? Well, I'm afraid you're about as wrong as anyone can be, the flat earth society included. Fazlul Kabir wrote: That's not quite true. Microsoft C++ compiler supports properties. How ? Do you mean properties in COM components ? Fazlul Kabir wrote: Also, most of the advantages we get from C# have nothing to do with the language itself, but it is the .NET framework that lets us to write code productively. That's another question entirely. There is no doubt that while the .NET framework misses some stuff that C++ has in it's libraries, the reverse is also true. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                                C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                                It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

                                F 1 Reply Last reply
                                0
                                • C Christian Graus

                                  Michael Martin wrote: NO, and oh how I have missed it Well, get ready..... Michael Martin wrote: TAFE still hasn't got back to me about lecturing at night What are you going to lecture on ? I've often contemplated running an adult ed course, is that the sort of thing you mean ? Michael Martin wrote: my wife is still trying to get a job after 7 or 8 years without. That can be tough. Donna has managed it, she's actually full time now, and her trouble is more people want her than there are hours in the day. Michael Martin wrote: How's sunny Tasmania? Really busy. But I got my new guitar today, so life is looking good. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                                  C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                                  It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

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

                                  Christian Graus wrote: What are you going to lecture on ? I've often contemplated running an adult ed course, is that the sort of thing you mean ? TAFE here in Richmond has an IT department that runs Certificate and Diploma level courses. I would be lecturing some of them where my real world experience covers what is needed. It would look good on the resume, keep me closer to technology than my current job as well as possibly getting my enthusiasm for technoly going again. Also it pays $48.00 an hour so I wouldn't mind that either. Christian Graus wrote: That can be tough. Donna has managed it, she's actually full time now, and her trouble is more people want her than there are hours in the day. My wife is looking at a job that is 20 hours a week. This would fit in with my son's school and my daughters pre-school hours. The few days a week Bridget doesn't go to pre-school we have family and friends who could look after her. If she gets the job shes looking at we will be about $180 a week better off after tax and government benefits are removed. Not much but every little bit counts. Christian Graus wrote: Really busy. But I got my new guitar today, so life is looking good. I need to find something completely different to do but can't find anything at the moment. Couldn't do anything at home with everyone there to fuck it up. I would really love to get back to the gym, but need to have the money to do it. Michael Martin Australia mjm68@tpg.com.au "I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end." - Chris Maunder 15/07/2002

                                  1 Reply Last reply
                                  0
                                  • C Christian Graus

                                    In WDM this month is an article on why we should use C# over C++ '95% of the time'. It's not on the website, but if you don't have the mag, the gist of it is that C++ is too hard. It's anti C++ example is that C++ did not always have a string class, and it's pro C# example is properties, which it says are essential for developing GUI's, and the existence of the standards committee, which it says is the reason that C++ does not have properties. He also says that Sun has committed suicide by litigating Microsoft out of access to Java. I'm just astounded. Has anyone else read this drivel ? Does anyone agree with him ? Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                                    C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                                    It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

                                    C Offline
                                    C Offline
                                    Chris Maunder
                                    wrote on last edited by
                                    #48

                                    The statements about the future of C++ are confusing at best. On one hand we have Nick Hodapp, Microsoft's C++ Product Manager, busting his ass to try and ensure C++ is on everyone's radar screen under the ambush of .NET marketing, and on the other we have the latest issue of MSDN writing off the massive C++ changes with a few words about WinForms support and ISO compliance. As far as I'm concerned VS.NET 2003 is all about C++, and from what I'm hearing the changes we'll get in VS.NET 2003 are only the beginning - but no one seems to want to listen. C# is certainly a lovely language to work with - far better than it's ugly brother VB.NET - but to say that C# should be used 95% of the time is a little misleading. For writing ASP.NET pages - sure - but for native or mixed mode coding C# isn't even an option. BTW - Check out this: The latest VS.NET T-shirt. cheers, Chris Maunder

                                    F C K P S 5 Replies Last reply
                                    0
                                    • C Christian Graus

                                      Fazlul Kabir wrote: I think you meant this article of "Visual Studio Magazine".. You think that do you ? Well, I'm afraid you're about as wrong as anyone can be, the flat earth society included. Fazlul Kabir wrote: That's not quite true. Microsoft C++ compiler supports properties. How ? Do you mean properties in COM components ? Fazlul Kabir wrote: Also, most of the advantages we get from C# have nothing to do with the language itself, but it is the .NET framework that lets us to write code productively. That's another question entirely. There is no doubt that while the .NET framework misses some stuff that C++ has in it's libraries, the reverse is also true. Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                                      C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                                      It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

                                      F Offline
                                      F Offline
                                      Fazlul Kabir
                                      wrote on last edited by
                                      #49

                                      Christian Graus wrote: You think that do you ? Well, I'm afraid you're about as wrong as anyone can be, the flat earth society included. LOL. Honestly, I didn't see the WDM article, but I'd like to read it. I guess both articles have some interesting coincidence, given their similar title and time of publication. Sorry for the confusion. Christian Graus wrote: How ? Do you mean properties in COM components ? No, through Microsoft C++ compiler's "property" keyword. The declaration works like this: __declspec(property(get=GetCaption,put=SetCaption)) CString Caption; CString GetCaption(); void SetCaption(CString ); Once declared and implemented, a user can "get" or "set" the property just like .NET's property: CString strProperty = myObj.Caption; myObj.Caption = "some name"; // Fazlul

                                      1 Reply Last reply
                                      0
                                      • C Chris Maunder

                                        The statements about the future of C++ are confusing at best. On one hand we have Nick Hodapp, Microsoft's C++ Product Manager, busting his ass to try and ensure C++ is on everyone's radar screen under the ambush of .NET marketing, and on the other we have the latest issue of MSDN writing off the massive C++ changes with a few words about WinForms support and ISO compliance. As far as I'm concerned VS.NET 2003 is all about C++, and from what I'm hearing the changes we'll get in VS.NET 2003 are only the beginning - but no one seems to want to listen. C# is certainly a lovely language to work with - far better than it's ugly brother VB.NET - but to say that C# should be used 95% of the time is a little misleading. For writing ASP.NET pages - sure - but for native or mixed mode coding C# isn't even an option. BTW - Check out this: The latest VS.NET T-shirt. cheers, Chris Maunder

                                        F Offline
                                        F Offline
                                        Fazlul Kabir
                                        wrote on last edited by
                                        #50

                                        Chris Maunder wrote: but to say that C# should be used 95% of the time is a little misleading. For writing ASP.NET pages - sure - but for native or mixed mode coding C# isn't even an option. I second that wholeheartedly. // Fazlul

                                        1 Reply Last reply
                                        0
                                        • C Chris Maunder

                                          The statements about the future of C++ are confusing at best. On one hand we have Nick Hodapp, Microsoft's C++ Product Manager, busting his ass to try and ensure C++ is on everyone's radar screen under the ambush of .NET marketing, and on the other we have the latest issue of MSDN writing off the massive C++ changes with a few words about WinForms support and ISO compliance. As far as I'm concerned VS.NET 2003 is all about C++, and from what I'm hearing the changes we'll get in VS.NET 2003 are only the beginning - but no one seems to want to listen. C# is certainly a lovely language to work with - far better than it's ugly brother VB.NET - but to say that C# should be used 95% of the time is a little misleading. For writing ASP.NET pages - sure - but for native or mixed mode coding C# isn't even an option. BTW - Check out this: The latest VS.NET T-shirt. cheers, Chris Maunder

                                          C Offline
                                          C Offline
                                          Christian Graus
                                          wrote on last edited by
                                          #51

                                          Chris Maunder wrote: on the other we have the latest issue of MSDN writing off the massive C++ changes with a few words about WinForms support and ISO compliance But MSDN mag has been run by morons and C# marketing weenies for quite some time. I'm not surprised. Chris Maunder wrote: C# is certainly a lovely language to work with Agreed. Chris Maunder wrote: but for native or mixed mode coding C# isn't even an option. Agreed there also. The guy was trying to pimp his C# book as far as I can see, I can't see why else anyone would propogate such drivel. His comments about C++ indicate to me that he's never really learned how to use it. Chris Maunder wrote: BTW - Check out this: The latest VS.NET T-shirt. That is SO, SO cool. How do I go about aquiring one ? ( seriously, can I buy one from anywhere ? ) Christian No offense, but I don't really want to encourage the creation of another VB developer. - Larry Antram 22 Oct 2002
                                          C# will attract all comers, where VB is for IT Journalists and managers - Michael P Butler 05-12-2002
                                          It'd probably be fairly easy to make a bot that'd post random stupid VB questions, and nobody would probably ever notice - benjymous - 21-Jan-2003

                                          F 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