tag:blogger.com,1999:blog-4864916951241367995.post1792029406980580397..comments2020-05-06T16:16:48.673+05:30Comments on Tux Playground: Programming has evolvedKazim Zaidihttp://www.blogger.com/profile/16846652169654231184noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-4864916951241367995.post-25973103825070893692008-12-31T10:44:00.000+05:302008-12-31T10:44:00.000+05:30Really nice post there!The idea of beauty in the c...Really nice post there!<BR/><BR/>The idea of beauty in the code really depends upon making it understandable to human. But it also depends upon the type of the application which We are working on. e.g. an OS developer will certainly care less about beauty and more about performance and algorithm and a web developer or an application developer will certainly do care about the code beauty. I do not say that these guys do not care about the performance. In fact most of the times if certain piece of code is made beautiful by refactoring and other technologies, it's performance also improves.<BR/><BR/>Now this all depends upon the type of languages we are working with. We all know Ruby, Python etc have very nice syntax. For the languages which do not have not so beautiful syntax, we can beautify their code by embedding nice short and beautiful comments. But we all know in an application the code itself is more changed than the comments (say because of we the programmers are very lazy even writing comments in our programs).<BR/><BR/>The real thing really is the <STRONG>intention</STRONG>. A new member in the development team is more interested in why and what of a certain thing which is happening in the code than to what the certain thing is. How is most of the times obvious. This makes all these languages self commenting.Waseemhttps://www.blogger.com/profile/12641762443366203066noreply@blogger.comtag:blogger.com,1999:blog-4864916951241367995.post-48890300910401184622008-12-25T01:28:00.000+05:302008-12-25T01:28:00.000+05:30Agree on that with you Shamail.In fact, ORMs have ...Agree on that with you Shamail.<BR/>In fact, ORMs have come a long way and they've saved web developers from writing ugly long SQL queries. :-P (Or, in words of DHH, SQL isn't ugly, just too verbose in trivial situations).<BR/><BR/>Honey, never thought it would turn out poetic. But when you pointed it out I read it over again, and yeah, code's poetic. We are but poets, ;-).Kazim Zaidihttps://www.blogger.com/profile/16846652169654231184noreply@blogger.comtag:blogger.com,1999:blog-4864916951241367995.post-51618103137783252252008-12-25T01:20:00.000+05:302008-12-25T01:20:00.000+05:30Yeah, What a poetic way of blogging about the styl...Yeah, <BR/>What a poetic way of blogging about the styles of different language's.<BR/>Hey "kazim" it reminds me of wordpress tag line where they says "Code is poetry" !!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-4864916951241367995.post-38329424382332637872008-12-19T22:41:00.000+05:302008-12-19T22:41:00.000+05:30wow!!!!!!!!!wow!!!!!!!!!Dhttps://www.blogger.com/profile/16081615732185447133noreply@blogger.comtag:blogger.com,1999:blog-4864916951241367995.post-40682414556855777702008-12-19T18:52:00.000+05:302008-12-19T18:52:00.000+05:30Cool!Yet another example in python:class User ( SQ...Cool!<BR/>Yet another example in python:<BR/><BR/>class User ( SQLObject ):<BR/> name = UnicodeCol ()<BR/> group = RelatedJoin ( Group )<BR/><BR/>class Group ( SQLObject ):<BR/> groupName = UnicodeCol ()<BR/><BR/>Seems readable!! Isn't it..<BR/>And this corresponds to a SQL of nearly 25 lines to do a related join of two tables...<BR/><BR/>Cool Kazim!Shamailhttps://www.blogger.com/profile/11393681255977041547noreply@blogger.com