Jump to content

What programming language should I use?

ego_sum_ignavus
Go to solution Solved by madknight3,

Sorry i forgot to mention, I'm doing a programming course on C, will python still be better considering i already know more about C than about python?

 

You could code this project in C, although it'll be a lot more work than doing it in something like Python. Knowing some C might help make learning another language faster though.

I want to have users enter a name, check a database (how do i create one?) and then if the name appears in the data base have it search a couple of websites and compile the information into a single document.  Thanks in advance.

 

i wanted to know what i the most optimal and i don't mind a learning curve,

Edited by ego_sum_ignavus
Link to comment
Share on other sites

Link to post
Share on other sites

python

for beginners always python

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
Share on other sites

Link to post
Share on other sites

I did some Python on Codecademy, but I'm also learning C# on MVA. C# is another one you could look into. C# can be used in Unity as well if you're wanting to learn programming for game development.

Link to comment
Share on other sites

Link to post
Share on other sites

i don't mind, it just has to be usable on a windows computer

 

Sounds like a simple command line app should do the trick so you don't have to worry about any GUI stuff. Python should be one good option.

 

If you only need a local database then SQLite might fit your needs. If you need a remote database then you'll want to choose something else MySQL, PostgreSQL, etc.

 

For gathering the web data

  • If they have an API, you'll work with that. Here's an example that works with GitHub's API.
  • If they don't have an API, you'll need to do some web scraping. There are libraries like Scrapy that can help.

There are plenty of other info/examples/libraries on these topics if you Google.

 

 

... and compile the information into a single document.

 

What kind of document do you need to output? Text? PDF? MS Word?

Link to comment
Share on other sites

Link to post
Share on other sites

 wow that response was thorough, i have come to love the ltt forums but that is beside the point.

What kind of document do you need to output? Text? PDF? MS Word?

 

i don't mind, but i prefer if it is editable and has the ability to show graphics etc,

 

also what is a API and what is web scraping (soz im a noob

Link to comment
Share on other sites

Link to post
Share on other sites

 wow that response was thorough, i have come to love the ltt forums but that is beside the point.

 

i don't mind, but i prefer if it is editable and has the ability to show graphics etc,

 

also what is a API and what is web scraping (soz im a noob

Python is a great language for beginners. It's very versatile and you can continue to use it as you grow to be better at programming.

 

An API is an application programming interface. It is used as a layer between hardware and software. It more or less helps the programmer in building a certain type of program.

 

Web scraping is using an application to gather data from a website. Stock scrapers are very common examples of this. They take data from a website (NASDAQ) and return data from that website (The price of a single share of Apple stock)

CPU: AMD FX-6300 4GHz @ 1.3 volts | CPU Cooler: Cooler Master Hyper 212 EVO | RAM: 8GB DDR3

Motherboard: Gigabyte 970A-DS3P | GPU: EVGA GTX 960 SSC | SSD: 250GB Samsung 850 EVO

HDD: 1TB WD Caviar Green | Case: Fractal Design Core 2500 | OS: Windows 10 Home

Link to comment
Share on other sites

Link to post
Share on other sites

i don't mind, but i prefer if it is editable and has the ability to show graphics etc,

 

Whatever you decide to go with, you'll probably be able to find a library to work with it.

 

also what is a API and what is web scraping (soz im a noob

 

To expand on what EpicAdom said,

 

Some websites allow you to request data from them with an API. You make a request to their API, and they give you back data. The data is usually in JSON format these days but you could probably run into something else, like XML, as well.

 

If a website doesn't have this API for you, then you grab a web pages HTML source and then manually extract the information you need from it. Here's an example.

Link to comment
Share on other sites

Link to post
Share on other sites

VB.NET.. wonder why no one brought it up, it's the easiest 

Because it isn't the easiest and it's a dying language.

1474412270.2748842

Link to comment
Share on other sites

Link to post
Share on other sites

Because it isn't the easiest and it's a dying language.

 

I find it to be the easiest between the ones I know: java/javascript, c++, C#, VB.NET, lisp, etc.. I never used python but tbh I made some really big programs using VB.NET and some knowledge.. Even connecting it to a database and making users, buy/sell tables, find users, store files, find files, make slideshows.. etc.. I even made some basic games like lottery and a "click the blinkin square" type of game:p with leaderboards and stuff, log files, starting other processes, etc... all sooooo basic and easy in VB.NET 

Link to comment
Share on other sites

Link to post
Share on other sites

Sorry i forgot to mention, I'm doing a programming course on C, will python still be better considering i already know more about C than about python?

Link to comment
Share on other sites

Link to post
Share on other sites

Sorry i forgot to mention, I'm doing a programming course on C, will python still be better considering i already know more about C than about python?

 

You could code this project in C, although it'll be a lot more work than doing it in something like Python. Knowing some C might help make learning another language faster though.

Link to comment
Share on other sites

Link to post
Share on other sites

I find it to be the easiest between the ones I know: java/javascript, c++, C#, VB.NET, lisp, etc.. I never used python but tbh I made some really big programs using VB.NET and some knowledge.. Even connecting it to a database and making users, buy/sell tables, find users, store files, find files, make slideshows.. etc.. I even made some basic games like lottery and a "click the blinkin square" type of game:p with leaderboards and stuff, log files, starting other processes, etc... all sooooo basic and easy in VB.NET 

That is personal preference. What you're listing is basically the same between all those listed languages. Simple things like file io, and db access are included as standard or have a library that is widely accepted across all the languages you listed. But since you showed a comma separated list, and then separated java/javascript as if they were one in the same screams bullshit. Playing around with dragging some buttons onto a screen vs creating a non-blocking async application to handle twitter scale are two very different things. There is a reason why no one at scale uses VB.NET, and if they do use the Microsoft stack it's C# - for clarity reasons.

Link to comment
Share on other sites

Link to post
Share on other sites

That is personal preference. What you're listing is basically the same between all those listed languages. Simple things like file io, and db access are included as standard or have a library that is widely accepted across all the languages you listed. But since you showed a comma separated list, and then separated java/javascript as if they were one in the same screams bullshit. Playing around with dragging some buttons onto a screen vs creating a non-blocking async application to handle twitter scale are two very different things. There is a reason why no one at scale uses VB.NET, and if they do use the Microsoft stack it's C# - for clarity reasons.

 

LOL I didn't mean java and javascript are the same, I've used both and I don't think they are the same at all.. 

Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×