Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python as First Langauge
#16
Yep, I know this. And, indeed, developer time counts. And also, you need not optimize everything.

I always tell a story when I hear this: I once did an exercise that a colleague gave to students myself. They were to read 2000 spam mails, identify all words, make a statistics of that, and finally test the statistics to tell spam from non-spam in a sample of another 2000 mails. That's a simple AI task. But they had to do that in Matlab. Okay, I did it pulling out all tricks of Matlab I could find in the net to get it under the required 90 seconds. Barely made it, and it took me almost a day of work. Then I repeated the same in Java, finished it with very simple code (and I mean beginner level code) in two hours, and it ran in 3.5 seconds. What has that to do with our discussion? Matlab addicts say it is a language where you easily get results without much coding, thus shorter development cycles and faster results. It is simply not true. Verbose code in C/Java/C++ does the same much faster and is easier to understand. Mainly, because you do not have to worry about tricks.

I consider Python a script language now that is used to call C code. The beginner students of mathematics should learn the basics, not the scripting language.

Another story as a side remark: I have a student right now doing some pattern matching algorithms for a thesis, and he is doing it in Python. His main complaint, however, is that his algorithms are so slow. He is optimizing every bit he finds, which is a good attitude. But maybe the language itself is holding him back.
Reply


Messages In This Thread
Python as First Langauge - by mga010 - Jul-02-2020, 10:09 AM
RE: Python as First Langauge - by Larz60+ - Jul-02-2020, 11:03 AM
RE: Python as First Langauge - by Gribouillis - Jul-02-2020, 11:26 AM
RE: Python as First Langauge - by ndc85430 - Jul-02-2020, 11:53 AM
RE: Python as First Langauge - by mga010 - Jul-02-2020, 03:04 PM
RE: Python as First Langauge - by Larz60+ - Jul-02-2020, 03:16 PM
RE: Python as First Langauge - by Gribouillis - Jul-02-2020, 06:34 PM
RE: Python as First Langauge - by perfringo - Jul-02-2020, 07:39 PM
RE: Python as First Langauge - by mga010 - Jul-04-2020, 02:33 PM
RE: Python as First Langauge - by snippsat - Jul-04-2020, 10:52 PM
RE: Python as First Langauge - by mga010 - Jul-05-2020, 05:34 PM
RE: Python as First Langauge - by voidptr - Jul-25-2020, 04:59 AM
RE: Python as First Langauge - by Larz60+ - Jul-25-2020, 02:00 PM
RE: Python as First Langauge - by mga010 - Jul-27-2020, 04:03 PM
RE: Python as First Langauge - by Gribouillis - Jul-27-2020, 04:30 PM
RE: Python as First Langauge - by mga010 - Jul-28-2020, 04:46 PM
RE: Python as First Langauge - by Larz60+ - Jul-29-2020, 12:08 AM
RE: Python as First Langauge - by voidptr - Aug-02-2020, 07:02 AM
RE: Python as First Langauge - by millpond - Jul-31-2020, 06:49 AM
RE: Python as First Langauge - by elenaflorence87 - Jul-31-2020, 12:20 PM
RE: Python as First Langauge - by anne - Jul-31-2020, 06:06 PM

Forum Jump:

User Panel Messages

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