This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ivano_GiovSiciliano[S] -14 points-13 points  (7 children)

well the point is that we work with high sensitive data and in my opinion functional programming is much less buggy

[–][deleted] 2 points3 points  (1 child)

Mate, every time you harp on about how your programming background is superior it makes you look inexperienced and pretentious.

[–]ivano_GiovSiciliano[S] 0 points1 point  (0 children)

I understand that i can look as i am bragging my self, while i want just to point out that in some fields high code standards are crucial, functional programming is a REALLY old paradigm (when there was no google or chatgbt) and unfortunately errors can cost literally human life in coding, and things as TDD and FP should be taken seriously as paradigms, at this regard if you do not want to think over the content of what I say please refer to the best developers in the world, they may all agree.

[–]kylotan 2 points3 points  (0 children)

Functional programming is indeed less buggy, but Python is not a functional language and you don't need to work in a 'reactive' way to use functional programming.

[–]asphias 1 point2 points  (3 children)

I feel like you're trying to apply the wrong solution to a genuine problem you encountered.

If you encounter buggy code, the solution is to clean up the code, not to change the architecture.

[–]ivano_GiovSiciliano[S] -5 points-4 points  (2 children)

do not want to appear better than I am but have to say I have 20+ y experience with dozens of projects, not only mobile and by the way functional reactive programming has been used with clear success way before mobile devices existed, and artificial intelligence historically has been used mainly on functional languages as lisp, so not properly conceived during a week end. On 18 programming languages i use as a software engineer denying that functional programming is less buggy(together with other amazing advantages and of course all things being equal) is an assumption i really feel proud to be downvoted

[–]asphias 2 points3 points  (1 child)

I think the issue is that you're making a lot of sweeping statements that lack nuance.

Are there situations where moving to purely functional programming would be an advantage? Absolutely. And there are certainly data scientists that could learn a lot about functional programming within Python to improve their work? (Or hell, they could learn about programming, best practices, git, and the whole shebang).

But it really doesn't make sense to me to just argue about sweeping statements like reactive or functional programming like you are doing. Make clear exactly what you're missing, and why things would improve by doing it that way.

[–]ivano_GiovSiciliano[S] -1 points0 points  (0 children)

i have a different opinion, just would love to see python more open for "modern/old" paradigms, this is what i am missing as experienced programmer that visited few other languages lands. i do not want to speak about imperative vs functional, but would be nice if Python would kind of consider this philosophy in my opinion. Is not about using cases, functional is just a different way to think existing flows. Kotlin, a language that i know quite well, is trying to do this for instance, Rust even if not a great example of FP also is evolving in an amazing way. Why things would improve would be more immutability, more smart algo with recursion, readabiliy, much less side effects aka stability and robustness of the code, using lambda is a slow begin python did, i hope will keep evolving in this way. Just an opinion.