Results 1 to 11 of 11

Thread: Best Language

  1. #1
    Mostly Me Lucio's Avatar
    Join Date
    Mar 2007
    Location
    Tring
    Posts
    5,163
    Thanks
    443
    Thanked
    448 times in 351 posts
    • Lucio's system
      • Motherboard:
      • Gigabyte GA-970A-UD3P
      • CPU:
      • AMD FX-6350 with Cooler Master Seldon 240
      • Memory:
      • 2x4GB Corsair DDR3 Vengeance
      • Storage:
      • 128GB Toshiba, 2.5" SSD, 1TB WD Blue WD10EZEX, 500GB Seagate Baracuda 7200.11
      • Graphics card(s):
      • Sapphire R9 270X 4GB
      • PSU:
      • 600W Silverstone Strider SST-ST60F
      • Case:
      • Cooler Master HAF XB
      • Operating System:
      • Windows 8.1 64Bit
      • Monitor(s):
      • Samsung 2032BW, 1680 x 1050
      • Internet:
      • 16Mb Plusnet

    Best Language

    I'm looking to try a little project to try and teach myself a bit more about programing but I'm unsure what would be a suitable langauge to learn. The last time I tried this, I was using ADA...

    Basic concept is a front end that a user can type in a reference, and be presented with all the other possible references that are associated with it. This data is already stored in an Excel file. Ideally it should let me create a fairly simple graphical front end as well and if possible the compiler and design tools should be cheap or free.


    Any ideas?

    (\___/) (\___/) (\___/) (\___/) (\___/) (\___/) (\___/)
    (='.'=) (='.'=) (='.'=) (='.'=) (='.'=) (='.'=) (='.'=)
    (")_(") (")_(") (")_(") (")_(") (")_(") (")_(") (")_(")


    This is bunny and friends. He is fed up waiting for everyone to help him out, and decided to help himself instead!

  2. #2
    Comfortably Numb directhex's Avatar
    Join Date
    Jul 2003
    Location
    /dev/urandom
    Posts
    17,074
    Thanks
    228
    Thanked
    1,027 times in 678 posts
    • directhex's system
      • Motherboard:
      • Asus ROG Strix B550-I Gaming
      • CPU:
      • Ryzen 5900x
      • Memory:
      • 64GB G.Skill Trident Z RGB
      • Storage:
      • 2TB Seagate Firecuda 520
      • Graphics card(s):
      • EVGA GeForce RTX 3080 XC3 Ultra
      • PSU:
      • EVGA SuperNOVA 850W G3
      • Case:
      • NZXT H210i
      • Operating System:
      • Ubuntu 20.04, Windows 10
      • Monitor(s):
      • LG 34GN850
      • Internet:
      • FIOS

    Re: Best Language

    the best language is always specific to a job. in this case, you probably want c#

  3. #3
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Best Language

    Second the C#.

    Enless you really need to be able to use the excel file. I wouldn't.

    I'd look at using a database like:

    Microsoft SQL Server: SQL Server Compact 3.5

    this is an incredibly light weight database (that somehow manages to outpefrom MySQL.... cripes!) that you can host "in-process" that is, you load it into your application.

    Very useful, very easy.
    throw new ArgumentException (String, String, Exception)

  4. Received thanks from:

    Lucio (22-02-2008)

  5. #4
    Registered User
    Join Date
    Mar 2008
    Posts
    2
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: Best Language

    Or you can do python with graphical front end from wxPython (wxWindows) as well. It's a basic scripting language and doesn't take too long to learn (you might want to export that excel into csv and importing it into an SQL server though, it'd be better).
    Though I admit C# is a good choice too.

  6. #5
    Flower Child stytagm's Avatar
    Join Date
    Aug 2004
    Location
    London
    Posts
    754
    Thanks
    47
    Thanked
    23 times in 18 posts

    Re: Best Language

    As usual, I'll join the votes for C#. I'd also say, that you don't necessarily need to move the data into a database (although it'll be nicer) as with C# you can connect to an excel sheet as if it were a database.
    Accessing an Excel Spreadsheet in ASP.NET (VB and C#) by Alex Lowe
    They told me I was gullible ... and I believed them.

  7. #6
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Best Language

    Quote Originally Posted by ipridian View Post
    Or you can do python with graphical front end from wxPython (wxWindows) as well. It's a basic scripting language and doesn't take too long to learn (you might want to export that excel into csv and importing it into an SQL server though, it'd be better).
    Though I admit C# is a good choice too.
    Given interop with excel (which is horrifically nasty), python would be a bad choice, as its COM interop abilities are limited, and afaik there are no xls file format adapters for python. IronPython would be a different matter.
    throw new ArgumentException (String, String, Exception)

  8. #7
    Registered User
    Join Date
    Mar 2008
    Posts
    4
    Thanks
    0
    Thanked
    0 times in 0 posts

    Re: Best Language

    If you really want to learn programming langugae then C# is a good way to start. Of course the other maybe easier method is to use the script tools in Excel itself??? I'm assuming that they are good enough to do what you require although personally I don't like doing scriping.

  9. #8
    Senior Member manwithnoname's Avatar
    Join Date
    Dec 2005
    Posts
    1,050
    Thanks
    17
    Thanked
    26 times in 25 posts

    Re: Best Language

    Why not use the file -> find front end on Excel

    And a little more seriously I only used C and vb to create stand alone windows executable. I would recommend you do NOT attempt to use C -the learning curve is comparable with Everest as you need to use the WinAPI functions (Win32) it's a whole world of pain - vb was ok to use (it's been a while) but I could see the parallels with C and the Win32 functions so that probably help me, I think C# may be vb successor so that might be a better bet.

    Unless things have changed greatly in the 8 or 9 years it might be worth starting with a command line program that just list the matches in the file. That way you can test the functionality before you move on to the GUI.

    But the task you have chosen is a good one to test because you can file -> find in excel.

  10. #9
    Seething Cauldron of Hatred TheAnimus's Avatar
    Join Date
    Aug 2005
    Posts
    17,168
    Thanks
    803
    Thanked
    2,152 times in 1,408 posts

    Re: Best Language

    C is completely obsolete for this type of task. no one had recomended it.

    in no way confuse it with C# (or C incremented twice as you can think of it) its not remotely the same.
    throw new ArgumentException (String, String, Exception)

  11. #10
    Mostly Me Lucio's Avatar
    Join Date
    Mar 2007
    Location
    Tring
    Posts
    5,163
    Thanks
    443
    Thanked
    448 times in 351 posts
    • Lucio's system
      • Motherboard:
      • Gigabyte GA-970A-UD3P
      • CPU:
      • AMD FX-6350 with Cooler Master Seldon 240
      • Memory:
      • 2x4GB Corsair DDR3 Vengeance
      • Storage:
      • 128GB Toshiba, 2.5" SSD, 1TB WD Blue WD10EZEX, 500GB Seagate Baracuda 7200.11
      • Graphics card(s):
      • Sapphire R9 270X 4GB
      • PSU:
      • 600W Silverstone Strider SST-ST60F
      • Case:
      • Cooler Master HAF XB
      • Operating System:
      • Windows 8.1 64Bit
      • Monitor(s):
      • Samsung 2032BW, 1680 x 1050
      • Internet:
      • 16Mb Plusnet

    Re: Best Language

    Quote Originally Posted by manwithnoname View Post

    But the task you have chosen is a good one to test because you can file -> find in excel.
    This is true however Excel won't secure the data very well and won't work if this is distributed commerically

    (\___/) (\___/) (\___/) (\___/) (\___/) (\___/) (\___/)
    (='.'=) (='.'=) (='.'=) (='.'=) (='.'=) (='.'=) (='.'=)
    (")_(") (")_(") (")_(") (")_(") (")_(") (")_(") (")_(")


    This is bunny and friends. He is fed up waiting for everyone to help him out, and decided to help himself instead!

  12. #11
    Senior Member manwithnoname's Avatar
    Join Date
    Dec 2005
    Posts
    1,050
    Thanks
    17
    Thanked
    26 times in 25 posts

    Re: Best Language

    Quote Originally Posted by Lucio View Post
    This is true however Excel won't secure the data very well and won't work if this is distributed commerically
    If you end up with a front end to excel file it not going to be too secure anyway, get the data in a database that someone else looks after (i.e. they have to deal with the security) and write a simple db client that connects using your favourite database communication protocol C#


    All my ramble stuff about C was more about the complexities of a windows native executable, I'm not sure how much of the windows stuff is hidden with C#. But having never used C# it maybe straight forward, to those who have created windows executable with C# would you bother getting use to the language creating a command line executable first?

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Spec me a language... (Norwegian?!)
    By Jonny in forum General Discussion
    Replies: 41
    Last Post: 16-02-2007, 12:47 AM
  2. A common language in the EU
    By Parm in forum General Discussion
    Replies: 10
    Last Post: 14-08-2006, 04:00 PM
  3. Learning a New Language
    By mike_w in forum Software
    Replies: 81
    Last Post: 15-02-2006, 07:54 AM
  4. Exchange Web Client language settings
    By Funkstar in forum Software
    Replies: 6
    Last Post: 22-10-2005, 03:53 PM
  5. New European Language
    By Allen in forum General Discussion
    Replies: 15
    Last Post: 25-03-2005, 06:00 PM

Posting Permissions

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