News for hackers. Stuff that matters.
Re:Why Python keeps growing, explained by noloblo on Friday March 03, 2023 @01:35PM (#35013358)
debugging dynamic python and imperative stateful python after a certain code base size >10k LOC gets extremely painful

for any meaningful scale you are better served by basic FP hygiene as evidenced in

haskell

elixir

CL/racket

Re:Why Python keeps growing, explained by namaria on Friday March 03, 2023 @02:52PM (#35014202)
I agree. But most people just need a pick up truck, not forming railway consists.
Re:Why Python keeps growing, explained by cjalmeida on Friday March 03, 2023 @04:06PM (#35014975)
I don’t get it. Go is as imperative as a language can be.
Re:Why Python keeps growing, explained by noloblo on Friday March 03, 2023 @04:21PM (#35015188)
go is imperative but there are functional elegant styles borrowed from otp/erlang in ergo https://github.com/ergo-services/ergo https://memo.barrucadu.co.uk/three-months-of-go.html
Re:Why Python keeps growing, explained by ironman1478 on Friday March 03, 2023 @04:34PM (#35015353)
Because you say it doesn't make it true. It's not that painful or painful at all really. Good abstractions and planning make writing and maintaining a python easy, just like in any language.
Re:Why Python keeps growing, explained by tmtvl on Friday March 03, 2023 @04:36PM (#35015366)
Common Lisp, paragon of FP:

  (loop for x across numbers
        when (evenp x)
          do (setf result (+ result x)))
I mean yeah, you can do FP in CL, but it allows you to program in any paradigm which you prefer.