I hate that the convention for naming React.useState variables is [color, setColor], rather than [color, colorSet]. After I declare ‘color’, I want to copy/paste that variable and append ‘Set’, rather than copy the variable then writing ‘set’ then pasting then navigating to the 4th character then flipping the case.
Granted there could be some ambiguity if there was a variable containing a unique collection (aka set) but that is far less common than declaring a useState variable. I’d even settle for appending ‘SET’ to quell the confusion.
Hah, still relying on butterflies? Real programmers simply use the starting conditions of the universe to understand where their program will spontaneously compile
It’s Hebrew for double colon apparently, it came from the Israeli Zend framework PHP was based on. Some dev thought it would be funny to add an error in a language other than English.
If you want the answers that I could find, click here.- Lou Ah = Lua programming language - Ace Ink = Async - Doc. Err = Docker - Rick West = Request - Mike Ross Erveeces = Microservices - Russ T = Rust Thanks, @Skullgrid - Al Gore Ethem = Algorithm - Otto Maite = Automate - Ray Act = React - Riff Aktor = Refactor - Martin Fowler = Actual person named Martin Fowler- Ann Jen Eer = Engineer (Maybe ?) - Paul E Morfism = Polymorphism - Jay Son = Json - Sir T. Feakate = Certificate - Lynn Ter = Linter - Mai C. Quell = MySQL - Justin Time = JIT (Just In Time) - Reed Hucks = Redux. Thanks, @noli - Heather Net = Ethernet. Thanks, @prettybunnys - Ann Vars = ENV_VARS (Environment Variables). Thanks, @noli
My wife and I are the same age but I started using the internet around 1999 whereas she didn’t use it until many, many years later.
It’s fun because I can show her old memes for the first time. She missed the entire “lol so random” era of internet memes (think things like badger badger badger, “my spoon is too big”, forehead shavecut, animutations, etc) and doesn’t quite understand it. It’s all we had back then!
Yes, that was the first that came to my mind when I saw the TIL post… which also was why I felt the need to see if that rant is still valid, or if modern libraries could handle that.
And then you get a call from a Swedish Wikipedia editor and they say:
February 30 was a day that happened in Sweden, 1712.[4] This occurred because, instead of changing from the Julian calendar to the Gregorian calendar by omitting a block of consecutive days, as had been done in other countries, the Swedish Empire planned to change gradually by omitting all leap days from 1700 to 1740, inclusive. Although the leap day was omitted in February 1700, the Great Northern War began later that year, diverting the attention of the Swedes from their calendar so that they did not omit leap days on the next two occasions; 1704 and 1708 remained leap years.[5]
To avoid confusion and further mistakes, the Julian calendar was restored in 1712 by adding an extra leap day, thus giving that year the only known actual use of February 30 in a calendar. That day corresponded to February 29 in the Julian calendar and to March 11 in the Gregorian calendar.[5][6] The Swedish conversion to the Gregorian calendar was finally accomplished in 1753, when February 17 was followed by March 1.[5]
programmer_humor
Active
This magazine is from a federated server and may be incomplete. Browse more on the original instance.