10 ms·
> Your tendency to undervalue modularization and code-sharing is one symptom. Another is your refusal to use systematic version-control or release-engineering
by WalterBright 11y ago
> Your tendency to undervalue modularization and code-sharing is one symptom. Another is your refusal to use systematic version-control or release-engineering practices. To you, these things seem mostly like overhead and a way of needlessly complicating your life. And so far,
your strategy has worked; your natural if relatively undisciplined ability has proved more than equal to the problems you have set it. That success predisposes you to relatively sloppy tactics like splitting drivers before you ought to and using your inbox as a patch queue.
I hang my head in shame at this. I'm lucky, though, that the other members of the D team talked me into using modern tools like github and bugzilla. I'm grateful for that.
P.S. yes, I really did use email as a patch queue and database.
- realusername 11y agoYou are not alone... on my first internship, we were transferring code by USB keys, I just can't believe I used to work this way at some point.
- WalterBright 11y agoAt least you didn't store the only copy on a floppy in your desk drawer next to your lunch.
- Vivtek 11y agoAhem. That brings back some shameful memories.
- watmough 11y agoWe walked a 3.5" disc down to a 'build box' in the basement. Happy days.
- rwmj 11y agoScarily, I have single, hand-written source files that would barely fit onto a 3.5" disk.
- rwmj 11y agoSince that was downvoted for some reason, here's the source file I was thinking about. It's 762K, so about half of a 1.44 MB 3.5" disk. The total for the whole directory (itself a fraction of libvirt) is 9.2 MB. https://libvirt.org/git/?p=libvirt.git;a=blob;f=src/conf/domain_conf.c;h=67415fa3d590dd072820b61ec34b65c1c0ccb96d;hb=HEAD https://libvirt.org/git/?p=libvirt.git;a=blob;f=src/conf/dom...
- jsnider3 11y agoSuppose you change one line, how long does it take to recompile that file?
- rwmj 11y agoThat single file takes 0.56 seconds to compile on my i7 laptop. However deleting and recompiling that file triggers a relink of the library, and then a relink of all the utilities using the library, and that takes a bit longer.
- protomyth 11y agoTechnically, that file wouldn't fit on the 3.5" disks I used in college (400K Mac and 720K PC).
- WalterBright 11y agoBTW, there are over 14,000 commits just on the dmd compiler itself, and 120 contributors. Not using a version control system would have caused a complete collapse.
- jacquesm 11y agoThe CTO of a project I worked on a couple of years ago refused to install a version control system. I basically threatened to abandon ship if he wouldn't relent and eventually he did, but until today I don't think he's fully convinced that it was a good move.
- arethuza 11y agoIn my "big corporate job" of a few years back I introduced a policy of doing due diligence on suppliers who were writing applications for the company - was amazed to find that some people not only don't use version control systems but can argue with a straight face that they are a bad idea.
- jacquesm 11y agoI just did DD somewhere and the CEO said with a straight face that 'testing is old fashioned' in response to me flagging their test procedures as inadequate. Some of the stuff you come across just borders on the incredible. Fortunately most companies have their stuff in order.
- arethuza 11y agoWe did have a salesperson at one company who complained about us testing stuff as "all it did was find bugs". I think he thought that testing actually created bugs and that if you didn't test the product it wouldn't have any bugs.
- jimbokun 11y agoSometimes small children will cover their eyes with their hands and say "You can't see me!"
- knodi123 11y agoI've seen this sort of version control done twice in a professional setting, and both were by programmers much more gifted than me. I once saw a guy who wrote a robust e-store web app in C. Not C++, but C. Tons of complexity, and it worked fine, but then when I dived in to work on it, it was a nightmare. He told me "You want main_app.version3.old.c, That's the one that gets compiled and pushed to the production server. Not main_app.c, that one's old and we don't use it anymore." He built a build system from scratch, did his own version control in his head, and kept everything in one monolithic C file. Of course, he was the shittiest software developer I've ever seen. Just a brilliant programmer. He needed a manager the way a jet needs a pilot. Sadly, he was 30 years my senior, and not amenable to being told what to do, so after a long talk with our CEO, we decided to let him go. He was the only one who knew how our system work, but I built a comparable one using best practices and open-source software in less than a month.
- rwmj 11y agoC isn't a terrible language to write a web framework in. (Not using version control is a terrible idea). About 15 years ago I wrote a simple high level framework in C for writing web apps: http://git.annexia.org/?p=c2lib.git http://git.annexia.org/?p=c2lib.git http://git.annexia.org/?p=pthrlib.git http://git.annexia.org/?p=pthrlib.git http://git.annexia.org/?p=rws.git http://git.annexia.org/?p=rws.git http://git.annexia.org/?p=monolith.git http://git.annexia.org/?p=monolith.git It actually does stuff that even current frameworks cannot achieve, such as providing long-lived stateful web apps entirely in HTML (no JS required), although you are entitled to doubt if that matters these days since JS has won and is available pretty much everywhere. The best thing about it was that it was so fast, because the code + data of a small web app would fit entirely in the L1 cache of the CPU.
- kbenson 11y ago> It actually does stuff that even current frameworks cannot achieve, such as providing long-lived stateful web apps entirely in HTML What? This was the norm back in the day. It's not like all those Perl programmers writing CGIs or later PHP programmers writing PHP apps were using JS to tie it all together. Or am I misunderstanding what you mean?