HOME  |  NEWS  |  BLOGS  |  MESSAGES  |  FEATURES  |  VIDEOS  |  WEBINARS  |  INDUSTRIES  |  FOCUS ON FUNDAMENTALS
  |  REGISTER  |  LOGIN  |  HELP
Blogs
Guest Blogs

The Apple Security Bug Could Have Been Prevented

NO RATINGS
Page 1 / 2 Next >
View Comments: Newest First|Oldest First|Threaded View
Page 1/3  >  >>
ervin0072002
User Rank
Gold
Re: No Offense...
ervin0072002   3/27/2014 11:12:45 AM
NO RATINGS
@tbh. Thanks for reply thats actually a decent post. Me likes... Still Ada is far from a best practice... i personaly would go with the more popular languages until others find/refine its problems. That now could be a best practice. :D

tbh
User Rank
Silver
Re: No Offense...
tbh   3/27/2014 10:34:25 AM
NO RATINGS
You might enjoy http://langpop.com/

AnandY
User Rank
Gold
Re: The Apple Security Bug Could Have Been Prevented
AnandY   3/27/2014 6:59:39 AM
NO RATINGS
@ naperlou, it is an interesting case. I think there may be two reasons that can be attributed to this anomaly. First is that you were probably prepared to find the error in the code and knew the nature of the problem from going through the word exercise. Second, it might be the case of frame of reference. We can understand things better which are related to us somehow.

tbh
User Rank
Silver
Re: Suggested Reading
tbh   3/25/2014 8:40:25 PM
NO RATINGS
I agree, McConnell's books are well worth the read. His books have a lot of good pointers on writing solid code. My copy is heavily highlighted and dog-eared:) I have not read the Stroustrup pages you referenced, thanks for pointing them out. Looks interesting.

ttemple
User Rank
Platinum
Suggested Reading
ttemple   3/25/2014 6:51:02 PM
NO RATINGS
If you are interested in learning about coding practices, (and not just arguing about it) I would recommend the book "Code Complete".  I think it is a Microsoft Press book.  It is a fascinating book concerning what practices and habits are conducive to producing good code.  It is probably a little dated by now, but it is a great read if you are really interested in quality coding.  I have read it several times, and it is on my bookshelf at work.  The book is not language specific, as it is mainly concerned with programming practices.  The book contains a lot of actual data concerning programming practices, not just a bunch of opinions.

