﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Cessor commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Yeah, we get it, ayende can't do math. Get over it, it doesn't matter, because instead of discussing some math and moot problems would you please listen to the POINT of it?
  
  
Not only are you getting ONE developer to set it up, but the next guy to change the system. And the BA who is asking the developer how long it will take to get this and that customer values stored. And then the BI guys trying to figure out what customer did what. And then the next developer trying to refactor some code and he can't figure out what it does. That second developer who inherited the code leaves. The next guy they hire doesn't do anything for the first half year other than trying to figure out what the system is storing.
  
  
No matter how money much each of those ppl make, they will spend a lot of time deciphering the intend and asking other people about what the system is doing instead of being presented with it.
  
  
Not only disk space has a value but also the information stored on it. That can not be measured because information means different things to differnet people. Somebody put a money value on INTENT please and do the maths again.
  
  
Last thought: The currency is a developers sanity not the money a company spends on him.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment92</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment92</guid><pubDate>Wed, 17 Nov 2010 02:05:36 GMT</pubDate></item><item><title>ceagle commented on You saved 5 cents, and your code is not readable, congrats!</title><description>More harm than good, I will not do.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment91</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment91</guid><pubDate>Tue, 16 Nov 2010 06:44:41 GMT</pubDate></item><item><title>Jean-Gael commented on You saved 5 cents, and your code is not readable, congrats!</title><description>I have seen few programmers aware of this. The old thinking schema where economy (of space, processor time, network capacity etc ...) is a priority are still alive. I've seen many costly hours completely lost to the drain trying to debug or adding new features to existing so called optimized programs. Once, a collegue told me that he was reluctant to call his variables with long explicit name because his code lines were superior to 80 char / column ! He had a 26 inch screen ...
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment90</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment90</guid><pubDate>Sat, 30 Oct 2010 09:41:10 GMT</pubDate></item><item><title>MrStonedOne commented on You saved 5 cents, and your code is not readable, congrats!</title><description>mysql and more data storage systems do not store the name in each row, the data is stored in order, with some sort of system to figure out where what set of data ends and another starts, and some sort of system to till when one row ends and another starts...
  
  
in mysql names are only stored in the .myfmt file, in mysql MEMORY tables names are still storied in a .myfmt file, and if this new system they switched to doesn't do the same thing as a mysql MEMORY table, then it cant be any faster then mysql, normal, or MEMORY
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment89</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment89</guid><pubDate>Fri, 29 Oct 2010 08:51:03 GMT</pubDate></item><item><title>Set commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Crazy crazy crazy. There are still some people who argue that hardware cost &gt; software cost, especially for software optimization?
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment88</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment88</guid><pubDate>Wed, 27 Oct 2010 06:15:03 GMT</pubDate></item><item><title>Gian Maria commented on You saved 5 cents, and your code is not readable, congrats!</title><description>@José F. Romaniello Yes, I mean fine tuning. Buying hardware because each query is a Select * (select star) or because some queries are really bad is WRONG. What I mean is, suppose that queries are good, is not worth triying to do fine tuning (such as forcing execution plan etc etc) only to save hardware costs.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment87</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment87</guid><pubDate>Tue, 26 Oct 2010 09:10:30 GMT</pubDate></item><item><title>Harry Steinhilber commented on You saved 5 cents, and your code is not readable, congrats!</title><description>@foobert, 
  
