Sponsored by Dragon Age: Origins
See the new YouTube feature trailer for Dragon Age: Origins view!
youtube.com/DragonAge - EA presents BioWare's new dark fantasy epic Dragon Age: Origins. '9/10' from Game Informer.
64 Comments
- GMorgan, on 10/11/2007, -0/+19Up to 750 diggs down.
- eclipxe, on 10/11/2007, -0/+18@lordofshadows
Welcome to the Internet, enjoy your stay!
Hey, this might blow your mind....but all of these digg comments are stored in a database. OMG! Won't someone think of the sockets? Oh hey, when you hit that digg button, up-mod/down-mod a comment...guess what...DATABASE CONNECTION! Wow. Amazing that this stuff actually works, huh? - MrPig, on 10/11/2007, -3/+19Good game Wordpress!
- mtekk, on 10/11/2007, -0/+16no, it's a play on it
FTA:
"abject: utterly hopeless, miserable, humiliating, or wretched: abject poverty." - phjr, on 10/11/2007, -0/+13Funny and scary at the same time!
- RevEng, on 10/11/2007, -1/+11Amazing. You managed to make 4 ad hominem attacks in a single paragraph, in such a manner that it could have been posted to ANY blog/article/forum/billboard and still be just as meaningless and offensive.
Congratulations; you're the perfect troll! - GMorgan, on 10/11/2007, -0/+10"Cluttering up the source code with lots of comments explaining what the code is trying to do is distracting and slows down the compiler. That’s why abject shops that follow “best practices” keep documentation in a document management system where programmers can’t accidentally delete it."
Slows the compiler, very true :). - thetopguy, on 10/11/2007, -0/+10google cache got it
http://72.14.209.104/search?hs=sUq&hl=en&lr=&c2coff=1&q=cache%3Ahttp%3A%2F%2Ftypicalprogrammer.com%2Fprogramming%2Fabject-oriented%2F&btnG=Search - muzzle, on 10/11/2007, -1/+10I'm sad to to say that I am often guilty of such horrible coding. So, I say big ups to AO programming.
- ccfoo242, on 10/11/2007, -0/+9Finally, someone documents how I work! I should show my boss...maybe he'll give me a raise. I'll present a "Lunch and Learn" presentation on this and all my coworkers will be impressed!
- codemonkeysteve, on 10/11/2007, -0/+8Dugg for:
"Documentation
It’s said that code should be written for people to read, so it follows that documentation is written for no one to read." - edvas, on 10/11/2007, -0/+8a lot of people in the blog comments didn't get the joke, ha
two people were discussing what operator overloading actually is - thailand1972, on 10/11/2007, -3/+11"Please dont tell me the static text of the entire article is stored inside the database..."
Why is this bad? - dbr_onix, on 10/11/2007, -2/+10...that article was a joke?
- adolfojp, on 10/11/2007, -0/+6@lordofshadows (#7222452)
That is what page output caching is for. - GMorgan, on 10/11/2007, -1/+7No they don't. They argue over function overloading which is entirely different. [/pedant]
;) - justelite, on 10/11/2007, -2/+8very good article! I like programming jokes...
- djJohnnyG, on 10/11/2007, -2/+7Abject programming? Haven't Fox been dishing that up for years?
- counterplex, on 10/11/2007, -0/+4I thought it was a mis-typed headline for an article on Aspect-Oriented Programming but this was hilarious :)
- GMorgan, on 10/11/2007, -4/+7Yes but people are incapable of reading. Wordpress tells them why it isn't it's fault and yet they don't listen.
TBH Wordpress could be putting excessive pressure on the database but my guess is that for the most part we are just seeing sites with crap connections and/or crap servers. - DataSurfer, on 10/11/2007, -1/+4The funniest part is how all the people commenting on his blog didn't catch the sarcasm and are trying to tell him how he got the concepts wrong.
- wdr1, on 10/11/2007, -0/+2@ers35:
How an application uses its resources IS its responsibility. It's pretty lame to point the finger at MySQL because Wordpress doesn't implement any caching for relatively static content, as well as making a bazillion queries per page. That's poor implementation. - ers35, on 10/11/2007, -4/+6For the last time, there is nothing wrong with Wordpress. The site is experiencing a database malfunction.
- prgmctan, on 10/11/2007, -0/+2you're a bitch!
- mythz, on 10/11/2007, -1/+3This article is actually pretty good, it looks like our development team were already practicing the main tenants of abject orientated development without knowing it. I'm going to let the guys back in the office know that this is something else we can add to our resumes.
- nokkloom, on 10/11/2007, -1/+3The sadest part is that most of the people commenting on the site are not getting the irony :S
- edvas, on 10/11/2007, -0/+2whoops, looks like I'm guilty of the same thing :)
reminds me of one of the articles on coding horror where people in the comments frantically tried to come with code for some function and completely missed the point of the article - fquednau, on 10/11/2007, -0/+2Hm, I must say I find the resign patterns far more relevant...these should be read and understood by any serious programmer!
http://www.lsd.ic.unicamp.br/~oliva/fun/prog/resign-patterns - OneAndOnlySnob, on 10/11/2007, -0/+1Thanks dumbass, I didn't realize that the first time I read the article.
/JUST IN CASE YOU DON'T GET IT, "SARCASM" - darkened, on 10/11/2007, -1/+2And you sir are the weakest link, that was the entire running joke of this article pointing out the most common faults organizations make in programming.
- Wootery, on 10/11/2007, -1/+2I was thinking something more along the lines of
object oriented + aspect oriented = abject oriented - SaxxonPike, on 10/11/2007, -0/+1Anyone who thinks this article is lame likely either doesn't program, or is guilty of most (if not all) of its points.
- OneAndOnlySnob, on 10/11/2007, -1/+2Can't be any worse than bad OOP.
- SaxxonPike, on 10/11/2007, -0/+1I live in Wisconsin, and I approve of this message. (at least for myself. I really need to kill these habits)
Also, where's the "the more whitespace, the better" part? - ers35, on 10/11/2007, -0/+1@wd1:
I'm sure Wordpress opens that many connections for a reason. If you feel it shouldn't, contribute your to Wordpress and it will be fixed. - vdoogs, on 10/11/2007, -1/+2First time i tried to read this, i didn't even make it to the definition of "Abject" because i though it was a bad mispelling by some non native english speaker of "Object". I was so utterly horrified i closed the Firefox browser tab. I saw it on the front page of digg and figured i must have been missing something - and read the article through. The irony hit me like a ton of bricks. My face is utterly smashed in to fine pieces scattered over my keyboard, it hit me so hard.
Great article, face smashing aside. - Kazrog, on 10/11/2007, -0/+1Same here. It's a scary world out there. I always considered myself kind of a "hack" at programming, more of a designer, until I worked with the AOP masters at my current job.
I think another AOP best practice to add to the list, at least in web programming, is to litter the display templates with hard-coded SQL queries, as well as mixes of conflicting/identical inline and linked JavaScript and CSS functions and classes.
I should write an Abject Oriented Design post to talk about some of our awesome design best practices, such as compressing all images as JPEG, 50% quality on a web page, even if they only use 1 or 2 colors and contain just text and color blocks. - digger99999999, on 10/11/2007, -0/+0The example reads the customer record twice for the same info.
This
getCustName(custID)
getCustEmail(custID)
Should be more like this
readCustInfo(custID)
getCustName()
getCustEmail() - slimasian, on 10/11/2007, -2/+2People, it's a joke article, a parody of what is in place in many in-house dev shops these days lol
@edvas:
I did get a good laugh on the comments section of that blog article though, when people were debating what each one really was :) - phithe, on 10/11/2007, -0/+0Because that's not what 'polymorphic' means at all. That's why it's funny. As for what's wrong with it, there's no advantage because you still have separate code for each task, it's just in one function. It complicates things. It's heading down the path to having only one function: DoAnything(string what, string[] params) { .. }. Do you see what's wrong with that?
The humour in the article comes mostly from ridiculously wrongly defined OOP concepts like polymorphism, is-a/has-a, inheritance, etc. If you're not familiar with these, you won't 'get' it so much. - digger99999999, on 10/11/2007, -0/+0Yep its out there.
http://www.google.com/search?q=config.php.bak - louistsoi, on 10/11/2007, -0/+0Admittedly I'm guilty of some of points. But this article is useless because it fails to point out exactly why they are bad. For example, whats wrong with 'polymorphic' functions? I mean, why duplicate a similar function when it can perform 2 tasks by with a simple if statement? And also whats wrong with seperating your 'data' code from 'display' code? These are perfectly fine with me and they increase efficiency, maintability and reduces the lines of code needed. So someone please explain why they are all bad please because I think a fair number of people like me are failing to see the humour behind this article are feeling somewhat retarded as an effect..
- jeff303, on 10/11/2007, -1/+1http://mindprod.com/jgloss/unmain.html
- zachblume, on 10/11/2007, -1/+1Most of the time when a "wordpress site" goes down, it's not a 404. It's "database error" blah blah blah
Thus cacheing would've helped/prevented it. - hackeron, on 10/11/2007, -0/+0I agree with most of the bad practices listed in this article, but can someone explain to me why "data hiding" or having a separate module that deals with generating the sql for database lookups a bad idea? -- I always create a separate module to offload database lookups, so do many projects I know.
- digger99999999, on 10/11/2007, -0/+0The first comment was the best.
".Bak files are particularly abject oriented in a web environment. For example, one must make a copy of global_config.php as global_config.php.bak in the document root before making any changes to it to be a solid AO programmer."
I hope nobody really does this. - eamonnfaherty, on 10/11/2007, -0/+0so sad and true! ha ha ha ha.
I have seen file.bak , file.bak.bak file.abc.bak, file.final, file.final2 , file.working, file.w3rking
btw: stop knocking wordpress without proof. Or do not know how computer systems work. - LordofShadows, on 10/11/2007, -2/+1Wrong spot bury.
- slapthemonkey, on 10/11/2007, -2/+1Good joke.
-
Show 51 - 65 of 65 discussions



What is Digg?
The Digg Toolbar for Firefox lets you Digg, submit content, and keep track of Digg even when you're not on the Digg site. Download the official