6 ms·
That may or may not be the case, but I worked with someone back in the early 00’s who named all their variables things to do with the planet or sky, actually in
by tomalpha 5y ago
That may or may not be the case, but I worked with someone back in the early 00’s who named all their variables things to do with the planet or sky, actually including both of those words too. Everything was $sky, $cloud, $mist, $hill, $rainbow etc.
The code was at times almost poetic, but a nightmare to debug.
At least some of this sounds very plausible.
- knorker 5y agoThis is still too common in network equipment, server names, and project names. So you need to know if some obscure name is the name of a star, galaxy, or a nebula, in order to know if it's a router, firewall, or server. Still better than naming shit after greek philosophers.
- arethuza 5y agoIt was practically mandatory in the days when Sun workstations were popular for them to have astronomical names. I thought I was being quite daring when the lab where I worked got a load of DEC Alpha workstations and I named them after Martian surface features as I'd just read Red Mars.
- jjgreen 5y agoI worked at a place which had macho weather names for the Suns: "storm", "tempest" etc. I and another chap who started at the same time thought this was all rather silly, so we named ours "drizzle" and "damp"; this made the greybeards mutter somewhat.
- arethuza 5y agoAs a Scot I have to say that "dreich" would be a pretty good name for a machine ;-)
- TheOtherHobbes 5y agoIn the 70s it was somewhat mandatory to name CS research computers after characters and locations from Lord of the Rings. But there's still a difference between SET HOST RIVENDELL and naming all your variables after hobbits.
- arethuza 5y agoIn the mid 1980s the CS department I was at was fond of High-Level Hardware Orion minicomputers which were named after deities starting with "O": Ormazd being the one I can remember... https://en.wikipedia.org/wiki/HLH_Orion https://en.wikipedia.org/wiki/HLH_Orion
- kayodelycaon 5y agoIt’s kind of fun to have a few weird names. My laptops have fun names. Right now I have “Okavango Delta” and “Phoenix”. All of my WiFi networks begin with Aardvark (shows up first in the network list) and all of my iOS devices are Aardwolf (shows up after Aardvark when used as a hotspot).
- moron4hire 5y agoWhen I hotspot my phone in public, I give it the SSID "FBI Surveillance Substation 3".
- ehnto 5y agoI worked at a company where all the server names were named after mountains. I totally get it for things that have no meaningful name possible. "Server Three" doesn't actually give you much information, I already know it's a server, and them being numerically ordered adds nothing either. So why not be fun with it. Variable names on the other hand can carry a lot of information, and naming them arbitrarily misses that opportunity for clarity.
- marssaxman 5y agoI also worked at a company where all the machines were named after mountains! The company was named MountainGate, so this was probably unavoidable. "Dana" and "Tresidder" sat on my desk.
- knorker 5y agoNobody wants to spell empedokles at 4am. And if you're not the person who has to deal with this problem, then you are a dick to whoever does, if you name a server something like this. "server three" actually does give you information. It's a server. Not a router. Not a firewall. Not a load balancer. Not a desktop. Not a laptop. Not your HSM. Not the telco gear. Etc... etc... If "well I don't have any of those things", then sure, whatever. If you have three servers, then it doesn't matter. But then you grow a bit. And now you have 20 servers, and kinda matters that you have a pattern that IS NOT "greek vs roman gods", but maybe "diskfulls" and "CPU-monsters". At a previous company we named these "db<n>" and "quick<n>". And did not reuse numbers, because then we could also infer the hardware generation (lower number means older hardware). db<n> wasn't even running any relational database. We could have named them "storage<n>", and it wouldn't have made a difference to the fact that the name was incredibly useful. Sometimes you can save the company your entire year's salary by reducing an outage by the few minutes not making typos or misunderstanding about "is this part of prod or not?". Communication is important, and coming up with the "funniest" name is not so funny when the site is down and you're trying to figure out the problem.
- avian 5y agoSometimes it's little freedoms like that that help you get through your workday. Sitting logged in to server00831 from laptop firstlastname2016 all days is just soulcrushing.
- knorker 5y agoIt's one thing when you have pets, another when you have cattle. A traceroute showing herodotus? Magellanic? Jesus fucking christ I can't even spell that into google to find out if it's a router or a firewall. I've worked at places like that and I can't figure out if the other people in the company hate each other, are super elitist (oh, you don't know who herodotus was? Did you even take ancient greek history at your public school?), or are some sort of double agent productivity saboteur. I find it extremely disrespectful to get in the way of other people getting shit done, and some of these names are about as funny as wiping a colleague's hard drive (containing all their work in progress) for fun. Don't make me spell empedokles when everything's on fire at 4am. That's insanely disrespectful. You have three servers? Go nuts. You have at least 831 (per your example)? A thousand servers and your servers are still pets? I'd request a mandate to fix what is clearly broken culture and infrastructure, or quit. At 4am the funny name is a joke at your expense, and shows that whoever named this machine does not respect you.
- sumtechguy 5y agoYou can go on the other end of the extreme with this. One dude we hired came in and started immediately yelling about the naming convention of 3 machines. How unprofessional it was. This was when renaming a machine was kind of a pain, and reinstalling took 2-3 hours (plus patches). "you want it fixed you reinstall them" (they were never fixed). We were naming them after cartoon characters. He refused to install any machines himself and would regularly rename half the vars in a project because 'they did not feel right'. One time he spent 2 hours ranting about a comment in the code that was a movie quote that fit what was going on. The next box he wanted but would not install himself was named Kyle after the whiny char from south park. When it came time to scale to about 200 machines I chose a convention that made sense (something like city-rack-machinetype-number) and could help someone find the box quickly. He still did not like it and wanted to still rename them all.
- rendall 5y agoWe name all devices on our home network after fictional computers. MU-TH-UR 6000, HAL 9000, Multivac, Deep Thought, Earth, etc
- arethuza 5y agoI hope you'll be moving on to Culture ship names... https://theculture.fandom.com/wiki/List_of_spacecraft https://theculture.fandom.com/wiki/List_of_spacecraft I guess Minds count as "fictional computers" ;-)
- bsenftner 5y agoIn the 80's at Boston University, some CS labs had their own small computer networks, plus various devices like tape readers, film scanners and such. The naming convention was aquatic life. Mainframes were named after species of whales. Called minicomputers then, we call them servers now, were named after species of shark. The Thinking Machine at MIT was aliased to be a killer whale. And the various output devices like printers were named after common edible fish, while the input devices like film scanners were named after edible sea plants. We had one special minicomputer that had special hardware (of the day) that did dot products in hardware, the CPU had a dot product op code (it was a Celerity), and that was named 'dolphin' - the only system with a general name rather than a specific species. I still think/visualize aquatic life when I envision a network.
- ranko 5y agoThere's a nice RFC on machine naming - https://datatracker.ietf.org/doc/html/rfc1178 https://datatracker.ietf.org/doc/html/rfc1178 - but sadly the practice of giving machines memorable and distinctive names has largely died out at workplaces.
- arethuza 5y agoI knew a guy (extremely smart, a PhD physicist) who, apart from writing Lisp in the style of Occam, who was fond of using synonyms - so a variable holding a stream would be called brook etc. I also knew another hyper smart chap who used to argue passionately for meaningless identifiers - his argument was that you couldn't actually represent anything meaningful about what an identifier was for in a short name so why try? Mind you, he was a MUMPS developer.
- jjgreen 5y agoWhich puts me in mind of this classic, also from the DailyWTF: https://thedailywtf.com/articles/a_case_of_the_mumps https://thedailywtf.com/articles/a_case_of_the_mumps
- bregma 5y agoIn the 1980s I was handed a piece of code to maintain; one of the coding conventions they had followed was that all variable names began with the letter "O" followed by three numeric digits. This was FORTRAN 66 code, so no excuses except the code was originally written by the system administrator's girlfriend who was a brilliant engineer.
- Aeolun 5y agoI find it hard to call anyone that names their variables like that brilliant :/
- KineticLensman 5y agoI worked on a project that involved building a constraint-based system that diagnosed short circuits in complex and expensive analogue circuit boards. We named many of the relevant variables after short people (e.g. Ronnie, Corbet, Napoleon, etc etc). We would have got away with it due to the general lack of external code reviews but our boss heard us discussing a bug that involved one of them.
- danielvf 5y agoThere is a very large crypto currency project, holding 9.3 billion dollars, that believes that variable names should be mostly meaningless, and furthermore that all nouns should be three letters long, and all verbs four. Here's the start of the method "frob()", from the file "vat": Urn memory urn = urns[i][u]; Ilk memory ilk = ilks[i]; // ilk has been initialised require(ilk.rate != 0, "Vat/ilk-not-init"); urn.ink = add(urn.ink, dink); urn.art = add(urn.art, dart); ilk.Art = add(ilk.Art, dart); int dtab = mul(ilk.rate, dart); uint tab = mul(ilk.rate, urn.art);
- trishmapow2 5y agoThis seems to be MakerDAO VAT contract, for those curious. At least it has comments explaining everything at the top. https://etherscan.io/address/0x35d1b3f3d7966a1dfe207aa4514c12a259a0492b#code https://etherscan.io/address/0x35d1b3f3d7966a1dfe207aa4514c1...
- ehnto 5y agoUncooperative, bordering on antagonistic. (kiddng, do whatever you want, but I wouldn't work on that code)
- commandlinefan 5y agoI used to work on an accounting system and for internationalization purposes we dealt with generic "debit units" and "credit units". We had a developer who shortened "debit unit" to "dunt". Want to guess what he shortened credit unit to?
- driverdan 5y agoThis seems like intentional obfuscation to make it harder for others to understand. I would stay far, far away from it.
- dshpala 5y agoLooks like https://github.com/Keydonix/dai-hrd https://github.com/Keydonix/dai-hrd
- Aeolun 5y agoThis sounds fantastic. I should totally do this.
- wernsey 5y agoThen there's this guy who writes his code as Dr Seuss poetry [0] [0] https://www.reddit.com/r/programming/comments/24g6al/i_have_officially_failed_at_programming/ch75f9e/ https://www.reddit.com/r/programming/comments/24g6al/i_have_...
- mellavora 5y agohuh. I heard about a company who named some of their OS releases after features of California geography.
- lproven 5y agoUnderrated comment. :-D