Slideshow transcript
Slide 1: Copy/Paste/Modify (CPM) Patterns for Real Software Engineering Alessio Pace alessio.pace [at] gmail.com 1st April 2007
Slide 2: Agenda Motivations ● Towards a catalog of common CPM ● patterns PowerPoint presentations reuse – Source Code reuse – Tuning the environment ● Conclusions ● Copy / Paste / Modify Patterns for Real Software Engineering – Alessio Pace
Slide 3: Motivations In Software Engineering everything al- ● ready exists algorithms & data structures – programming languages & – compilers/interpreters software libraries & configuration files – ... – The basic principle of software engineering ● is REUSE the issue is how to reuse effectively what – exists Copy / Paste / Modify Patterns for Real Software Engineering – Alessio Pace
Slide 4: The Reuse Pros ● you don't loose time coding – if something does not work, it's not your fault! – Cons ● hard to master, but it's worth – Copy / Paste / Modify Patterns for Real Software Engineering – Alessio Pace
Slide 5: Towards a catalog of common CPM patterns Copy/Paste/Modify is sometimes seen as a ● tabu everybody does it, but no one wants to admit it – We need a public catalog of world-wide ● industrial-strength CPM patterns to evangelize the methodology – to show the benefits to newbies – to follow the wave of the GoF Design Pattern – buzz word Copy / Paste / Modify Patterns for Real Software Engineering – Alessio Pace
Slide 6: #1: PowerPoint CPM Goal ● Make a “new” presentation in a short time, but – don't plage the existing(s) one(s) Best practices ● reuse images – reuse the theme – reuse impressive words or sentences – reuse the bibliography – Pitfalls and workaround ● there is only the pdf of the presentation – use a screenshot tool to copy what you need! ➔ Copy / Paste / Modify Patterns for Real Software Engineering – Alessio Pace
Slide 7: #2: Source code CPM (1/2) Search engines are your best friends ● http://www.google.com/codesearch – http://www.koders.com/ – ... – Best practices ● find the code, copy/paste it, compile, enjoy! ;-) – Pitfalls and workarounds ● the copied/pasted code does not compile – copy/paste a larger portion of code ➔ Copy / Paste / Modify Patterns for Real Software Engineering – Alessio Pace
Slide 8: #2: Source code CPM (2/2) NEVER infring copyrighted material in ● reusing sources If you really have to, obfuscate your code ● Copy / Paste / Modify Patterns for Real Software Engineering – Alessio Pace
Slide 9: Tuning the environment Keyboard ● CTRL + c/v/s should be very accessible – if possible, reconfigure the mappings to make – them even easier to type Mouse ● the pointer should be very accurate – clean the dust very frequently – Internet connection ● should be very fast, in order to download – quickly the source of reuse IDEs ● – install any code search engine plugin Copy / Paste / Modify Patterns for Real Software Engineering – Alessio Pace
Slide 10: Conclusions Reuse is the basic fundament of the past, ● present and future of Software Engineering Despite their importance, CPM patterns ● have always remained in the darkness A public catalog of CPM patterns can help ● newbies jump into the train of real Software Engineering Copy / Paste / Modify Patterns for Real Software Engineering – Alessio Pace
Slide 11: Notes This presentation wants just to be a funny ● 1st April joke it does not encourage in copy/pasting – copyrighted material it doesn't even promote copy/pasting as a – Software Engineering methodology 1 April 2007 11
Slide 12: Serious material When is not 1st April, I like to speak about really ● true Software Engineering topics which I care a lot, as Unit Testing http://www.slideshare.net/alessiopace/embrace-unit-testing/ ➔ If you want to discuss with me about real ● methodology concerns, contact me 1 April 2007 12




Add a comment on Slide 1
If you have a SlideShare account, login to comment; else you can comment as a guest- Favorites & Groups
Showing 1-50 of 3 (more)