the hallmark of today's programming generation in America â" are technically proficient, McAllister writes, 'but their code is less likely to be maintainable in the long term, and they're less likely to conform to organizational development processes and coding standards.'
Clearly McAllister has not worked in a small to medium firm. I myself am a "coding cowboy" and I myself am appalled at some of the "professional" code out there. I have been working for the past year to clean up code that looks like speggetti thrown against the wall. Just take a look at the articles posted on the daily wtf (www.thedtailywtf.com) and you will see all the in-organized, un-maintainable code thats out there in the world.
I am currently updating a very archaic administration system. It was written back in the days of PHP 3 and has not been touched since then. I am now developing this using AJAX and PHP 5. I started by developing all the different web services that this administration environment controls. It ranges from Login to Retrieving/Editing data. All PHP is doing is checking security and making database calls. Using AJAX, the application pulls in all the data and displays it on the page.
By following this method, I have been able to improve the load time of each page from 6 seconds to ~
Check the users authentication
Get a list of all the "accounts" the user has access to
Build the list of avialable functions the user has access to
Check if the user has submitted data
validate the data and process
If the submitted user data is valid and has been processed successfully then go and include the success php page.
build the html for the navigation
build the html for the forms on the page
by following this approach of web services, now all a given php needs to do is:
If this is a page to process data:
Check authencation
process data
return success or error
If the page is to reterieve data:
Check authenciation
Read data from the data base
format the XML
As you can see since there is less for php to process, the execution for those pages has increased greatly. What makes this process even better is that now all this data can then be cached on some kind of CDN which means fewer calls to your servers and thus lower latency.
If I were to break down each lanuage into the MVC it would be along these lines:
Model: very little JS (I just make sure there is data to submit back to the server. This saves on making calls that will definitely fail) PHP validates all the time.
View: JS and AJAX
Controller: PHP
Hope this helps some clear up some of the confusion
In all honesty, It should not be required for physics majors to take a programming course (Newton and Einstein didnt need to). Sure its a helpful tool that will make your work easier, But the whole goal of a physics course is to learn the concepts, theories and equations that will help you understand Physics.
Physics itself is really the all purpose science (my Girlfriend had to take it for here Biology major). Those who want to specialize in Physics, should take programming classes to help them get that edge in a research project.
Think of it this way, I'm a web developer (PHP, JS, PERL, and learning Python), I'm not a designer, However, I know how to Cut a Layered PSD, Work with CSS, code the form, and set up the web server. All are normally handled on there own by a single person or team. The reason why I taught myself all those tasks is so that I understand the whole web process from start to finish.
Imagine telling you mechanic that he now has to learn Electrical Engineering, and Computer Science because all cars nowadays have Computer controlled components in them. When really all he needs to do is know how to install that part when he needs to replace it. He is not going to go and take the time to figure out that part failed because a Diode failed, or there is a flaw in the logic.
then we may be able to save lives by heightening awareness of possible events or changing the allocation of our security assets to provide more protection.
So then the Terrorists find the pattern in the pattern detection then Act contradictory to the "pattern" that the computer found. Wow we rely on technology too much sometimes
I find that it's really up to the programmer to come up with the "Best Practices" to coding. I personally hate it when I see code that has 25 nested IF statements. I remember back in High school, one of the other students named is variables X, XX, XXXX, moook, Y, YYY, etc. (it was like reading PERL for the first time.( moook = X + YYY * XX / Y). He was able to read and understand that block of code. Needless to say that I had to stay up late one night to finish the project because he was sick and the project was due the next day. What I learned from that experience is that no matter what every one is going to have there own standards of coding, If you are not happy with the way you coded something, take the time to decide what works for you and clean up the code.
The battle of sales vs. Support will always exist. To cite an example, just last week one of our clients need more upload space. We removed the quota for the acccount because sales said yes. Just yesterday, the server crashed because the hard drive filled up. What should of happened, in my opinion, sales shpuld have asked: can we support this? We then would have said: not at this time, but, give us (three) days to get a new file server up so we can. If the client then wanted to leave, to me thats unreasonable. The client would then have to research similar companies, set up a new account, transfer everything, etc. But we could have given them more space in three days. Personally I think we all need to be more patience
"Not only the vendors, but the customers that have [authentication systems] already deployed are going to go through a lot of pain," says one ISV who asked not to be named. "We knew there were going to be changes, but we didn't know there would be wholesale changes."
http://www.optonline.net/Cservice/Article?CID=type %3Dreg%26channel%3D68%26article%3D1993853
optimum online has a clause in its terms of service that the internet and the phone service are for entertianment purposes only. So it makes me wonder if this law does happen to pass, does that require all the phone services including the ones for entertianment. regular Land line phones are considered critial utilities. wire taps for that make sense but not the VOIP for entertianment
But video files are much larger than music files and have slower upload speeds.
This Statment is a little mis-leading. What I gather is that the larger the file the slower the upload speed. It should be the larger the file the longer it takes to upload. With My ISP I have 2Mbps/sec upload speed. That remains the same no matter if i'm sending an email or if im FTP'ing a 3 meg to my site
Well now were going to see a quality product from alienware now get infected with intel products, mcafee, and also system restore partitions that are going to destroy the great alienware products. Good Job Dell
Well I knida agree with this. Think back with the NES. Super Mario brothers. You play and italian plumber who eats mushrooms to save the princess. HELLO. I mean come on.
Now because Microsoft knows that it sometimes need to get information from their users for upgrades, it has put in a clause to allow software companies to do this. Basically the Vole law demands that a software company licence agreement tells you the sort of data they are taking. Welcome to Chucks software Company of DOOM. They type of software we make? Oh well thats just so that we can have access to your computer
Just because they are releasing they source code, dose not mean that is the code that is complied on all there machines
the hallmark of today's programming generation in America â" are technically proficient, McAllister writes, 'but their code is less likely to be maintainable in the long term, and they're less likely to conform to organizational development processes and coding standards.'
Clearly McAllister has not worked in a small to medium firm. I myself am a "coding cowboy" and I myself am appalled at some of the "professional" code out there. I have been working for the past year to clean up code that looks like speggetti thrown against the wall. Just take a look at the articles posted on the daily wtf (www.thedtailywtf.com) and you will see all the in-organized, un-maintainable code thats out there in the world.
Sorry ~ 600 Ms
by following this approach of web services, now all a given php needs to do is: If this is a page to process data:
If the page is to reterieve data:
As you can see since there is less for php to process, the execution for those pages has increased greatly. What makes this process even better is that now all this data can then be cached on some kind of CDN which means fewer calls to your servers and thus lower latency.
If I were to break down each lanuage into the MVC it would be along these lines:
Model: very little JS (I just make sure there is data to submit back to the server. This saves on making calls that will definitely fail) PHP validates all the time.
View: JS and AJAX
Controller: PHP
Hope this helps some clear up some of the confusion
In all honesty, It should not be required for physics majors to take a programming course (Newton and Einstein didnt need to). Sure its a helpful tool that will make your work easier, But the whole goal of a physics course is to learn the concepts, theories and equations that will help you understand Physics.
Physics itself is really the all purpose science (my Girlfriend had to take it for here Biology major). Those who want to specialize in Physics, should take programming classes to help them get that edge in a research project.
Think of it this way, I'm a web developer (PHP, JS, PERL, and learning Python), I'm not a designer, However, I know how to Cut a Layered PSD, Work with CSS, code the form, and set up the web server. All are normally handled on there own by a single person or team. The reason why I taught myself all those tasks is so that I understand the whole web process from start to finish.
Imagine telling you mechanic that he now has to learn Electrical Engineering, and Computer Science because all cars nowadays have Computer controlled components in them. When really all he needs to do is know how to install that part when he needs to replace it. He is not going to go and take the time to figure out that part failed because a Diode failed, or there is a flaw in the logic.
I'm surprised that .NET hasent crashed on 32 bit systems
From Reading this article. Guess I need to switch from SMS message to Email messages for all the server notifications.
http://youtube.com/watch?v=F54rqDh2mWA
I find that it's really up to the programmer to come up with the "Best Practices" to coding. I personally hate it when I see code that has 25 nested IF statements. I remember back in High school, one of the other students named is variables X, XX, XXXX, moook, Y, YYY, etc. (it was like reading PERL for the first time.( moook = X + YYY * XX / Y). He was able to read and understand that block of code. Needless to say that I had to stay up late one night to finish the project because he was sick and the project was due the next day. What I learned from that experience is that no matter what every one is going to have there own standards of coding, If you are not happy with the way you coded something, take the time to decide what works for you and clean up the code.
Well its a microsoft project. Which means when I goto restore the back up, my brain goes into safe mode
The battle of sales vs. Support will always exist. To cite an example, just last week one of our clients need more upload space. We removed the quota for the acccount because sales said yes. Just yesterday, the server crashed because the hard drive filled up. What should of happened, in my opinion, sales shpuld have asked: can we support this? We then would have said: not at this time, but, give us (three) days to get a new file server up so we can. If the client then wanted to leave, to me thats unreasonable. The client would then have to research similar companies, set up a new account, transfer everything, etc. But we could have given them more space in three days. Personally I think we all need to be more patience
Interesting to note that the two blogger posts in this story are now gone.
Im going to give you Theorists out there some fuel. Maybe the bush administration had them removed.........
First its Y2K then killer asteroids, Unix timestamp running out in 2038 now this. Whats next?
Yea but who is going to pull up your Myspace page and read it?
Ive known this for years. Work in Customer Service, and then you will learn that People can't reason.
this is not a scarcastic remark. I have been insulted before many ways. When I get insulted a new way I shake Peoples hands. Thnak you Rosco
Dont use windows use Linux problem solved
http://www.optonline.net/Cservice/Article?CID=type %3Dreg%26channel%3D68%26article%3D1993853
optimum online has a clause in its terms of service that the internet and the phone service are for entertianment purposes only. So it makes me wonder if this law does happen to pass, does that require all the phone services including the ones for entertianment. regular Land line phones are considered critial utilities. wire taps for that make sense but not the VOIP for entertianment
Is that Richard Dean Anderson and Amanda Tapping investgating the pyrmaid in the backgroud?
But video files are much larger than music files and have slower upload speeds. This Statment is a little mis-leading. What I gather is that the larger the file the slower the upload speed. It should be the larger the file the longer it takes to upload. With My ISP I have 2Mbps/sec upload speed. That remains the same no matter if i'm sending an email or if im FTP'ing a 3 meg to my site
Users + Root Access = Bad Very Very BAD
Well now were going to see a quality product from alienware now get infected with intel products, mcafee, and also system restore partitions that are going to destroy the great alienware products. Good Job Dell
Well I knida agree with this. Think back with the NES. Super Mario brothers. You play and italian plumber who eats mushrooms to save the princess. HELLO. I mean come on.
Now because Microsoft knows that it sometimes need to get information from their users for upgrades, it has put in a clause to allow software companies to do this. Basically the Vole law demands that a software company licence agreement tells you the sort of data they are taking.
Welcome to Chucks software Company of DOOM. They type of software we make? Oh well thats just so that we can have access to your computer