Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Python sucks

Name: Anonymous 2011-05-19 22:57

``If you can do exactly what you want with Python 3.x, great! There's a few downsides, such as comparatively limited library support and the fact that current Linux distributions and Macs are still shipping with 2.x by default, but as a language Python 3.x is definitely ready." - Python Official Website

They really go out of their way to try and apologize for a shitty language.  3.x is awful and NO ONE will ever adopt it.  Python is going to die when 2.7 becomes too old to be useful since Python is just a novelty language that represent an idea that will actually be polished and efficient at some point down the road.

Name: Anonymous 2011-05-22 0:03

>>33
No troll here

this is the lisp I know, for example: calculates the sqrt(1+x), -1<x<=1
(defun fact (v)
  (cond ((eq v 0) 1)
        (T (* v (fact (- v 1))))
        )
  )

(defun taylor (x)
  (let ((n 1) (num 1) (den 1) (res 1))
    (loop (cond ((eq n 10) (return res))
                (T
                 (setq num (* (expt -1 n) (fact (* 2 n)))
                     den (* (* (- 1 (* 2 n)) (expt (fact n) 2)) (expt 4 n))
                     res (+ res (* (/ num den) (expt x n)))
                     n (+ n 1)
                     )
                 )
                )
          )
    )
  )

I'm just intrigued and I would like to know. Has I said, I'm new, therefore I'm still learning.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List