Python Forum
Reasons to choose Python over C++?
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Reasons to choose Python over C++?
#28
One of my favorite, was Forth. It was an excellent language for instrumentation,
we built several spectrometers using Forth. It's demise I believe had to do with
the 'expandable compiler' which, used without discipline made too many versions
of the language, and the fact that it was hard to read if you had no experience
example:
: -FITS? linecount @ +  RMARGIN > ;
: SPACE' linecount @ IF  SPACE  1 linecount +!  THEN ;
: CR'    CR  0 linecount ! ;

: .WORD ( addr1 #chars1 -- addr2 #chars2 )
    BL Split-At-Char
    DUP 1+ ( space!) -FITS? IF  CR'  THEN
    SPACE' TYPE' ;
Which makes perfect sense if you owned an HP calculator.
Reply


Messages In This Thread
Reasons to choose Python over C++? - by RandoomDude - Apr-26-2017, 03:56 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-26-2017, 04:22 PM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-27-2017, 04:43 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-26-2017, 04:47 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-26-2017, 05:08 PM
RE: Reasons to choose Python over C++? - by Mekire - Apr-26-2017, 08:10 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-27-2017, 03:17 AM
RE: Reasons to choose Python over C++? - by nilamo - Apr-27-2017, 03:28 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-27-2017, 02:39 PM
RE: Reasons to choose Python over C++? - by caxis - May-02-2017, 11:05 AM
RE: Reasons to choose Python over C++? - by wavic - Apr-27-2017, 04:54 PM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-28-2017, 09:35 AM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-27-2017, 06:05 PM
RE: Reasons to choose Python over C++? - by MrGutsy - Apr-28-2017, 04:33 AM
RE: Reasons to choose Python over C++? - by Mekire - Apr-28-2017, 05:54 AM
RE: Reasons to choose Python over C++? - by wavic - Apr-28-2017, 10:44 AM
RE: Reasons to choose Python over C++? - by zivoni - Apr-28-2017, 11:18 AM
RE: Reasons to choose Python over C++? - by wavic - Apr-28-2017, 12:07 PM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-28-2017, 10:33 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-28-2017, 03:06 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-28-2017, 04:55 PM
RE: Reasons to choose Python over C++? - by zivoni - Apr-28-2017, 05:34 PM
RE: Reasons to choose Python over C++? - by wavic - Apr-28-2017, 07:13 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-28-2017, 07:27 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-28-2017, 10:56 PM
RE: Reasons to choose Python over C++? - by nilamo - Apr-29-2017, 01:42 PM
RE: Reasons to choose Python over C++? - by Larz60+ - Apr-29-2017, 04:29 PM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-30-2017, 10:29 AM
RE: Reasons to choose Python over C++? - by Ofnuts - Apr-30-2017, 09:55 AM
RE: Reasons to choose Python over C++? - by nilamo - May-03-2017, 04:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Which method name would you choose? Gribouillis 7 304 May-30-2024, 07:05 AM
Last Post: buran
  Mac os choose file name howard687 1 1,943 Jan-05-2022, 06:54 AM
Last Post: Larz60+
  Loop with choose Irv1n 5 3,353 Sep-16-2021, 09:31 PM
Last Post: deanhystad
  Choose an element from multidimensional array quest_ 2 2,716 Nov-25-2020, 12:59 AM
Last Post: quest_
  Choose your own adventure game noahc2004 2 2,664 Jun-26-2020, 02:06 PM
Last Post: DPaul
  Please help a newbie choose which programming language to learn. yeto 2 3,593 Feb-25-2019, 12:56 AM
Last Post: yeto
  User Input to Choose from Dictionary anelliaf 9 26,066 Mar-27-2018, 02:22 PM
Last Post: anelliaf
  Need a little more help in a Choose Your Own Adventure Program Goldberg291 13 18,814 Jan-31-2017, 08:33 AM
Last Post: Ofnuts

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020