I learned Basic many years ago and now need to learn some basic programming that would pick randomly from a database. (The database could be in the program or from a separate file.) All answers to questions would be random. e.g. Q: An automobile type. Users would click this and each time they did, a different car type would appear, etc. Don't know whether this would be an online program or software they could download or purchase on disk. (And I can't spend months and months learning it.) Not looking for fancy graphics, just a random generation of stuff. Suggestions?
MS Visual Basic will do exactly what you describe. However, anything worthwhile has to be learnt and learning takes time. There is no way of getting away from it.
Visual Basic is probably the easiest to learn as it allows you to do stupid things and get away with it.
Stuart
Lol!! no wonder i like it so much! :-D
What a subjective topic! My language of choice is (and will
always be?) ReXX, but since lately I've been stuck on little iron,
I've been beating up on python which seems pretty easy, and
Windows command line which is hardly easy...
I'm told Python's easy to learn. If you want streamlined DB access, VB.NET or C# is probably the way to go. But I'd argue the best language to learn would be the ones that didn't let you get away with stupid mistakes. Otherwise, you'll never learn.
But I'd argue the best language to learn would be the ones that didn't let you get away with stupid mistakes. Otherwise, you'll never learn. Not necessarily so. You can learn by your mistakes which is probably the best way to learn. I have been using VB for a some years, I was looking at some source code for something I wrote fifteen years ago and wondered what the hell I was thinking of when I did that. On Error Goto can mask a multitude of sins. I have learnt a bit since then but at least it did the job.
But then, it all depends on your objectives. Write a programme that complies with all the rules of programming or to write a programme that achieves a particular objective in the shortest time possible. In a lot of circumstances time is of the essence.
Stuart
StuartS: In a lot of circumstances time is of the essence.
Time is always of the essence. The question is whose time? Yours, or the future maintainer's?
Yes (14) | ![]() | |
No (14) | ![]() | |
I don't know (15) | ![]() |