Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Favorite programming language?  (Read 38912 times)

0 Members and 1 Guest are viewing this topic.

bobsklarservices



    Beginner

  • Time is of the essence.
  • Thanked: 2
    • Certifications: List
    • Experience: Experienced
    • OS: Other
    Re: Favorite programming language?
    « Reply #45 on: December 30, 2011, 03:19:26 AM »
    I choose Visual Basic .NET 2008 over all others because I'm most comfortable with it. (I'm teaching myself others.)
    Work to be all you can be. You define your limits!

    Rob Pomeroy



      Prodigy

    • Systems Architect
    • Thanked: 124
      • Me
    • Experience: Expert
    • OS: Other
    Re: Favorite programming language?
    « Reply #46 on: December 31, 2011, 11:59:26 AM »
    the standard constructs are just so awfully planned out

    So true.  Fortunately, PHP has about the best online documentation out there.  These days, the function hinting in NetBeans is pretty good, so I don't have to remember the precise naming so much...  Plus OO is much improved so there's a bit more logic available to namespaces, etc.
    Only able to visit the forums sporadically, sorry.

    Geek & Dummy - honest news, reviews and howtos

    Danomann



      Rookie
      • AMS Wanted On The WEB
    • Computer: Specs
    • Experience: Experienced
    • OS: Linux variant
    Re: Favorite programming language?
    « Reply #47 on: December 31, 2011, 01:43:27 PM »
    batch (i actually made batch programs like gamers net which was a network of NES roms and Chat in the jacks which is a chat room in my teachers class) I lost all of my copies  :o :o :o :o :o :o :o :o
    PM me for computer help.
    Will answer in 24 Hrs.

    DougA



      Newbie

      • Experience: Beginner
      • OS: Unknown
      Re: Favorite programming language?
      « Reply #48 on: January 04, 2012, 09:33:54 AM »
      For my first post,  my favorite programming language is REXX
      Learned it back in the late '80s & '90s, on VM/CMS, now using Reginald Rexx on the PC  (free interpreter)
      Cleanest language I've ever seen.

      Veltas



        Intermediate

        Thanked: 7
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Linux variant
      Re: Favorite programming language?
      « Reply #49 on: January 04, 2012, 09:41:34 AM »
      I have a place in my heart for QBasic, as ugly as it may be.

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Favorite programming language?
      « Reply #50 on: January 04, 2012, 11:51:17 AM »
      I have a place in my heart for QBasic, as ugly as it may be.
      Why call it ugly? It still works. Beauty is in the eyes of the beholder.


      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Favorite programming language?
      « Reply #51 on: January 04, 2012, 12:15:57 PM »
      Here is something fun for Assembly "experts".

      Which is a faster way to get a return address:

      Code: [Select]
      GetCurrentAddress:
          mov eax, [esp]
          ret

      being called like so: (in a C ASM block, so the mov refers to a local C variable currentInstruction)

      Code: [Select]
      call GetCurrentAddress
      mov [currentInstruction], eax

      or this assembly, which ends up with the same data:

      Code: [Select]
      call L1: pop currentInstruction
      I was trying to dereference Null Pointers before it was cool.

      Veltas



        Intermediate

        Thanked: 7
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Linux variant
      Re: Favorite programming language?
      « Reply #52 on: January 04, 2012, 04:14:26 PM »
      I don't know the first thing about Assembly, so wouldn't call myself an expert, but is it this one?

      Code: [Select]
      GetCurrentAddress:
          mov eax, [esp]
          ret

      BC_Programmer


        Mastermind
      • Typing is no substitute for thinking.
      • Thanked: 1140
        • Yes
        • Yes
        • BC-Programming.com
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Windows 11
      Re: Favorite programming language?
      « Reply #53 on: January 04, 2012, 07:00:21 PM »
      I don't know the first thing about Assembly, so wouldn't call myself an expert, but is it this one?

      Code: [Select]
      GetCurrentAddress:
          mov eax, [esp]
          ret

      Yes, even though it is twice as many instructions and a function call, it's faster. The other one digs into internal CPU structures and mucks up the instruction prefetch cache so that every single return on the call stack has to discard it's branch predictor.

      On another note, occasionally, there will be a conversation where somebody is saying how much more superior C++ is to any other language; they will state things like "it's faster" (it's not), or "It's easier to code (*censored* no)". The counter-argument runs to the accord of "C++ complicates things" which they will inevitably say it doesn't.

      To which the only question to ask would be "just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?" The fact is, they won't know the answer. Truly, most of the people I know who might call themselves "C++ wizards" are really programming in some sort of unholy blending of C code (rife with security exploits like using gets() and executing System() calls) and C++ ("I put uses namespace std at the top so it's C++!).

      This isn't to say that C++ is inferior, but the fact is that just because everybody uses it doesn't suddenly make it good. It low-level, and t's being used for tasks in which a low-level language isn't required. And those tasks that it is suited for discard it in favour of C because C++ is far "too heavy." That is, for a low level language, it hides a lot of what it does during compilation. The Speed argument is utterly idiotic because you can write slow code in any language and you can write fast code in any language. What's important is that even a skilled C++ programmer cannot necessary write code faster than a programmer in another language. Many people attribute this to "well that's because those other languages have IDE's and Designers and intellisense, It's not programming! It's like using powerpoint" this was mentioned towards VB4, I believe, in comparison to C++. Well, see, the thing is, when it comes to deliverables, people prefer to pay for something that exists. Deciding between a developer who should have the C++ implementation done "real soon" and a VB developer who already has a working implementation is a no brainer. The company doesn't care that a lot of self-righteous snobs think Visual Basic is "unclean" or "stupid" the fact that the software exists in that case and doesn't in the other is what decides their choice.

      Myself? I an write windows applications in C using the standard API. You know all that fun stuff like WNDCLASSEX and RegisterClassEx and CreateWindowEx() and of course message pumps. I don't do that because I want to concentrate on what the application is going to do, not which HMENU I should attach a popup I made with CreatePopupMenu(), and trying to remember the difference between CreatePopupMenu() and CreateMenu(). The primary attribute of a good programmer is Sloth, and all the "toy" languages as self-proclaimed programming purists call them add things like libraries and frameworks that help programmers get things done, not spend another week re-architecting their Shell_NotifyIcon() wrapper class. That's why most development in C++ leverages some other library (like BOOST,, ATL, etcetera). or the programmer has to follow a set of guidelines (such as RAII (Resource Allocation Is Initialization)) or something like COM Smart Pointers. these are, strictly speaking, things that should be implemented Once, by the language compiler, and only once. Instead, what we end up with is so many libraries, structures, rules, and guidelines that we lose sight of the forest through the trees. C++ at this point is more about learning your chosen framework, designed to hide the low-level details of your Operating System that you would normally call. And at that point, why are you using C++?

      C++ should, IMO, be mostly for development of things that actually require something at a low-level; things like Device Drivers. But then you'll be more likely to use C for those purposes anyway, since C++ is too heavy and brings with it too much mental baggage.

      When I am programming I don't want to have to remember the difference between a static volatile non-const variable and a non-volatile register const variable. half of the stuff being determined by language constructs can easily be optimized away by a proper compiler, and many times are, making a lot of C/C++ keywords do absolutely nothing.

      This particular post was spurned by somebody telling me that "C# is a toy language, you should learn C++ that way MS doesn't dictate your language". Let's consider the idiocy of the statement. First, they state that C# is a toy language. Based on that particular persons history and postings, I was aware that they were 16 and still in school. Meanwhile, I have recently started actually making money off my development. if C# is a toy language, it's a *censored* profitable one. Second they know nothing about the language or framework and conveniently ignore the fact that C# as a language is just as much an ECMA standard as Javascript or ANSI SQL, and that there already are other implementations. Or the fact that Microsoft seems to be the only language vendor that actually knows what the *censored* they are doing. This also conveniently ignores the fact that I already know quite a bit about C++. Low level stuff can be interesting, and fun, but when it comes down to business, I want to concentrate on that business, not on esoteric errata. The number of instructions you can shave off your functions hasn't been anything more than an exercise in trivial hubris for years, and has no place in a professional environment. Clean, easy to read code is always superior to esoteric code that uses undocumented functions or processor errata to speed up performance of a seldom called function by a tenth of a percent, particularly since the former also assigns importance to portability and maintenance.

      "Write something once. Write it well, move on, and then use it when you need it". I follow this to a tee. I once needed a easy ability to sort a ListView when columns were clicked, show and change the header so that it showed the sort order, and allow callbacks to implement a custom sort on the listview items. I could have baked that code right into the application and tied it directly to that specific listview, but instead I wrote a self-contained class that I can instantiate passing the listview and it deals with the rest. Same with dealing with INI files. Same with countless other tasks. The net result is that I am happier and I get my work done faster. I may love programming but I still have other interests and I would rather be deciding what to spend a thousand dollars on than deciding which of my routine implementations is less likely to trash the stack.
      I was trying to dereference Null Pointers before it was cool.

      Veltas



        Intermediate

        Thanked: 7
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Linux variant
      Re: Favorite programming language?
      « Reply #54 on: January 05, 2012, 02:13:09 PM »
      Yes, even though it is twice as many instructions and a function call, it's faster.

      I thought I smelled a trick question!

      Mulreay



        Egghead
      • Thanked: 14
        • Yes
        • Yes
        • Yes
        • Space and Science
      • Computer: Specs
      • Experience: Experienced
      • OS: Unknown
      Re: Favorite programming language?
      « Reply #55 on: January 06, 2012, 08:53:56 AM »
      Tcl it's the only one I have ever used to make chat bot programmes and the such.
      For when the One Great Scorer comes
      To write against your name,
      He marks - not that you won or lost,
      But how you played the game.

      Owner of www.spaceandscience.co.uk and YouTube partner http://www.youtube.com/user/mulreay

      Bennieboj



        Rookie

      • time flies, ur the pilot
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 7
      Re: Favorite programming language?
      « Reply #56 on: January 07, 2012, 03:42:45 AM »
      Atm I'm learning Haskell, it's really nice and clean, no variables to mess with  ;D

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Favorite programming language?
      « Reply #57 on: January 07, 2012, 11:41:13 AM »
      Atm I'm learning Haskell, it's really nice and clean, no variables to mess with  ;D
      A reference would help. Hard to find a definitive source.
      Quote
      ...is a standardized, general-purpose purely functional programming language, with non-strict semantics and strong static typing.[5] It is named after logician Haskell Curry. In Haskell, "a function is a first-class citizen" of the programming language.[6] As a functional programming language, the primary control construct is the function. The language is rooted in the observations of Haskell Curry and his intellectual descendants

      If you want to know more, look here:
      http://www.haskell.org/haskellwiki/Applications

      Quote
      The HCAS Hello World program:
      main = "Hello World!"
      Output: \Hello World!"
        ::)




      Bennieboj



        Rookie

      • time flies, ur the pilot
        • Yes
      • Computer: Specs
      • Experience: Familiar
      • OS: Windows 7
      Re: Favorite programming language?
      « Reply #58 on: January 08, 2012, 02:56:44 AM »
      A reference would help. Hard to find a definitive source.
      If you want to know more, look here:
      http://www.haskell.org/haskellwiki/Applications
        ::)
      Sorry I forgot to add a link, my bad  :-[
      Here's one to make it up to you =)
      http://research.microsoft.com/en-us/um/people/simonpj/papers/haskell-tutorial/

      And talking about the source, are you talking about the source code to work with haskell?
      If so here are some links:
      http://hackage.haskell.org/platform/ (complete platform)
      http://www.haskell.org/ghc/ (ghc =  compiler, ghci = interactive shell)
      http://community.haskell.org/~ndm/hlint/ (code beautifier)
      http://www.haskell.org/hoogle/ (API documentation and search engine)

      If not and you were referring to finding a good link, to find information, you already found one, first hit on google...

      Veltas



        Intermediate

        Thanked: 7
        • Yes
      • Certifications: List
      • Computer: Specs
      • Experience: Beginner
      • OS: Linux variant
      Re: Favorite programming language?
      « Reply #59 on: January 08, 2012, 05:27:02 AM »
      This isn't to say that C++ is inferior, but the fact is that just because everybody uses it doesn't suddenly make it good. It low-level, and t's being used for tasks in which a low-level language isn't required. And those tasks that it is suited for discard it in favour of C because C++ is far "too heavy." That is, for a low level language, it hides a lot of what it does during compilation. The Speed argument is utterly idiotic because you can write slow code in any language and you can write fast code in any language. What's important is that even a skilled C++ programmer cannot necessary write code faster than a programmer in another language. Many people attribute this to "well that's because those other languages have IDE's and Designers and intellisense, It's not programming! It's like using powerpoint" this was mentioned towards VB4, I believe, in comparison to C++. Well, see, the thing is, when it comes to deliverables, people prefer to pay for something that exists. Deciding between a developer who should have the C++ implementation done "real soon" and a VB developer who already has a working implementation is a no brainer. The company doesn't care that a lot of self-righteous snobs think Visual Basic is "unclean" or "stupid" the fact that the software exists in that case and doesn't in the other is what decides their choice.

      Myself? I an write windows applications in C using the standard API. You know all that fun stuff like WNDCLASSEX and RegisterClassEx and CreateWindowEx() and of course message pumps. I don't do that because I want to concentrate on what the application is going to do, not which HMENU I should attach a popup I made with CreatePopupMenu(), and trying to remember the difference between CreatePopupMenu() and CreateMenu(). The primary attribute of a good programmer is Sloth, and all the "toy" languages as self-proclaimed programming purists call them add things like libraries and frameworks that help programmers get things done, not spend another week re-architecting their Shell_NotifyIcon() wrapper class. That's why most development in C++ leverages some other library (like BOOST,, ATL, etcetera). or the programmer has to follow a set of guidelines (such as RAII (Resource Allocation Is Initialization)) or something like COM Smart Pointers. these are, strictly speaking, things that should be implemented Once, by the language compiler, and only once. Instead, what we end up with is so many libraries, structures, rules, and guidelines that we lose sight of the forest through the trees. C++ at this point is more about learning your chosen framework, designed to hide the low-level details of your Operating System that you would normally call. And at that point, why are you using C++?

      So true, in fact when C++ actually is required to make the end-product because the company's trying to release to a home audience (so wants something faster than VB4) then usually the first point of call is to design the application and try it out in VB4 first because of how quick and easy it is, but as for anything not being released to the public, C# and VB are the kings of this kind of interface development.

      I know C++ well, but C#?  Not as much as I'd like.  I really need to get around to learning it, I'm very aware of how important it is for Windows app development!