News for hackers. Stuff that matters.

bumbread

Re:No joke–you can buy our copy/paste keyboard on Tuesday September 28, 2021 @10:17PM (#28689582)
Gotta say though, stackoverflow's 2021 April fools' joke was actually good.
Re:“Prime Testable” Code on Saturday September 25, 2021 @03:29AM (#28651244)
It basically seems to advocate using functional programming, or at least writing pure functions for the code that you want to be testable.

Got a little bit disappointed in the content of the article. In fact, the whole article amounts to the three sentences of information "Write functional code. If it doesn't work, reorganize. Try it and let me know". I wish the author at least pointed how to convert the code to the testable state. Not to mention the "reorganization part" totally blows all the meaning out of all previous sentences -- if writing pure functions may not work, does what you say even matter?

Re:OK? Programming Made Simple Again on Tuesday September 14, 2021 @02:49PM (#28529155)
OK, at first I thought this was just a bad programming language created by a person with no taste, but the more I read into it, the more I understood that it is actually a giant joke-programming-languages. I didn't find it too funny though.
Re:Random Date of Birth on Sunday September 12, 2021 @03:37PM (#28504166)
The website actually recommends against using the same date for everything. I think that was the point of the website rather than giving a random date. Namely, promoting not using personally identifiable information such as date of birth. I suggest thinking of the random date display as a sort of practical joke.

Also you're right that no one writes down their fake date of birth -- that would be weird. As an advice that wouldn't make sense, but what if we consider the case where people "don't care" and always chose "default" date of birth like "Jan 1, 1999"? That would be the same on all websites.

Re:Why Software Patterns Are Bad, Period on Thursday September 09, 2021 @06:13AM (#28468123)
You forgot the period in the title :D

Also due to recent happenings with Unity patenting ECS, this article doesn't conver this because this article is from 2016.