GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Phantasm (phnt@fluffytail.org)'s status on Wednesday, 27-May-2026 09:04:22 JSTPhantasmPhantasm
    in reply to
    • Haelwenn /элвэн/ :triskell:
    • Junes
    • DulceKennedy
    • pistolero
    • SilverDeth
    • Slim Jim
    • CMD
    @lanodan @j @Junes @SilverDeth @p @ElDeadKennedy @ceo_of_monoeye_dating
    >but it reminds me that I really dislike the lack of early return in Elixir

    Yeah, that can be very unintuitive at first. Same with implicit return when you try to log a result of a call the function retuns:
    def func(var) when is_integer(var) do
    var = var + 5
    ret = process_var(var)
    Logger.debug("#{__MODULE__} func/1 returning: #{inspect(ret)}")
    ret
    end
    It's very easy to return the Logger output and then wonder why it doesn't work, especially for someone new that writes something like this:
    var =
    if asdf == true do
    var = process_var(var)
    Logger.debug("#{inspect(var)}")
    else
    nil
    In conversationabout 5 months ago from fluffytail.orgpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.