Reddit Programming
211 subscribers
1.22K photos
124K links
I will send you newest post from subreddit /r/programming
Download Telegram
What is a thing every programmer should know?
https://www.reddit.com/r/programming/comments/1hotewm/what_is_a_thing_every_programmer_should_know/

<!-- SC_OFF -->In the book “97 things every programmer should know” they asked a bunch of authors for one idea/method/principle they think is important to know. There are thousands of experienced software engineers reading this subreddit, there must be a lot of great advice out there. What is yours? <!-- SC_ON --> submitted by /u/tevelee (https://www.reddit.com/user/tevelee)
[link] (https://www.oreilly.com/library/view/97-things-every/9780596809515/) [comments] (https://www.reddit.com/r/programming/comments/1hotewm/what_is_a_thing_every_programmer_should_know/)
Difference between PHP getenv and $_ENV: beware of the subtleties!
https://www.reddit.com/r/programming/comments/1hou9mp/difference_between_php_getenv_and_env_beware_of/

<!-- SC_OFF -->Environment variables play a crucial role in modern development, especially for managing sensitive data like API keys or environment-specific configurations. In PHP, there are two primary ways to access these variables: the getenv function and the $_ENV superglobal. While they may seem interchangeable, they behave differently and can cause issues if not used correctly. <!-- SC_ON --> submitted by /u/noweh95 (https://www.reddit.com/user/noweh95)
[link] (https://medium.com/@julien_schmitt/difference-between-php-getenv-and-env-beware-of-the-subtleties-50b5f17fc90b) [comments] (https://www.reddit.com/r/programming/comments/1hou9mp/difference_between_php_getenv_and_env_beware_of/)
I Deployed the Same App on DigitalOcean and Hetzner! | Cheap vs Expensive VPS!
https://www.reddit.com/r/programming/comments/1hovw0a/i_deployed_the_same_app_on_digitalocean_and/

<!-- SC_OFF -->DigitalOcean has been my go-to for purchasing VPS for the past few years. However, recently, some cheaper cloud providers, particularly Hetzner, have been getting a lot of attention! In their cheapest plan, you can get 2 cores, 4 GB RAM, 40 GB SSD, and 20 TB bandwidth for just $4/month! ![Hetzner Pricing SS](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3x55o2e1jtllcd86yl1w.png) To get something similar on DigitalOcean, you’d need to pay $24/month! Now on paper, it sounds like a great deal! and seems like a no-brainer to switch to Hetzner. But is there a catch? Is it as good as everyone claims? How much traffic can Hetzner’s cheapest plan handle compared to something like DigitalOcean? To find out, I deployed the same app on both platforms in the same region, compared their performance, and shared my findings in this video: https://youtu.be/mrDXF-Y9T50 If you’re in a hurry, here’s the result 👇 Virtual Users Digital Ocean Hetzner 50 593.4ms 575.99 100 754.84ms 626.04 250 1.4s+ 950.23 500 6s 1.8s Cost $6/month $4/month <!-- SC_ON --> submitted by /u/devarifhossain (https://www.reddit.com/user/devarifhossain)
[link] (https://youtu.be/mrDXF-Y9T50) [comments] (https://www.reddit.com/r/programming/comments/1hovw0a/i_deployed_the_same_app_on_digitalocean_and/)