
PhBastiani
From Objects to Functions:
Hello Uberto,
We agree : We can say that referential transparency describes the purity aspect of functional programming. But IMHO, for an ‘Object’ developer it is I think easier to introduce FP via the Side Effects.
In any case, I think it would be good to introduce this notion more concretely via an example or a small code defactoring… So we could see the RT benefits !
In general, the approach proposed in the book based on business tests (and hand in hand) is very interesting. I therefore recommend this book for the object developer wishing to discover the benefits of the functional approach.
Regards,
Philippe
First Post!

uberto
Thanks for the kind words. Sorry but I haven’t checked in this forum since a while.
I hope the new betas with the Functional Programming appendix are a good answer to your concern.
Please let me know if you read a recent beta.
Popular Pragmatic Bookshelf topics







Modern Front-End Development for Rails - application does not start after run bin/setup (page xviii)

Modern front-end development for Rails, second edition - Struggling to get the first chapter to work


Other popular topics









Categories:
Sub Categories:
Popular Portals
- /elixir
- /rust
- /wasm
- /ruby
- /erlang
- /phoenix
- /keyboards
- /rails
- /js
- /python
- /security
- /go
- /swift
- /vim
- /clojure
- /emacs
- /haskell
- /java
- /onivim
- /svelte
- /typescript
- /crystal
- /kotlin
- /c-plus-plus
- /tailwind
- /gleam
- /ocaml
- /react
- /elm
- /flutter
- /vscode
- /ash
- /opensuse
- /centos
- /html
- /php
- /deepseek
- /zig
- /scala
- /textmate
- /lisp
- /sublime-text
- /nixos
- /debian
- /react-native
- /agda
- /kubuntu
- /arch-linux
- /revery
- /ubuntu
- /django
- /manjaro
- /spring
- /nodejs
- /diversity
- /lua
- /julia
- /slackware
- /c
- /neovim