[–] 2 points 1 week ago (1 child)

No classes, no mutable types, pure functions where possible (I/O functions exist). I like elixir myself. I use for loops or recursion depending on which is suitable and most understandable. I like the pipe operator because I've gotten used to chaining inputs and outputs like that from Linux CLI.

I prefer functional programming, but also use OO, each their own, but i prefer functional and find it better to write and read

  • source
  • parent
  • context
  • [–] 2 points 1 week ago

    Nah, no language is "perfect" once you've used it enough I write python for money and elixir in my own time. I borrow implementation approaches from functional when it's appropriate. Avoid using complex classes, especially if the encapsulate state. But they have their uses and people should chose which works best for their use case

    I wouldn't write cli tools in elixir for example.

  • source
  • parent
  • context
  • [–] 1 point 2 weeks ago

    They bought the vast land area and they just started to cut it, just like that,” she said. “It’s pure arrogance and it’s amazing.”

    And they'll get fined $Profits - x where x < profits

    And be happy.

  • source
  •  

    Apologies if this isn't an appropriate post. I am in the UK and have recently moved and am lost on finding a supply now my usual plug is too far. I am in my late 40s which makes it harder to find like minded people (IMHO). Maybe I'm over thinking it

    How would one go about finding a plug iny situation? Any advice appreciated.

     

    I am looking for some advice on how to (if possible) setup a wireguard network for my home network and when I am connected to that network have a remote wireguard server act as an exit node, so that all external traffic appears to be coming from that remote server whilst keeping traffic bound for the home network local (only accessible via wireguard network)

    Local server is a Debian box and other devices will run a flavour of linux. Remote server is already running wireguard and I can connect to that if I bring up a route on each device, but ideally I want to connect to my home net and automatically have outbound traffic go via the remote server. The remote server's wireguard config is not under my control, which may make this unfeasible

    view more: next ›