Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Is Python the new BASIC?

Is Python the new BASIC?

Scheduled Pinned Locked Moved The Lounge
pythonquestionlearning
24 Posts 16 Posters 33 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    swampwiz
    wrote on last edited by
    #1

    Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

    D V T M P 9 Replies Last reply
    0
    • S swampwiz

      Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

      D Offline
      D Offline
      Daniel Pfeffer
      wrote on last edited by
      #2

      Edsger W. Dijkstra wrote:

      It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.

      So in that sense, Python is the new BASIC. :sigh:

      Ad astra - both ways!

      M B 2 Replies Last reply
      0
      • S swampwiz

        Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

        T Offline
        T Offline
        Tomaz Stih 0
        wrote on last edited by
        #3

        Probably. There are some very good tools available, like Jupyter Notebook which make it really great tool for teaching, all on web. And then there are numpy and other libs making it great tool for math. Good to learn basic concepts.

        1 Reply Last reply
        0
        • S swampwiz

          Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

          V Offline
          V Offline
          V 0
          wrote on last edited by
          #4

          Working in the scientific community, Python is well-established and is mainly used as an improvement upon and a cheaper version of IDL. It has some very powerful features and is pretty fast. However I see it (personally) more as a tool for smaller tasks, than for real software development. For several reasons: * It's primarely a scripting language * It's not really OO based, not as java, C++ or C# * It's kind of hard to get some large, intuitive development out of it * When having multiple Python versions it's really Hic Sunt Dracones on libraries and environments (see today's [xkcd: Python Environment](https://xkcd.com/1987/) ) A good skill for under your belt, but not the magic they claim it to be.

          V.

          M 1 Reply Last reply
          0
          • S swampwiz

            Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #5

            When BASIC was cool, yes. BASIC is no longer cool. Python is, especially to get something up and running quickly, leverage a huge code base, write stuff that is actually useful for SBC's, and have cross-platform compatibility.

            Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

            B 1 Reply Last reply
            0
            • S swampwiz

              Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

              P Offline
              P Offline
              PIEBALDconsult
              wrote on last edited by
              #6

              Yes.

              1 Reply Last reply
              0
              • D Daniel Pfeffer

                Edsger W. Dijkstra wrote:

                It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.

                So in that sense, Python is the new BASIC. :sigh:

                Ad astra - both ways!

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #7

                To be honest, I think this is actually truer: > It is practically impossible to teach good programming to students And I think the fault lies first in the teacher, second in the language. While I could teach good programming in BASIC, I wouldn't really want to, but in fact it is actually easier to teach good programming in a highly constrained language. Now, given "modern" languages with their generics, templates, classes, interfaces, lambda expressions, typeless or typed, etc., features, teaching good programming is harder for the simple reason that nobody actually seems to teach programming principles and then how to apply those principles to a particular language. Instead, they teach the language and then say "oh, you just learned about so-and-so principle." Bassackwards. The result is the experience I see with the junior devs out of college. "Jeez, I wish they had taught me that in school" pretty much anytime I talk about good programming practices.

                Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                C M 2 Replies Last reply
                0
                • V V 0

                  Working in the scientific community, Python is well-established and is mainly used as an improvement upon and a cheaper version of IDL. It has some very powerful features and is pretty fast. However I see it (personally) more as a tool for smaller tasks, than for real software development. For several reasons: * It's primarely a scripting language * It's not really OO based, not as java, C++ or C# * It's kind of hard to get some large, intuitive development out of it * When having multiple Python versions it's really Hic Sunt Dracones on libraries and environments (see today's [xkcd: Python Environment](https://xkcd.com/1987/) ) A good skill for under your belt, but not the magic they claim it to be.

                  V.

                  M Offline
                  M Offline
                  Marc Clifton
                  wrote on last edited by
                  #8

                  :laugh: That's great! And the mouseover on that xkcd is hysterical. And soooo true. But not just for Python -- for anything *nix!

                  Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                  1 Reply Last reply
                  0
                  • M Marc Clifton

                    To be honest, I think this is actually truer: > It is practically impossible to teach good programming to students And I think the fault lies first in the teacher, second in the language. While I could teach good programming in BASIC, I wouldn't really want to, but in fact it is actually easier to teach good programming in a highly constrained language. Now, given "modern" languages with their generics, templates, classes, interfaces, lambda expressions, typeless or typed, etc., features, teaching good programming is harder for the simple reason that nobody actually seems to teach programming principles and then how to apply those principles to a particular language. Instead, they teach the language and then say "oh, you just learned about so-and-so principle." Bassackwards. The result is the experience I see with the junior devs out of college. "Jeez, I wish they had taught me that in school" pretty much anytime I talk about good programming practices.

                    Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                    C Offline
                    C Offline
                    CodeWraith
                    wrote on last edited by
                    #9

                    Marc Clifton wrote:

                    The result is the experience I see with the junior devs out of college. "Jeez, I wish they had taught me that in school" pretty much anytime I talk about good programming practices.

                    Before we start learning good programming, I would first let them build a single board computer and then let them learn machinne language and implement a simple BIOS themselves. After that they are ready for a lot more and may actually not be afraid of anything anymore.

                    I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.

                    1 Reply Last reply
                    0
                    • M Marc Clifton

                      When BASIC was cool, yes. BASIC is no longer cool. Python is, especially to get something up and running quickly, leverage a huge code base, write stuff that is actually useful for SBC's, and have cross-platform compatibility.

                      Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                      B Offline
                      B Offline
                      BillWoodruff
                      wrote on last edited by
                      #10

                      Isn't C# cool ?

                      «... thank the gods that they have made you superior to those events which they have not placed within your own control, rendered you accountable for that only which is within you own control For what, then, have they made you responsible? For that which is alone in your own power—a right use of things as they appear.» Discourses of Epictetus Book I:12

                      1 Reply Last reply
                      0
                      • S swampwiz

                        Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

                        realJSOPR Online
                        realJSOPR Online
                        realJSOP
                        wrote on last edited by
                        #11

                        No. It's the old basic in a new wrapper.

                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                        -----
                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                        -----
                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                        1 Reply Last reply
                        0
                        • S swampwiz

                          Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

                          N Offline
                          N Offline
                          Nish Nishant
                          wrote on last edited by
                          #12

                          Yeah, it's used in middle school computer science courses too.

                          Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

                          1 Reply Last reply
                          0
                          • S swampwiz

                            Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

                            L Offline
                            L Offline
                            Leng Vang
                            wrote on last edited by
                            #13

                            I'm may the odd one out, but I count myself lucky not having to deal with this slithering snake. I used to code in VB.NET and I hated it where a _ is required to break a line. Old FORTRAN required to start data or statement with specific column. Old VI editor requires switch toggle insert to edit. This Python requires indentation to mark code block and space to mark line break. It just brings to many of those bad memories to deal with just archaic requirement. I would gladly use {} and ; to state my intention any time.

                            D T 2 Replies Last reply
                            0
                            • L Leng Vang

                              I'm may the odd one out, but I count myself lucky not having to deal with this slithering snake. I used to code in VB.NET and I hated it where a _ is required to break a line. Old FORTRAN required to start data or statement with specific column. Old VI editor requires switch toggle insert to edit. This Python requires indentation to mark code block and space to mark line break. It just brings to many of those bad memories to deal with just archaic requirement. I would gladly use {} and ; to state my intention any time.

                              D Offline
                              D Offline
                              Daniel Wilianto
                              wrote on last edited by
                              #14

                              That's what baffled me too when I learned Python for the first time. Using indentation to mark code block? That's worse than BEGIN and END keyword! What if I deleted a space accidentally? There will no error message at all. No IDE error. No Compile error. Until some angry user phones me. I would rather leave this thing alone.

                              M 1 Reply Last reply
                              0
                              • M Marc Clifton

                                To be honest, I think this is actually truer: > It is practically impossible to teach good programming to students And I think the fault lies first in the teacher, second in the language. While I could teach good programming in BASIC, I wouldn't really want to, but in fact it is actually easier to teach good programming in a highly constrained language. Now, given "modern" languages with their generics, templates, classes, interfaces, lambda expressions, typeless or typed, etc., features, teaching good programming is harder for the simple reason that nobody actually seems to teach programming principles and then how to apply those principles to a particular language. Instead, they teach the language and then say "oh, you just learned about so-and-so principle." Bassackwards. The result is the experience I see with the junior devs out of college. "Jeez, I wish they had taught me that in school" pretty much anytime I talk about good programming practices.

                                Latest Article - Building a Prototype Web-Based Diagramming Tool with SVG and Javascript Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                                M Offline
                                M Offline
                                Mike Winiberg
                                wrote on last edited by
                                #15

                                Well said!

                                1 Reply Last reply
                                0
                                • D Daniel Wilianto

                                  That's what baffled me too when I learned Python for the first time. Using indentation to mark code block? That's worse than BEGIN and END keyword! What if I deleted a space accidentally? There will no error message at all. No IDE error. No Compile error. Until some angry user phones me. I would rather leave this thing alone.

                                  M Offline
                                  M Offline
                                  Mike Winiberg
                                  wrote on last edited by
                                  #16

                                  Hmm, not strictly true, as you would know if you'd ever used it in anger! 8) Having progressed through FORTRAN/Assembler/Algol60/68R/C/C++ etc, I too was surprised at the use of spacing to delineate blocks of code, but (and especially with a good IDE) it really isn't an issue, and is certainly no worse than the (to me completely daft) Java convention of opening a block at the end of a line, but closing it at the beginning of some random line later on. The number of times I've misread a piece of code because I didn't notice the brace at the end of a long line (yes, I know, my failing!)... Having done extensive dev in Python over some years now, everything from responsive web apps to OS loaders to processing compressed files too large to unpack to disk, in umpteen environments and OSs, I've come to appreciate just how good it is. Like every language it has its quirks and sillinesses, but the indentation isn't really one of them! As always, for most dev, the language is unimportant, its the programming that matters - but you won't convince the religious (language) nutters of that, of course! All IMHO, of course 8)

                                  D 1 Reply Last reply
                                  0
                                  • L Leng Vang

                                    I'm may the odd one out, but I count myself lucky not having to deal with this slithering snake. I used to code in VB.NET and I hated it where a _ is required to break a line. Old FORTRAN required to start data or statement with specific column. Old VI editor requires switch toggle insert to edit. This Python requires indentation to mark code block and space to mark line break. It just brings to many of those bad memories to deal with just archaic requirement. I would gladly use {} and ; to state my intention any time.

                                    T Offline
                                    T Offline
                                    Tokinabo
                                    wrote on last edited by
                                    #17

                                    By the way, no more _ required to break a line in VB.Net anymore..

                                    L 1 Reply Last reply
                                    0
                                    • D Daniel Pfeffer

                                      Edsger W. Dijkstra wrote:

                                      It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.

                                      So in that sense, Python is the new BASIC. :sigh:

                                      Ad astra - both ways!

                                      B Offline
                                      B Offline
                                      BryanFazekas
                                      wrote on last edited by
                                      #18

                                      Edsger W. Dijkstra wrote:

                                      It is practically impossible to teach good programming to students that have had a prior exposure to BASIC: as potential programmers they are mentally mutilated beyond hope of regeneration.

                                      It is a poor craftsman who blames the tools for his failures.

                                      1 Reply Last reply
                                      0
                                      • S swampwiz

                                        Looking into learning it myself (finally), I was reading that Python is becoming much more popular at the high school level, and it has already been well-established as an easy tool to get a lot of stuff done by non-CSC types - which reminds me of the way that classic Visual Basic was used by a lot of folks.

                                        R Offline
                                        R Offline
                                        rubinstu
                                        wrote on last edited by
                                        #19

                                        There are some technical and historical reasons that BASIC was THE de facto programming language for students and non-professionals for a generation. The main one, in my opinion, is not that the language was so easy (it IS pretty easy, though), but that it WAS (emphasis on "was") so easy to get started. You literally turned on the computer (TRS-80, Commodore 64, etc.) and you had a BASIC prompt. It's now actually harder to get started in programming because there are just so many layers of tools to get going. (There are notable exceptions, but there is no universal simplicity like what was on the home computers of the 1980's.) You CAN write high-quality, well structured software in BASIC (and Python, and you name it). You can also write garbage. I've read thirty-year-old BASIC code and re-written it in C. The original code was impeccably constructed!

                                        1 Reply Last reply
                                        0
                                        • T Tokinabo

                                          By the way, no more _ required to break a line in VB.Net anymore..

                                          L Offline
                                          L Offline
                                          Leng Vang
                                          wrote on last edited by
                                          #20

                                          I know. And like VB _, with enough complaining, perhaps Python will be fixed or at least make optional to allow code block delineation tokens.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups