How to approach program design with respect to data strucutres and algorimths – is there an equivelant of the OO design process for d.s.’s + algs? [closed]

My applogies for probably the worst written body of text I have produced in my life and many thanks to those willing to plough through it all.

I was (and still am) not able to clearly express what I was asking for, since by the nature of my question I cannot be clear about what exactly it is I am after. Fundementally I strongly suspect something in my knowledge of software development is missing, but because “I don’t know, what I don’t know”, I cannot specify what exactly I am looking for (and indeed can’t be sure whether such a thing exists) – hence I suppose I am asking for some direction in this matter. I kind of thought if proffessional developers did not know of/ did not use such a thing in the process of desingin code – then there is nothing to know in this respect (and I can stop worrying).

Essentially I fear something akin to having learned to program, but having remained unaware of the subject of proper OO software design. I have studied standard data strucutres and algorithms (to the extent of coverage found in typical undergraduate text books), but can’t help feeling that there should be something more. I hence can’t help feeling like I’ve learned the very basics, but not become aware of the data structures and algs. equivelant of OO design. In essence I sort of imagine there is some “process” to solution design (in the context of the d.s.s and algs. side of programming – like there is to the OO design side of coding software – I see them both as being part of the same whole in programming) that informs one about how to go about the task of writing “good” code (in the d.s. and algs aspect of the program code written). I fear in absence of knowledge of such a process/ subject, I would be incompetent as a graduate developer (rather like I would consider a new employee, if his code turned out to be uninformed by the OO design process/ principles). I would consider the code produduced by someone lacking in knowledge of OO design principles/ processes to be “bad code” – and hence him to be incompetent. At the moment I fear my knwolege with respect to the d.s. + algs. side of coding puts me in a similar position. Thus, can anyone tell me what I might yet need to be aware of in this respect?

(Another way of putting my question might be if I were to say: “Object Oriented design principles and patterns, is to programming, what “…”, is to data strucutres and algorithms”. Could anyone tell me what one might complete this sentence with, or whether there is nothing to consider here)

10

First things first, OOD isn’t something you can approach systematically. There’s no checkboxes for something that will vary based on who is doing it and what environment you’re in. So your assumption that efficiency will follow a similar path is flawed.

In practice, very few companies care very much about efficient code. Those blurbs are (very often) put in by HR people or middle managers who have no idea what it means. Companies want your software to work. They want it to keep working. And unless your company actually has hard requirements on performance and scalability, you have a lot of leeway about how your solutions are implemented.

But let’s for a moment consider what it does actually mean in the minority of jobs where it matters. You are right that “efficient code” is focused primarily on the time and space complexity of the algorithms and data structures in your books. Unfortunately, it is seldom clear cut what your inputs will look like, or what metric you’re optimizing for (can you take up more memory in exchange for faster performance? Can you sacrifice accuracy for disk space?). In practice, the choices you face (both in efficiency and OOD) will be a series of trade-offs. There will be no check boxes to mark off. There is very often no single correct answer.

You’ll need to make some assumptions about what your input looks like, and will eventually look like. You’ll need to make some assumptions about what is important to (most of) your users. And then you’ll need to make your best guess about the appropriate solution to balance meeting all of your demands while using as little of your resources.

9

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật