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. Which programming language you like the most and why?

Which programming language you like the most and why?

Scheduled Pinned Locked Moved The Lounge
question
57 Posts 36 Posters 1 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.
  • OriginalGriffO OriginalGriff

    Ah - a C++ programmer.

    Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

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

    That would be "I have a foot, and it's now full of holes"

    Forgive your enemies - it messes with their heads

    "Mind bleach! Send me mind bleach!" - Nagy Vilmos

    My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility

    1 Reply Last reply
    0
    • T thrakazog

      nikunjbhatt84 wrote:

      Is there any other feature(s) that you wish to present in the language you are working on?

      Multiple inheritance. :sigh:

      Kill some time, play my game Hop Cheops[^]

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #15

      Oh please no! Multiple inheritance opens such a large bag of pain. Interfaces give you that [to some degree] and I don't want any more.


      Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

      T P N R 4 Replies Last reply
      0
      • N Nikunj_Bhatt

        Which programming language you like the most and why? What feature(s) you love the most? Is there any other feature(s) that you wish to present in the language you are working on?

        M Offline
        M Offline
        mla154
        wrote on last edited by
        #16

        C# is my favorite.  Here's why: http://www.codeproject.com/Members/mla154#_comments[^]

        Regards, Mike

        N 1 Reply Last reply
        0
        • N Nagy Vilmos

          Oh please no! Multiple inheritance opens such a large bag of pain. Interfaces give you that [to some degree] and I don't want any more.


          Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

          T Offline
          T Offline
          thrakazog
          wrote on last edited by
          #17

          You don't have to use it if you don't like it. But .05% of the time it could come in handy. And I want it!

          Kill some time, play my game Hop Cheops[^]

          L N 2 Replies Last reply
          0
          • T thrakazog

            You don't have to use it if you don't like it. But .05% of the time it could come in handy. And I want it!

            Kill some time, play my game Hop Cheops[^]

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

            Just a theory, but I would guess that then 99.99999999% of those times you would impliment and two months later say to yourself "ohhhhhh thats why that is not .Net compliant" ;) Just saying, it seems like it would be good up front (I thought the same when I realized I couldn't). But there is actually logical reasoning for it. Kind of like why things are base 0 index.

            Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.

            1 Reply Last reply
            0
            • T thrakazog

              You don't have to use it if you don't like it. But .05% of the time it could come in handy. And I want it!

              Kill some time, play my game Hop Cheops[^]

              N Offline
              N Offline
              Nagy Vilmos
              wrote on last edited by
              #19

              I want a 24-hour live video link to Salma Hayek, but I can't have it.


              Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

              1 Reply Last reply
              0
              • T thrakazog

                nikunjbhatt84 wrote:

                Is there any other feature(s) that you wish to present in the language you are working on?

                Multiple inheritance. :sigh:

                Kill some time, play my game Hop Cheops[^]

                S Offline
                S Offline
                Steve Mayfield
                wrote on last edited by
                #20

                I'd be really happy if I just get an inheritance from Bill G or Steve J :rolleyes:

                Steve _________________ I C(++) therefore I am

                1 Reply Last reply
                0
                • N Nikunj_Bhatt

                  Which programming language you like the most and why? What feature(s) you love the most? Is there any other feature(s) that you wish to present in the language you are working on?

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

                  OCaml - because it does not have nulls.

                  utf8-cpp

                  1 Reply Last reply
                  0
                  • N Nikunj_Bhatt

                    Which programming language you like the most and why? What feature(s) you love the most? Is there any other feature(s) that you wish to present in the language you are working on?

                    P Offline
                    P Offline
                    PIEBALDconsult
                    wrote on last edited by
                    #22

                    SQL. Because it's the best way to access and manipulate the data I need to access and mess with, and I can use it via a number of other (general-purpose) programming languages (C#, VB.net, C, etc.) as appropriate.

                    R N 2 Replies Last reply
                    0
                    • N Nikunj_Bhatt

                      Which programming language you like the most and why? What feature(s) you love the most? Is there any other feature(s) that you wish to present in the language you are working on?

                      G Offline
                      G Offline
                      Gregory Gadow
                      wrote on last edited by
                      #23

                      LOLCode, because it makes me smile.

                      1 Reply Last reply
                      0
                      • L Lost User

                        You forgot about Bacon. Lots and lots of Bacon. [Edit] Who in their right mind would 1 vote a Bacon post???? Good god for the love of bacon!?!?

                        Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.

                        R Offline
                        R Offline
                        Rick York
                        wrote on last edited by
                        #24

                        That's a new language I am working on. Like many language names, it's actually an acronym : Binary Abstraction of Code and Other Notations

                        1 Reply Last reply
                        0
                        • OriginalGriffO OriginalGriff

                          Surprisingly (and it did surprise me) C# - if I discount Assembler. Features I'd like added? Not really, but I'd like var removed except for Linq returns.

                          Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

                          J Offline
                          J Offline
                          JimmyRopes
                          wrote on last edited by
                          #25

                          OriginalGriff wrote:

                          I'd like var removed except for Linq returns.

                          var in C# is not like var in some other languages. The var in C# is strongly typed based on what the type is of the object assigning to it. Quite a bit different than being loosely typed.

                          The report of my death was an exaggeration - Mark Twain
                          Simply Elegant Designs JimmyRopes Designs
                          Think inside the box! ProActive Secure Systems
                          I'm on-line therefore I am. JimmyRopes

                          OriginalGriffO 1 Reply Last reply
                          0
                          • N Nagy Vilmos

                            Oh please no! Multiple inheritance opens such a large bag of pain. Interfaces give you that [to some degree] and I don't want any more.


                            Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                            P Offline
                            P Offline
                            PIEBALDconsult
                            wrote on last edited by
                            #26

                            Nagy Vilmos wrote:

                            Interfaces give you that

                            The heck it does.

                            1 Reply Last reply
                            0
                            • N Nagy Vilmos

                              Oh please no! Multiple inheritance opens such a large bag of pain. Interfaces give you that [to some degree] and I don't want any more.


                              Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

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

                              Nagy Vilmos wrote:

                              Multiple inheritance opens such a large bag of pain

                              Not at all.

                              utf8-cpp

                              1 Reply Last reply
                              0
                              • J JimmyRopes

                                OriginalGriff wrote:

                                I'd like var removed except for Linq returns.

                                var in C# is not like var in some other languages. The var in C# is strongly typed based on what the type is of the object assigning to it. Quite a bit different than being loosely typed.

                                The report of my death was an exaggeration - Mark Twain
                                Simply Elegant Designs JimmyRopes Designs
                                Think inside the box! ProActive Secure Systems
                                I'm on-line therefore I am. JimmyRopes

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

                                I agree - which is why I see it's use and even necessity for Linq. But other than that, it is a sign of laziness, and of "I don't care what this is and I can't be bothered to work it out". Given Intellisense is pretty good, most of the time I have to type no more characters to get the actual type I am going to use than to get var. So which is easier to maintain? Strongly (but anonymously) typed variables, or the actual class name?

                                Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

                                "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

                                R 1 Reply Last reply
                                0
                                • OriginalGriffO OriginalGriff

                                  I agree - which is why I see it's use and even necessity for Linq. But other than that, it is a sign of laziness, and of "I don't care what this is and I can't be bothered to work it out". Given Intellisense is pretty good, most of the time I have to type no more characters to get the actual type I am going to use than to get var. So which is easier to maintain? Strongly (but anonymously) typed variables, or the actual class name?

                                  Real men don't use instructions. They are only the manufacturers opinion on how to put the thing together. Manfred R. Bihy: "Looks as if OP is learning resistant."

                                  R Offline
                                  R Offline
                                  Rob Grainger
                                  wrote on last edited by
                                  #29

                                  I see both points of view, but

                                  SqlCommand command = new SqlCommand();

                                  Seems a bit redundant. I prefer "var" there (especially for generic types). Most other times I use the type - it helps keep code readable. Maybe you should be arguing for coding standards where you work that codify these things (always a shame you need to tell people). Better still, stop employing sloppy programmers.

                                  R A 2 Replies Last reply
                                  0
                                  • N Nagy Vilmos

                                    Oh please no! Multiple inheritance opens such a large bag of pain. Interfaces give you that [to some degree] and I don't want any more.


                                    Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

                                    R Offline
                                    R Offline
                                    Rob Grainger
                                    wrote on last edited by
                                    #30

                                    Nagy Vilmos wrote:

                                    Multiple inheritance opens such a large bag of pain

                                    I call you out there - C++'s implementation offers a whole bag of pain, but try it in SELF and you'll see that its an incredibly powerful technique. The main problem is that in statically typed languages, inheritance is often confused with typing. Dynamically typed languages don't have this problem, so you can freely mixin behaviour. I'd like to see a type-safe language with something more like duck-typing - allowing non-related classes to be polymorphic if they have the same interface (not a Java/COM-style interface, but real interface). i.e. two objects are polymorphic on the set of common methods they have, regardless of their relationship through inheritance. C#'s extension methods attempt to fill the same gap - adding features to existing classes (and interfaces), but do so only by compromising OO - these are all static methods, can't be overridden, etc.

                                    1 Reply Last reply
                                    0
                                    • P PIEBALDconsult

                                      SQL. Because it's the best way to access and manipulate the data I need to access and mess with, and I can use it via a number of other (general-purpose) programming languages (C#, VB.net, C, etc.) as appropriate.

                                      R Offline
                                      R Offline
                                      Rob Grainger
                                      wrote on last edited by
                                      #31

                                      Really, I've always thought SQL was a hardship we have to endure. To whit... 1. Dates. WTF?!!?? No real standard support for dates. 2. Joins. WTF is that fugly syntax. 3. Aggregattion and grouping. WTF. 4. Use of DISTINCT (it should be implicit in every query) There's plenty more, but it always struck me as a butt-ugly language, poorly designed for the task in hand. I mean honestly, a language for accessing relational databases that fails to be even relational: SQL Criticism[^]

                                      P 1 Reply Last reply
                                      0
                                      • N Nikunj_Bhatt

                                        Which programming language you like the most and why? What feature(s) you love the most? Is there any other feature(s) that you wish to present in the language you are working on?

                                        B Offline
                                        B Offline
                                        BobJanova
                                        wrote on last edited by
                                        #32

                                        Of the conventional languages, C# is excellent. One thing which is missing (related to the multiple inheritance thing) is a way of specifying that you implement an interface through a member field; this would simplify the provider based approach to multiple inheritance workarounds significantly. For example let's say we want to 'inherit'

                                        class A {
                                        void DoAStuff() {}
                                        void DoStuff(int i) {}
                                        }

                                        class B {
                                        int BStuff { get; set; }
                                        void DoStuff(int i) {}
                                        }

                                        class C: A, B { ... }

                                        This exposes a common problem in multiple inheritance, a 'common' method (what is C.DoStuff)? At the moment you can have interfaces IA and IB and have C implement both through member fields:

                                        interface IA { void DoAStuff(); void DoStuff(int i); }
                                        interface IB { int BStuff { get; set; } void DoStuff(int i); }

                                        class A : IA {
                                        void DoAStuff() {}
                                        void DoStuff(int i) {}
                                        }

                                        class B : IB {
                                        int BStuff { get; set; }
                                        void DoStuff(int i) {}
                                        }

                                        class C: IA, IB {
                                        A a; B b;

                                        void IA.DoAStuff() { a.DoAStuff(); }
                                        // ... etc
                                        }

                                        What I want is

                                        class C: IA, IB {
                                        A a implements IA = new A();
                                        B b implements IB = new B();
                                        }

                                        Also, I want array operations, particularly arithmetic. Writing

                                        for(int i = 0; i < a.length; i++) c[i] = (2 * a[i]) + b[i];

                                        ... is tedious and obfuscating. I should be able to write

                                        c = (2 * a) + b;

                                        Given a free choice, a modern APL like Dyalog's offering is still the best for getting complex problems solved quickly. APL has made significant strides towards the 'normal' world in the last 10-15 years and you can now write readable structured code, use OO and talk to external components in a sensible fashion, but it still has all that crazy power if you need it. Something like R would also be good if I knew it as well as I do APL, probably.

                                        1 Reply Last reply
                                        0
                                        • N Nikunj_Bhatt

                                          Which programming language you like the most and why? What feature(s) you love the most? Is there any other feature(s) that you wish to present in the language you are working on?

                                          R Offline
                                          R Offline
                                          RogelioP EX DE HL
                                          wrote on last edited by
                                          #33

                                          nikunjbhatt84 wrote:

                                          Which programming language you like the most and why? What feature(s) you love the most?

                                          BASIC, because it allows me to Briskly Achieve Solutions Impossible in C For the meaty part of my "developer" life it has been usually the defined in IEC_61131-3 [^] - these are the ones I actually got paid to do. Been a while. For fun personal stuff C++ is somewhere in there. And Pascal... Logo... Forth... :-\ -- RP

                                          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