+ Reply to Thread
Results 1 to 5 of 5

Advice on other languages?

  1. #1
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Advice on other languages?

    Hi all - trying to expand my horizons a bit (partly for personal, partly for professional reasons) and am interested in what your thoughts are about languages that are reasonably easy to transition to from VBA. I know it's a lot of personal preference, and depends on what you want to do with it, so I'll try to be brief:
    I like VBA because it works, right out of the box. I use it to build custom workflow tools for people I work with, generally passing data back and forth to some simple SQL tables. I build a UI with forms, some custom logic, connections to the tables, and can make it read from and write to our company's proprietary software. It can be made as simply or as complex as needed. No need for analyzing and testing out IDE's and text editors, no need to install things that other people may or may not have, no problems with modifying environments...just open and go. I like the inherent editor, and how easy it is to step through the code and write results back to a spreadsheet, so you can see what it's doing, clearly.

    For years, on and off, I've tried Python, and quite frankly, can't get it to do much of anything without an inordinate amount of time and help. I've created a couple of applications for distribution at work, and people use them, but what took weeks to do, could have been done in Excel much easier and with a significantly better UI. So Python is out of the question - in fact it's fair to say that the mention of it elicits a borderline visceral response from me.

    But what else would you suggest I look at? I'm thinking HTML / Javascript may be okay, but not sure about C# or Ruby or PERL and have heard people talking about LISP (which I know very little about). Maybe I'm just too old to learn something new, but I sure would like to try.

    Thank you for any feedback! I've been a huge fan of the people on this site for a very long time, and your thoughts will be very sincerely appreciated!

  2. #2
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,014

    Re: Advice on other languages?

    .
    VB.Net ?

  3. #3
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Advice on other languages?

    Quote Originally Posted by Logit View Post
    .
    VB.Net ?
    +1

    Quote Originally Posted by JP Romano View Post
    Hi all
    If VBA is comfortable for you then go for VB.Net


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  4. #4
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Advice on other languages?

    Based on your use case, I’d say .net with either forms or wpf, forms is closer to what you’ve used in the past though MS is pushing UWP as the successor to both, you can read more here https://docs.microsoft.com/en-us/win...our-technology

    Those are for building the ui, as for the language, though you may feel more comfortable in vb.net I’d suggest C# for the following reasons:

    1. It’s more popular, all the examples you are likely to find for doing something, or when asking for help will likely be in C# - so it’s easier to get help
    2. Vb.net smells like vba but it’s completely different. It requires a substantial shift in mindset, it’s completely object orientated, you’ll probably get very frustrated very quickly as you’ll try to use vba concepts and code and it just doesn’t work like that - as it’s so conceptually different, I know a lot of vb6 coders made the jump to C# as it made it easier to learn new concepts without old syntax confusing things
    3. It makes other languages easier to understand. Few languages area as verbose as vba, more are c like, so if you learn c# it’s much easier to be able to read and understand code in other languages

    For your use case I’d keep away from the web, that’s a world of pain that adds little benefit to the types of application you want to build. It requires a vast amount of learning, server all languages and architectures just to make basic things work.

    Staying in the Microsoft world C# and the ui options above make a lot of sense since you like an integrated development environment. Visual studio makes all of this easy, once you start using something like Python, you start to have to make a lot more decisions for things like connecting to databases, which ui libraries to use etc. MS wrap all this up for you so you don’t need to worry about it.

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Advice on other languages?

    HTML / JavaScript are for presenting web pages. You can probably get JavaScript to jump through hoops but that's not really what it's designed for.

    LISP was originally developed for AI applications. I used it in college. It has never been adopted as a general-purpose language and it's a bit eccentric. I would stay away from it if you want to do anything practical.

    I have never used C# or Ruby. I have used Perl but only for Unix scripts. I don't know how well it supports GUIs.

    If I may take a left turn, you may want to learn more about software design rather than worrying about a particular language. Design patterns may be one good place to start, as well as any number of good books about object-oriented design.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Automate different languages
    By Richavlaues in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-11-2016, 11:26 AM
  2. VBA code advice/Excel advice for summing groups of numbers
    By paulblower in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2014, 05:47 AM
  3. using languages
    By rana_shaker in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-02-2012, 01:38 AM
  4. VBA in multiple languages
    By diveshbhatia in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-02-2011, 10:54 AM
  5. Comparing languages
    By Niek in forum Excel General
    Replies: 3
    Last Post: 03-22-2010, 11:35 AM
  6. Excel in other languages?
    By cultavix in forum The Water Cooler
    Replies: 2
    Last Post: 01-07-2009, 05:37 AM
  7. functions in other languages
    By martindwilson in forum Non English Excel
    Replies: 4
    Last Post: 11-06-2008, 07:07 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1