In the name of ALLAH
How you can write efficient code...?
First of all, writing efficient code does not totally depend on your experience. But there are a lot of coefficients; developers should keep them in their mind, first of them,
1- Rest of Soul, yes, you must be in good mood to write good code, else we won't see from you good output.
2- Don’t think in anything while writing code specially people impactions when they informed about your software (assignment or un-official project)
If you see in it a great innovation.
3- WORK UNDER PRESURE, we see that statement a lot and a lot but I think all of us understand it wrong, I was, but now I understand it, work under pressure means to think just in your work and think if you did not accomplish task in deadline that will leave bad impaction at your team leaders but if you did at least you would not be fired :)
4- For all students like me or undergraduates, sleep well sleep well under any circumstances, don't stay up at night to write code, believe me, I was from those who proud they sleep just 2 hours per day, and at last I discovered that I was wrong, let me tell you a story… from 12 am to 4 am I was writing code, then I slept when I waked up I discovered all of what I coded was wrong, what's the solution...? right, CTR+A then DELETE
5- Be so concentrate while coding (I think nooooo explanation needed)
6- Try to use pencil and paper to know how you will handle your program
7- I know I did not talk about some technical issues in writing code, because it's not my point here :)
8- May there are more reasons I did not write, your comments will let us know them ;)
Thank you for reading
Ramy Mahrous
3 comments:
great great great good article Mr:Ramy Mahrous Hope u keep forward always forever & ever
Hanaa Tag el Dain
You forget something :)
You must decide the type of efficient code you need, in other words, the term "Efficient" is problem based, which means that for some problem (or program) the term efficient will mean the execution time, for others it may mean the memory usage, for others it may be CPU utilization, etc.
So you must specify your problem based efficient term, not to use generic efficiency which means that your program be fast and good.
Again, thanks to all...
Here I mean efficient codes that produce efficient programs (execution time, the memory usage, CPU utilization,....etc)
but I don't want to talk about software engineering ethics, I know it would be silly article if I did :P
أترك تعليقك