HNHacker News
TopNewBestAskShowJobs

znafelrif

29 karma · joined November 2, 2022

submissionscomments
znafelrif··on macOS 14.4 causes JVM crashes
The article doesnt say anything about the JVM accessing other processes memory though.
znafelrif··on Stack Overflow announces 28% headcount reduction
Doesn't ChatGPT probably regurgitate stackoverflow answers? If stackoverflow doesn't exist, ChatGPT probably also gets worse as it doesn't have the data necessary to be able to answer questions.
znafelrif··on Functional Python Programming
> The core of functional programming is about avoiding mutable states, not much about anonymous functions or passing functions as data.

I disagree since any paradigm can be done either with or without mutable state. So it is not something that defines functional programming.

In any case you can also use immutable data types with python anyway.

The main annoyance with python is in my opinion your last point: The lambda syntax is too limited. So it is necessary to define lots of nested small functions instead.

Also python syntax is not as nice in chaining function calls over multiple lines.

znafelrif··on Learn C and build your own Lisp (2014)
The things it points out seem rather small and nitpicky. Doesn't really support the negative summary of the article.
znafelrif··on The Egison Programming Language
Do you have an example of such an implementation in haskell?
znafelrif··on Learn C and build your own Lisp (2014)
> > The interpreter uses very dubious implementation decisions, and the language that is created as a side-effect makes reasoning about anything near impossible.

That is in my opinion just completely unconstructive hate that I would not take serious as criticism. It doesn't give any concrete things that could be improved and instead just gives some vague statement about the whole site being generally bad.

znafelrif··on Functional programming should be the future of software
The article actually mentions ease-of-use as the major downside of functional programming ("Functional programming has a steep learning curve")
znafelrif··on Functional programming should be the future of software
The properties mentioned in the article are not really tied to functional programming.

- Not allowing null-references can be done with any paradigm. For example with object-oriented programming there really is no reason why it wouldn't work to not allow null references.

- Immutability can also be done with every paradigm. The Java String for example is both object-oriented and immutable.

I think the paradigm is actually irrelevant. The real advantage is not gained by using a functional programming language. It is gained by using a language that prevents null-references and makes it easy to write and use immutable data structures.