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. These languages are a bundle of nope.

These languages are a bundle of nope.

Scheduled Pinned Locked Moved The Lounge
csharpc++javajavascriptpython
66 Posts 29 Posters 26 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 Chris Boss

    You young programmer just can't grasp the real differences between procedural code and OOP. Try to understand, that us old dinosaurs (programmers in their 60's) use to write apps which would run on 1 megabyte RAM (not Gigabyte), run on a hard-drive which was only 20 megabytes in size or worse in a 1.44 megabyte floppy disk. I wrote my first compiler for the Commodore 64 (using a Basic compiler) which only has 64 Kilobytes of Ram. I wrote a complete POS software package for a video rental store which ran on a Kaypro computer with 2 floppy disks (no harddrive) and 640 KB ram. You learn something from writing code for computers with so little hardware capability. Todays programmers gasp if they had to use a PC with less than a core i7 and 32 Gb ram. I am shocked at how slow and bloated Visual Studio is today. No wonder why programmers need the best PC possible. My core development tools (Powerbasic and my GUI framework with its own Visual Designer) allows me to quickly write apps on almost PC I have around the house. Give me an old Windows 98 computer with 64 meg Ram (not GB) and I likely still could code on it with acceptable speed of development. There are "real" C programmers today, that their entire development system would likely run on a PC which Visual Studio developers could even get their development tools to install on, none the less actual run. I was actually one of those college students who when given a choice to punch out Fortran cards or code in a Basic interpreter on a green screened Terminal, was amazed at how quickly I could write code in that Terminal using simple old Basic. I don't use an interpreter anymore. I use a native code compiler for Windows, which allows me to compile at lightning speeds even tens of thousands of lines of code. I barely have time to take on sip of soda (not a coffee drinker) during the compile cycle for 50,000 lines of code, none the the less take a coffee break. Install the latest Visual Studio (if even possible) onto a PC with only 4 GB ram and less than a core i3 CPU) and with no SSD and see how long it takes you to to even run VS, none the less compile app of significant size. OOP adds overhead to an app and also makes following code flow more challenging. Read an interesting blog post by an engineer at Intel on Intel's website about the significant problems object oriented coding brings when trying to debug code.

    H Offline
    H Offline
    honey the codewitch
    wrote on last edited by
    #55

    C++ is not an OO language. It is a multiparadigm language. Someone taught you C++ poorly, from the sounds of it. I don't even use OO in C++ that often. I use generic programming Again, I don't care about OO, GP, or whichever paradigm you use. I challenge you to produce one piece of C code that generates assembly that I cannot write in C++. And OO doesn't produce any overhead you don't ask for.

    Real programmers use butterflies

    1 Reply Last reply
    0
    • H honey the codewitch

      There are languages I refuse to use for fear of picking up bad habits. Perl is one. Python* is another. And then there's BASIC :~ I'd add assembly to the list except there are unfortunately, rare instances where I need it. *Python isn't as bad an offender as the others, but its array handling and use of significant whitespace are deal breakers for me. I don't like to holy roll. Sure I have my favorite languages (C++, C#) and languages I hate but grudgingly accept (like Javascript), and ones that just aren't my cup of tea but I'll use them if I must (Java). Still, I try to be fair, and I believe that most languages have their niche. Even Perl, if I'm being generous, but that doesn't mean I'll use it and it doesn't mean I don't think there should be a better alternative. The ones I listed up top though - Nope. Just no. I will not use them, except perhaps to port something away from them. I have to have some sort of standards. Sometimes I wonder if I'm being overly picky though.

      Real programmers use butterflies

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

      I'm going to be Devil's Advocate I really like JavaScript / Typescript. Not because the language is the epitome of a well planned, cleanly architected, unambiguous and approachable language all kids should learn. It's not. It's a dog's breakfast. But because it works everywhere, it's not being owned by anyone, there's almost no religious wars going on around it, and because it's powerful, forgiving, and if you had to learn one language this one would be it. Full stack, front to back, every device (almost), every platform. I also like and respect Python. Again: not what one would consider the cleanest, sanest evolution of a language, but it, like JavaScript, works pretty much everywhere, has a huge following, masses of libraries, and most importantly, is a great language for those who want to generate results rather than become artists. The difference between building a deck so you can have a BBQ as opposed to building a fully automated food preparation machine. I just want my burger and a beer and I don't need to understand structural engineering to get this thing completed. Sure, Python is weird about spaces, but C-like languages are equally weird about closing brackets, and let's fact it - we all indent our code anyway. Maybe it was the 5 years in Purgatory doing FORTRAN that softened me but I find teaching a student how to code if/then statements or loops using Python to be less distracting than brackets for someone who's never seen code before. My pet peeve: convention over configuration. It's like having to geek out and understand the backstory of all the characters in a movie, deeply, before you can sit down and watch the movie. The constant "WTF is going on?" with things like Entity Framework, for instance, just kills my soul every time I realise that if I'm to step off that very, very narrow line they've set, there will be Pain and there will be Misery.

      cheers Chris Maunder

      H 1 Reply Last reply
      0
      • H honey the codewitch

        There are languages I refuse to use for fear of picking up bad habits. Perl is one. Python* is another. And then there's BASIC :~ I'd add assembly to the list except there are unfortunately, rare instances where I need it. *Python isn't as bad an offender as the others, but its array handling and use of significant whitespace are deal breakers for me. I don't like to holy roll. Sure I have my favorite languages (C++, C#) and languages I hate but grudgingly accept (like Javascript), and ones that just aren't my cup of tea but I'll use them if I must (Java). Still, I try to be fair, and I believe that most languages have their niche. Even Perl, if I'm being generous, but that doesn't mean I'll use it and it doesn't mean I don't think there should be a better alternative. The ones I listed up top though - Nope. Just no. I will not use them, except perhaps to port something away from them. I have to have some sort of standards. Sometimes I wonder if I'm being overly picky though.

        Real programmers use butterflies

        E Offline
        E Offline
        etkid84
        wrote on last edited by
        #57

        If you learn the language's idioms, you won't pick up any bad habits. Programming languages are like spoken/written languages, you have to think in the language. If you can treat programming languages like written and spoken languages, you won't pick up any bad habits. Don't be like this: "You can program Fortran in any language" :java:

        ~d~

        1 Reply Last reply
        0
        • H honey the codewitch

          Pretty sure I understand the language considering I've written parsers for both. Let me help you understand something - they're the same language. The only thing different is some superficial syntax. However, VB.NET's is not clean. C#s is. If anyone is paying a C# dev twice what they're paying a VB.NET give me their number. I have a bridge to sell them.

          Real programmers use butterflies

          V Offline
          V Offline
          vbproapps
          wrote on last edited by
          #58

          You wrote: VB.NET's is not clean. C#s is. English is not French either but that does not mean that one of them not a clean language. Once again, I think you made my point. One simply cannot say something is bad without at least giving a brief explanation as to why. After programming for 41 years using many programming languages, I have great respect for the Basic language and it's evolutions.

          H 1 Reply Last reply
          0
          • V vbproapps

            You wrote: VB.NET's is not clean. C#s is. English is not French either but that does not mean that one of them not a clean language. Once again, I think you made my point. One simply cannot say something is bad without at least giving a brief explanation as to why. After programming for 41 years using many programming languages, I have great respect for the Basic language and it's evolutions.

            H Offline
            H Offline
            honey the codewitch
            wrote on last edited by
            #59

            When you're done embedding a 250 entry array into VB, all in a single line (because VB) come back and tell me it's clean.

            Real programmers use butterflies

            V 1 Reply Last reply
            0
            • D Daniel Pfeffer

              For its time (when procedural languages ruled the world), BASIC was a good beginner's language. Its modern variants (VB) have strayed so far from the original concept that the only things remaining are the name and some vestiges of the syntax. As far as I'm concerned, Python's significant whitespace is a deal breaker. The fixed-format lines in classical FORTRAN were bad enough, but at least they had some rationale behind them (punched card widths, etc.). I see no reason to repeat that in a modern language. I disagree about assembly language. As you mentioned, it is sometimes necessary, both for extremely low-level kernel stuff and for extremely high-performance code. It's also fun! :) JavaScript and other weakly-typed scripting languages are tools of the Devil. :) I shudder to think how much of our infrastructure is built over code that will run even with typos (though it won't do what you expect). Personally, I do most of my coding in C, C++, C#, and Java. As long as one can remain gainfully employed using the tools that one prefers using - why worry? The time to worry is when one sees these tools going out of fashion, and one is required to interface to the new-fangled stuff. However, given that new programs are still being written in FORTRAN and COBOL, I don't see C, C++, C#, or Java being abandoned any time soon.

              Freedom is the freedom to say that two plus two make four. If that is granted, all else follows. -- 6079 Smith W.

              C Offline
              C Offline
              Cp Coder
              wrote on last edited by
              #60

              Quote:

              Personally, I do most of my coding in C, C++, C#, and Java.

              Hear! Hear! Although the last decade or so has been only C# and Java, specifically JavaFX. JavaFX with Maven and the IntelliJ IDEA IDE can measure up to C# and Visual Studio any day of the week!

              Get me coffee and no one gets hurt!

              1 Reply Last reply
              0
              • H honey the codewitch

                When you're done embedding a 250 entry array into VB, all in a single line (because VB) come back and tell me it's clean.

                Real programmers use butterflies

                V Offline
                V Offline
                vbproapps
                wrote on last edited by
                #61

                OK, Once again you just proved my point from my original reply. If you are embedding a 250 entry array in VB.NET then you obviously have now idea how to program in this language. In VB.NET you would use the same method you would use in C#. Enough Said!

                H 1 Reply Last reply
                0
                • V vbproapps

                  OK, Once again you just proved my point from my original reply. If you are embedding a 250 entry array in VB.NET then you obviously have now idea how to program in this language. In VB.NET you would use the same method you would use in C#. Enough Said!

                  H Offline
                  H Offline
                  honey the codewitch
                  wrote on last edited by
                  #62

                  In C#, I'd break the array across multiple lines. In VB.NET I'd get a compile error for doing it, or put up with a bunch of nasty underscores. If embedding an array is something you're "not supposed to do" in VB.NET it's not a real programming language. We can declare arrays for a reason. You think everything proves your point. I find that hilarious.

                  Real programmers use butterflies

                  1 Reply Last reply
                  0
                  • H honey the codewitch

                    Matt McGuire wrote:

                    To each their own

                    Definitely. I have my opinions, but while I might sideeye a Perl developer the same way I wonder about what makes people pursue podiatry as a profession I won't judge them for it. *Somebody* has to code in the damn thing, after all. As far as basic, I came up the same way you did it sounds like. Good old Applesoft BASIC in my case. I'm glad that was "the bad old days" and not today. Still, line delimited languages give me a rash. And VB.NET's syntax with respect to things like lambdas leave me googling all the time because the syntax is nonsense, and clearly a bag on the side - it wasn't designed with them in mind but rather added to the grammar after the fact and it shows. There are sadly, folks who think running a scripting language (JS, Python), or a GC language (C#) on a 360kB system at 160MHz is a good idea. I am not one of those people. For starters, I don't care about RAD on an IoT device. I care about battery life.

                    Real programmers use butterflies

                    M Offline
                    M Offline
                    Matt McGuire
                    wrote on last edited by
                    #63

                    honey the codewitch wrote:

                    I don't care about RAD on an IoT device. I care about battery life.

                    pretty much the same, and keeping as close to real time as possible on those little chips.

                    1 Reply Last reply
                    0
                    • C Chris Maunder

                      I'm going to be Devil's Advocate I really like JavaScript / Typescript. Not because the language is the epitome of a well planned, cleanly architected, unambiguous and approachable language all kids should learn. It's not. It's a dog's breakfast. But because it works everywhere, it's not being owned by anyone, there's almost no religious wars going on around it, and because it's powerful, forgiving, and if you had to learn one language this one would be it. Full stack, front to back, every device (almost), every platform. I also like and respect Python. Again: not what one would consider the cleanest, sanest evolution of a language, but it, like JavaScript, works pretty much everywhere, has a huge following, masses of libraries, and most importantly, is a great language for those who want to generate results rather than become artists. The difference between building a deck so you can have a BBQ as opposed to building a fully automated food preparation machine. I just want my burger and a beer and I don't need to understand structural engineering to get this thing completed. Sure, Python is weird about spaces, but C-like languages are equally weird about closing brackets, and let's fact it - we all indent our code anyway. Maybe it was the 5 years in Purgatory doing FORTRAN that softened me but I find teaching a student how to code if/then statements or loops using Python to be less distracting than brackets for someone who's never seen code before. My pet peeve: convention over configuration. It's like having to geek out and understand the backstory of all the characters in a movie, deeply, before you can sit down and watch the movie. The constant "WTF is going on?" with things like Entity Framework, for instance, just kills my soul every time I realise that if I'm to step off that very, very narrow line they've set, there will be Pain and there will be Misery.

                      cheers Chris Maunder

                      H Offline
                      H Offline
                      honey the codewitch
                      wrote on last edited by
                      #64

                      Typescript I am okay with. My problem with significant whitespace is this: Some editors convert spaces to tabs, and so do web pages. Some don't. Yes, I copy and paste. My own code. Sometimes other people's and from a variety of sources. If my editor isn't "smart" what happens to my python script?

                      Real programmers use butterflies

                      C 1 Reply Last reply
                      0
                      • H honey the codewitch

                        Typescript I am okay with. My problem with significant whitespace is this: Some editors convert spaces to tabs, and so do web pages. Some don't. Yes, I copy and paste. My own code. Sometimes other people's and from a variety of sources. If my editor isn't "smart" what happens to my python script?

                        Real programmers use butterflies

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

                        Which editor do you use? I feel a little ignorant in saying I've never used an editor that does that. And I would probably uninstall it if it did! (too many years editing code blocks for CodeProject)

                        cheers Chris Maunder

                        H 1 Reply Last reply
                        0
                        • C Chris Maunder

                          Which editor do you use? I feel a little ignorant in saying I've never used an editor that does that. And I would probably uninstall it if it did! (too many years editing code blocks for CodeProject)

                          cheers Chris Maunder

                          H Offline
                          H Offline
                          honey the codewitch
                          wrote on last edited by
                          #66

                          Visual Studio has an option to do it, as do some text editors I've used under linux (not remembering which ones offhand, one ships with Ubuntu) But even if an editor doesn't, a web page will. Try copying from codeproject into a python script where you're using tabs (CP uses spaces for all of its indented code as far as I know) EDIT: Oops I meant tabs to spaces!

                          Real programmers use butterflies

                          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