You may wish to note that Ayende is the principal commiter of RavenDB, which *is* a schema-less database.  Also, the article in question specifically mentioned that the abbreviated names were for *disk space* savings, not memory. 
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment86</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment86</guid><pubDate>Mon, 25 Oct 2010 21:26:37 GMT</pubDate></item><item><title>Chris Kemp commented on You saved 5 cents, and your code is not readable, congrats!</title><description>I seriously how those figures are wrong. Two weeks vacation?!?! Thank god I don't draw my salary in USD.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment85</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment85</guid><pubDate>Mon, 25 Oct 2010 18:39:36 GMT</pubDate></item><item><title>foobert commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Memory is expensive in the cloud. It's even expensive when you run your own servers.
  
  
99% of the people commenting here (including the author), need to familiarize themselves with a schemaless database (yes, it's not so much like your mysql) and also MongoDB.
  
  
Say what you want about MongoDB, this isn't really something serverdensity can do about. There's plenty of overhead with each document in MongoDB and they utilize it at a rate most of you guys are never gonna see, ever.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment84</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment84</guid><pubDate>Sun, 24 Oct 2010 22:47:14 GMT</pubDate></item><item><title>Mistertom  commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Ok, MongoDB stores data in BSON format in memory. But such old-school optimization does not feel right. 
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment83</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment83</guid><pubDate>Sat, 23 Oct 2010 17:58:05 GMT</pubDate></item><item><title>Matei commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Ahhh, I can't resist, such nonsense. This brings back memories, all too fresh unfortunately, of silly things I've found in a legacy SQL database: somebody had stuffed an HTML document in an XML document, compressed it with Deflate64 and than stored that in the database. Seriously, what were they thinking? Well perhaps they've read a blog post somewhere along the same lines with the post you mention. This is right up there with one of my leads requesting all variable names use no vowels a few years back. Really?
  
  
A well designed/scalable application will run without issues on commodity hardware and disk space is really that cheap. I've seen many more availability issues caused by poor design/code than hardware failure, and let's face it hardware fails. Yeah, that's what it does. Your application better handle it gracefully, and you're definitely not going to be accomplishing that with shortened filed names.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment82</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment82</guid><pubDate>Sat, 23 Oct 2010 16:30:43 GMT</pubDate></item><item><title>scooletz commented on You saved 5 cents, and your code is not readable, congrats!</title><description>I do like the very first row, which appeared after your publication:
  
'A discussion about the value of shortened field names has generated a lot of traffic to this post over the last 24 hours' :D
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment81</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment81</guid><pubDate>Sat, 23 Oct 2010 15:57:15 GMT</pubDate></item><item><title>Rick commented on You saved 5 cents, and your code is not readable, congrats!</title><description>I wanted to stab a developer in the head when she suggested heavily abbreviated field names.  She came from a mainframe background when they counted bytes, I guess she used core memory or punched cards or something back then.
  
Thank god she retired, and I got my way.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment80</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment80</guid><pubDate>Sat, 23 Oct 2010 05:41:21 GMT</pubDate></item><item><title>alwin commented on You saved 5 cents, and your code is not readable, congrats!</title><description>I don't understand why MongoDB storing everything in RAM is bad? If it makes it faster, it's a good thing right? If a SQL db would store everything in RAM and it would make it faster, I'm a happy developer.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment79</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment79</guid><pubDate>Sat, 23 Oct 2010 04:23:36 GMT</pubDate></item><item><title>dgwlkr commented on You saved 5 cents, and your code is not readable, congrats!</title><description>1 TB = 60 USD
  
1 GB = .058 USD
  
  
cost savings: 59.95 per annum, 
  
  
you're confusing the new cost with the savings delta.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment78</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment78</guid><pubDate>Sat, 23 Oct 2010 03:35:02 GMT</pubDate></item><item><title>Nathan commented on You saved 5 cents, and your code is not readable, congrats!</title><description>"I see this sort of thinking all the time - I'm a front-end web developer and some people squish their CSS files into one giant line. Yeah they save spaces, tabs, and line breaks - but it takes so long to track that down.
  
  
I mean sure, if you're Google or Facebok go right ahead and make your stuff small because it adds up - but this practice of 'overoptimizing' code for a site that gets &gt;300 hits a week just renders it a nightmare to work on :-/" -  innovati
  
  
The practice you are referring to is called "minifying" and there is no excuse not to do it with your .js and .css files.  You simply have your development files that aren't minified for easy editing and you minify those files each time a change needs to go to your production server.  It takes 2 seconds to minify .js and .css files using any number of free tools out there.  It's just plain lazy and disrespectful to your clients not to.
  
  
You should also consolidate your .js and .css files whenever possible.  Chrome has a wonder auditor built into its developer tools that makes that last bit of optimization easy.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment77</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment77</guid><pubDate>Sat, 23 Oct 2010 01:35:27 GMT</pubDate></item><item><title>monkey-leader commented on You saved 5 cents, and your code is not readable, congrats!</title><description>You can save much more money/space by not letting a developer EVER touch a production machine.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment76</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment76</guid><pubDate>Sat, 23 Oct 2010 01:08:35 GMT</pubDate></item><item><title>MySQL... The Twinkie of RDBMS commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Why not just turn on page or row compression and save the space without the work?
  
Oh. Right. MySQL...
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment75</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment75</guid><pubDate>Sat, 23 Oct 2010 00:58:49 GMT</pubDate></item><item><title>hemp commented on You saved 5 cents, and your code is not readable, congrats!</title><description>To all those trying to argue that Oren's argument was bad because MongoDB does store the full column name in memory for each row - all you're doing is explaining why schema-less DBs are generally poorly conceived and poorly implemented.
  
  
Also, it's irrelevant to the point of his argument, which was really about misguided optimizations.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment74</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment74</guid><pubDate>Fri, 22 Oct 2010 23:58:32 GMT</pubDate></item><item><title>Bevan Arps commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Once upon a time, shorter variable named did mean faster compilation or faster execution at runtime. Back in the days when a 4MHz Z80 was state of the art, anyway.
  
  
Nowdays you'll pay more (in time) for a processor memory cache failure than for the processing time for a longer identifier.
  
  
Even if there was a benefit (which I doubt), human time is the controlling factor, not cpu time. If you need to work half an hour late *just* *once* fixing a bug caused by misunderstanding code with cryptic names then you've undone all the potential savings.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment73</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment73</guid><pubDate>Fri, 22 Oct 2010 23:50:27 GMT</pubDate></item><item><title>jason commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Just use column constants in your code and then everyone is happy?
  
  
I think that talking about price is pretty meaningless. If you have enough records that is is a problem, then you'd rather fit in more in memory by making them smaller.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment72</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment72</guid><pubDate>Fri, 22 Oct 2010 23:46:56 GMT</pubDate></item><item><title>tinman commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Your computation is incomplete. Data center server hard disks cost more than 120 $. Shorter variable names mean shorter build times, because they compile faster. And you forgot the saved wattage for both developer work stations and servers. Keep in mind that green computing is all the rage now. Shorter variable names = saving earth!
  
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment71</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment71</guid><pubDate>Fri, 22 Oct 2010 23:38:32 GMT</pubDate></item><item><title>Rob Ashton commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Lance, stfu please :)
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment70</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment70</guid><pubDate>Fri, 22 Oct 2010 22:54:06 GMT</pubDate></item><item><title>Lance commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Ken is right.
  
  
The rest of you are a bunch of Ayende fan boys. My god you are like a bunch of blind deaf sheep. If Ayende proclaimed the earth was flat you would happily defend that statement.
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment69</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment69</guid><pubDate>Fri, 22 Oct 2010 22:38:38 GMT</pubDate></item><item><title>Andrew commented on You saved 5 cents, and your code is not readable, congrats!</title><description>"This means things are much more flexible for future structure changes but it also means that every row records the field names."
  
  
There is the real problem. What kind of pathetic database would make such a chronically stupid design decision?
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment68</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment68</guid><pubDate>Fri, 22 Oct 2010 21:19:53 GMT</pubDate></item><item><title>Rob Ashton commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Software Engineer :: Document databases.... read the comments
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment67</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment67</guid><pubDate>Fri, 22 Oct 2010 21:15:06 GMT</pubDate></item><item><title>Ken Egozi commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Some facts people:
  
