• RE: Language to Transitio

    From Jagossel@VERT/MTLGEEK to ptaylor on Thursday, October 04, 2018 08:32:00
    Re: RE: Language to Transitio
    By: ptaylor to Jagossel on Wed Oct 03 2018 22:24:00

    I am trying to write a program using FreeBASIC and I hit a limitation that causes me to consider another langauge to get past said FreeBASIC limitation. The program that I'm writing is a DOS program and a side project. At the moment I have two options available: C++ (either DJGPP o Open Watcom) or Free Pascal.

    Hi

    What limitation are you running across. There are some other basic compilers out there.

    Primarily, the printing characters not showing on the screen (e.g. TAB, BACKSPACE, DELETE, etc.). Turns out, those characters aren't used in the ANSI files to diplay anyways. So, FreeBASIC is behaving the same way as the ANSI text file. I noticed other ANSI art programs not using those printing characters either, I just decided to move on with character sets as others have as well.

    -jag
    Code it, Script it, Automate it!


    ---
    þ Synchronet þ MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
  • From Lizard King@VERT/RUNDER to ptaylor on Saturday, October 20, 2018 01:08:00
    Re: RE: Language to Transitio
    By: ptaylor to Digital Man on Wed Oct 03 2018 22:25:00

    Learning a nother programming lanuage is not easy for everyone. I find
    that Pascal is easer to learn then C.

    Pascal is definitely an easier language to learn than C. It's sort of a dying language though.

    I went BASIC -> Pascal -> C -> Perl -> PHP, with many languages inflicted on me by professors (VAX asm, Modula-3, Prolog, C++) and some little adventures of my own (TCL/TK, Ruby, Python).

    If I was starting over from scratch, I think I'd go with Python. It is still gaining popularity and is powerful enough to do a lot of useful things on a lot of different platforms.

    I think Ruby should be used to teach object oriented programming. It is SO object-oriented that it's almost awkward to write procedural code in it (exactly the opposite of most languages that had objects grafted on after the fact).

    //lizard_king

    ---
    þ Synchronet þ Retro Underground - retrounderground.org:6423
  • From Nightfox@VERT/DIGDIST to Lizard King on Monday, October 22, 2018 10:02:00
    Re: RE: Language to Transitio
    By: Lizard King to ptaylor on Sat Oct 20 2018 01:08 am

    I think Ruby should be used to teach object oriented programming. It is SO object-oriented that it's almost awkward to write procedural code in it (exactly the opposite of most languages that had objects grafted on after the fact).

    That's not necessarily ideal though. Some types of projects might lend themselves better to a more procedural style of coding, and some people might prefer one or the other. I'm not sure I like languages that force one style on the programmer. I do tend to write most things in an object oriented way though. It seems a bit silly in languages that force object-oriented programming, that their main function has to be a static function that's part of a class. :P Java is like that, at least..

    Nightfox

    ---
    þ Synchronet þ Digital Distortion: digitaldistortionbbs.com
  • From Kirkman@VERT/GUARDIAN to Clifra Jones on Tuesday, November 20, 2018 22:00:00
    I would agree with Python as a good choice. Especially comming from BASIC. If our not real familiar with the C style programming languages I think you would pick up Python rather quickly.


    I also love Python. I found it easy to learn. I work in journalism where data journalists are often self-taught, and Python seems to be the most popular language (although many use R).

    --Josh


    ////--------------------------------------------------
    BiC -=- http://breakintochat.com -=- bbs wiki and blog

    ---
    þ Synchronet
  • From John Watts@VERT/EOTLBBS to Kirkman on Wednesday, November 21, 2018 04:59:00
    Re: Re: Language to Transition To From BASIC?
    By: Kirkman to Clifra Jones on Tue Nov 20 2018 10:00 pm

    I also love Python. I found it easy to learn. I work in journalism where data
    journalists are often self-taught, and Python seems to be the most popular language (although many use R).

    --Josh

    Python has great documentation, a thriving ecosystem of libraries and tools, and fairly good cross-platform support. Lots of Linux distros ship it pre-installed as dependencies for Python programs too.

    But as far as DOS goes, I don't think you could get it to run let alone its tools or libraries. There's a re-implementation named MicroPython that can apparently be compiled using DJGPP but as a separate interpreter you likely would need to patch or outright not be able to use existing libraries.

    John.

    ---
    þ Synchronet þ End Of The Line BBS - endofthelinebbs.com