If you happen to be a C++ programmer, I also recommend any writings of Bjarne Stroustrup, including the stuff on his web page (http://www.stroustrup.com/).  I find his writing style to be very enjoyable, and his insight into using C++ is invaluable.  Because he invented the language, and has been involved with almost every detail of it, he knows what the design intent of the language is, as well as how it is most properly used.  He is very good at articulating both the strengths and weaknesses of the language.

As this article points out, C/C++ does give programmers every opportunity to write disasterous code (actually most languages do).  But on the other hand, it gives you control at nearly an assembly language level when you need it, and high level tools as well.  When used properly, it can produce very high quality, maintainable code that executes extremely fast.

tekochip
User Rank
Platinum
Matter of Cost
tekochip   3/25/2014 9:31:55 AM
NO RATINGS
It's a matter of cost, too.  In medical devices we test 100%, yes, every branch, and then a line by line peer review.  It's tedious, expensive, and even minor changes trigger a complete review of the module.  I'm certain that level of verification is far too costly and time consuming for a device that is largely a consumer product. 
 
If the consumer went to WalMart and saw two computers hanging on the wall, both with the same features, but one was verified with 100% coverage at twice the price, I'm certain the consumer would pick the cheaper model.  In many ways, that's already been proven.


AnandY
User Rank
Gold
Re : The Apple Security Bug Could Have Been Prevented
AnandY   3/25/2014 5:22:27 AM
NO RATINGS
I may not be qualified enough to raise my finger on designers and programmers working on the payroll of Apple, but these are the basics of programming. Programmers are advised to always use brackets even in case of single statements in C. It brings our attention to a problem that most of us face. We tend to turn our backs to the basics. This is a classic example of how we may suffer from doing so.

tbh
User Rank
Silver
Re: A good case, but..
tbh   3/24/2014 10:26:46 AM
NO RATINGS
I don't think the author directly said that about Apple, but I can see how one might have seen that as implied. I'm not an analyst so I cannot comment one way or another on Apple's performance in the market, or whether or not they appear to be "off their game". That wasn't the focus of the article, and seems irrelevant to the argument put forth.

I beleive that the author was trying to be informative and provide useful information on practices that he values, and that others may benefit from knowing about. Unfortunately the article as it appeared online has major flaws that resulted, at least for me, in loss of the message.

ervin0072002
User Rank
Gold
Re: A good case, but..
ervin0072002   3/24/2014 8:16:09 AM
NO RATINGS
No offense but the author has one thing right. Apple has not been getting things right for a while now... just look at their market share and stock prices... all i have to say is "SELL" for Apple. The devil is always in the details.

ervin0072002
User Rank
Gold
Re: No Offense...
ervin0072002   3/24/2014 8:12:45 AM
NO RATINGS
That table below was % of the sample population. The preferred programming language for those sampled. Obviously bias view and I have seen a different one on every major computer magazine out there. However one thing they have in common... ADA is not even listed. so correct me if I'm wrong but does not a best practice require a tried and true development environment, language and compiler? If the community does not practice this language how could it be a best practice?

Page 1/3  >  >>
Partner Zone
More Blogs from Guest Blogs
More often than not, with the purchase of a sports car comes the sacrifice of any sort of utility. In other words, you can forget about a large trunk, extra seats for the kids, and more importantly driving in snowy (or inclement) weather. But what if there was a vehicle that offered the best of both worlds; great handling and practicality?
As additive manufacturing (including 3D printing) becomes increasingly popular among businesses as a quick and easy solution to creating and evaluating prototypes and end-use products, the debate about whether to outsource production or to purchase equipment for in-house use is at the forefront of industry discussions.
With increasing terrorist threats overseas, organizations are thinking about how best to defend themselves here and abroad. Engineering can play a role, especially when it comes to putting a barrier between yourself and the bad guys.
Time to market is everything, but at the same time, you can’t sacrifice quality for speed. That’s where additive manufacturing comes into play.
In the last few years, use of CFD in building design has increased manifolds. Computational fluid dynamics is effective in analyzing the flow and thermal properties of air within spaces. It can be used in buildings to find the best measures for comfortable temperature at low energy use.
Design News Webinar Series
10/7/2014 8:00 a.m. California / 11:00 a.m. New York
9/25/2014 11:00 a.m. California / 2:00 p.m. New York
9/10/2014 11:00 a.m. California / 2:00 p.m. New York
7/23/2014 11:00 a.m. California / 2:00 p.m. New York
Quick Poll
The Continuing Education Center offers engineers an entirely new way to get the education they need to formulate next-generation solutions.
Oct 20 - 24, How to Design & Build an Embedded Web Server: An Embedded TCP/IP Tutorial
SEMESTERS: 1  |  2  |  3  |  4  |  5  |  6


Focus on Fundamentals consists of 45-minute on-line classes that cover a host of technologies. You learn without leaving the comfort of your desk. All classes are taught by subject-matter experts and all are archived. So if you can't attend live, attend at your convenience.
Next Class: 10/28-10/30 11:00 AM
Sponsored by Stratasys
Next Class: 10/28-10/30 2:00 PM
Sponsored by Gates Corporation
Next Class: 11/11-11/13 2:00 PM
Sponsored by Littelfuse
Learn More   |   Login   |   Archived Classes
Twitter Feed
Design News Twitter Feed
Like Us on Facebook

Sponsored Content

Technology Marketplace

Copyright © 2014 UBM Canon, A UBM company, All rights reserved. Privacy Policy | Terms of Service