/* A C-program for TT800 : July 8th 1996 Version by M. Matsumoto, email: m-mat @ math.sci.hiroshima-u.ac.jp Modified for AVR modules by Nicolas Schodet. genrand() generate one pseudorandom number with double precision which is uniformly distributed on [0,1]-interval for each call. One may choose any initial 25 seeds except all zeros. Copyright (C) 1996, Makoto ..
Tag : clean-code
We’re working an agile project and designing as we go on a new python commandline app / systemd service for some fancy in-house project. Right now, we’re supposed to be adding an observability / logging layer to the program. According to the product owner and the guy on our team that knows the most about observability (not me) we’re supposed to send to an OTEL collector basically every function call we do so we can 100% recreate what the progra..
We’re working an agile project and designing as we go on a new python commandline app / systemd service for some fancy in-house project. Right now, we’re supposed to be adding an observability / logging layer to the program. According to the product owner and the guy on our team that knows the most about observability (not me) we’re supposed to send to an OTEL collector basically every function call we do so we can 100% recreate what the progra..
I am wondering if throwing an error in programming is good Idea at..
In Clean Code, it is written that “the ideal number of arguments for a function is zero”. The reasons why are explained and make sense. What I’m after is techniques to refactor methods with 4 or more arguments to solve this ..
Suppose of this question the foll..
I’m in the school of thought of ‘thin controllers’, and love to push logic down into services and the domain models. However, I’m wondering if my controller should be making an HTTP Request to another web service or if the application service should do it. It seems that with my school of thinking then “yes” I should push it into the application service. However, this means the application service is stuck with HTTP only. So if I want to use a different communication protocol I’ll need to implement another service like RabbitMQService
instead of HttpService
In the past few months that I’ve been learning Javascript, I’ve wondered which is the better usage of func..