Python: Difference between revisions

From YM2149.org
Jump to navigationJump to search
(Created page with "== Walk the Line (2005) == Waylon Jennings: How come you ain't ever tried this kind of pickin', Luther? [Picks a song on his guitar] Luther Perkins: Well, Waylon, whatever you're lookin' for, I've already found. Category:Programming")
 
No edit summary
Line 1: Line 1:
The best language.
== Walk the Line (2005) ==
== Walk the Line (2005) ==


Line 6: Line 8:


Luther Perkins: Well, Waylon, whatever you're lookin' for, I've already found.
Luther Perkins: Well, Waylon, whatever you're lookin' for, I've already found.
== Types ==
* not the panacea their supporters claim they are
* in particular, not being able to type exceptions is a design choice rooted entirely in fear
* rarely actually catch bugs
** although useful when refactoring, as you can chase errors in an ide
* unit tests catch more bugs and add more value
* potentially useful in documentation, although unclear if worth the maintenance burden
== High performance ==
* numpy gets close to native speed
* cython when you need to do something numpy doesn't support
== Packaging ==
...


[[Category:Programming]]
[[Category:Programming]]

Revision as of 09:56, 29 January 2025

The best language.

Walk the Line (2005)

Waylon Jennings: How come you ain't ever tried this kind of pickin', Luther?

[Picks a song on his guitar]

Luther Perkins: Well, Waylon, whatever you're lookin' for, I've already found.

Types

  • not the panacea their supporters claim they are
  • in particular, not being able to type exceptions is a design choice rooted entirely in fear
  • rarely actually catch bugs
    • although useful when refactoring, as you can chase errors in an ide
  • unit tests catch more bugs and add more value
  • potentially useful in documentation, although unclear if worth the maintenance burden

High performance

  • numpy gets close to native speed
  • cython when you need to do something numpy doesn't support

Packaging

...