Tag : clean-code

/* 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 ..

Read more

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..

Read more

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..

Read more

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

Read more