1. MongoDB store data in BSON format. which means that for every record, the field names are stored with the record. Just as any other schema-less document db (or KVP store) do
  
  
2. MongoDB is storing data on a Memory-Mapped-File.  Meaning that for optimal usage you'd need to have most (if not all) of the data in RAM. This is what makes it so damn fast. 
  
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment66</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment66</guid><pubDate>Fri, 22 Oct 2010 21:09:18 GMT</pubDate></item><item><title>Software Engineer commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Is everyone missing the fact that column names don't take up *ANY* extra disk space per row except me?  They didn't save a damn thing. 
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment65</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment65</guid><pubDate>Fri, 22 Oct 2010 20:00:40 GMT</pubDate></item><item><title>Petar Repac commented on You saved 5 cents, and your code is not readable, congrats!</title><description>"Memory is still ridiculously expensive" - especially if we are not using it wisely. I mean what kind of application needs for example 24GB of data in memory at once ? What time is typically needed for app to access let's say 80% of that bytes in RAM ? 
  
And another point - that app must make very little income to call 24GB expensive.
  
  
Didn't IT industry long time ago accepted that  the most economical way (for most applications) is that we have multiple layers of memory: from very fast and expensive CPU registers, to CPU cache, to RAM, to disk ?
  
  
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment64</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment64</guid><pubDate>Fri, 22 Oct 2010 19:13:18 GMT</pubDate></item><item><title>Gavin Towey commented on You saved 5 cents, and your code is not readable, congrats!</title><description>Double fail:
  
  
  
MySQL doesn't store the column names with every row.   
</description><link>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment63</link><guid>http://ayende.com/4669/you-saved-5-cents-and-your-code-is-not-readable-congrats#comment63</guid><pubDate>Fri, 22 Oct 2010 19:10:31 GMT</pubDate></item></channel></rss>