
siraj-samsudeen
Programming Phoenix LiveView:Please consider replacing WrongLive to GuessLive
The name chosen for the guess module is WrongLive - each time I see this, my brain fires up with the usual connotations of the word wrong (thinking that this is the wrong way to code, and then there is a right way to code it that would be shown by authors later). Even though I have overridden this self-talk, each time I read the code, it flashes up. Given that many of us have strong associations with the word right and wrong, why use it as it could be an unnecessary distraction for many readers? Since the code is about Guess, we could easily use a name like GuessLive.
I know this is a cosmetic change, but it might be worth considering - The book Thinking Fast and Slow
discusses System2 and System1 - I think that association for right and wrong are mostly System2 which is hard to override than System1 .
Popular Prag Prog topics










Other popular topics










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