Raphaël Badawi
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# Extreme Programming ![](https://i.imgur.com/GhGQKIW.png) --- ## Définition ### Base L'extrême programming (XP) est une méthode agile plus particulièrement orientée sur l'aspect de la réalisation d'une application, sans pour autant négliger l'aspect gestion de projet. XP est adapté a l'utilisation d'une équipe réduite ayant pour but de pousser à l'extrême les principes de base. --- ### Pratiques extrêmes - réduire les coûts de changement - meilleure flexibilité - ouverture au changement - introduction de valeur de base --- ### Cycles de développement XP se repose sur des cycles rapides de développement qui ne dure que quelques semaines dont les étapes sont les suivantes : - une phase d'exploration qui détermine les scénarios (client) qui seront fournis pendant cette itération - l'équipe transforme les scénarios en tâches à réaliser et en tests fonctionnels --- - chaque développeur s'attribue des tâches et les réalise avec un bînôme - losque le produit satisfait tous les tests fonctionnels, il est livré ![](https://i.imgur.com/dZqKriY.png) ainsi le cycle se répète tant que le client peut fournir des scénarios à livrer. --- ## Préceptes préférés ### Jeu du planning ou planning poker Le client crée des scénarios pour les fonctionnalités qu'il souhaite obtenir. L'équipe évalue le temps nécessaire pour les mettre en œuvre. Le client sélectionne ensuite les scénarios en fonction des priorités et du temps disponible. --- ### Intégration continue Lorsqu'une tâche est terminée, les modifications sont immédiatement intégrées dans le produit complet. On évite ainsi la surcharge de travail liée à l'intégration de tous les éléments avant la livraison. Les tests facilitent grandement cette intégration : quand tous les tests passent, l'intégration est terminée. --- ### Rythme soutenable L'équipe ne fait pas d'heures supplémentaires. Si le cas se présente, il faut revoir le planning. Un développeur fatigué travaille mal. ### Convention de nommage Puisque tous les développeurs interviennent sur tout le code, il est indispensable d'établir et de respecter des normes de nommage pour les variables, méthodes, objets, classes, fichiers, etc. --- #### Autres principes - ne pas ajouter de fonctionnalités plus tôt que prévu - n'optimiser qu'à la toute fin #### Cette méthode s'appuie sur : - une forte réactivité au changement des besoins du client - un travail d'équipe - la qualité du code - la qualité des tests effectués au plus tôt --- ## Application en formation ### En amont - daily meetup - être au clair à l'avance sur les conventions de nommage --- ### Pendant - pusher plusieurs fois par jour pour que les coéquipiers aient une version à jour du code lorsqu'ils veulent le checker - essayer de checkout quotidiennement les branches des coéquipiers (revue permanente du code) - travailler en binôme lorsque cela est possible pour réduire le travail de familiarisation et les risques de dispersion, mais aussi pour perdre moins de temps en ré-explications --- ### Après - regarder régulièrement dans le rétroviseur pour apprécier ce qui pourrait être refactoré dans la base déjà existante - tester, tester, tester, ne rien valider qui ne soit pas testé, mais intégrer le plus tôt possible - ne pas sur-anticiper, rester concentré sur le livrable du moment : KISS - s'assigner des échéances claires et peu espacées ; les soupeser en poker planning - ne pas déborder des heures du travail, rester frais et dispo --- ## Exemples - petit schéma de la XP LifeCycle ![](https://i.imgur.com/QUGyfqe.png) --- - contrairement aux idées reçues, XP n'est pas une méthode adaptée uniquement pour les petites startups. Pour preuve cette méthode fut créée par des ingénieurs de chez Chrysler. - qui ont mis au monde cette voiture des plus immonde. ![](https://i.imgur.com/VbtuNbJ.png) --- ## Témoignages - XP works well for debugging code (not development) - XP and SCRUM can ==increase my productivity up to 300%==. But, after 5 years of successful XP and SCRUM practice, ==I burned out== --- - So I did XP for about three years. ==I loved it, esp when you get to pair with someone you like==. Tdd is fun and will improve ur coding if you get the feel for it or work in a stack that really supports it. However, ==getting paired with morons sucks== and it may happen to you occasionally. Tdd code from beginners is hard stuff to look at. Sometimes the scheduled togetherness sucks, esp when u got other stuff on your mind. You also get less slacking off time due to shared computer. --- ==This leads to lots of phone usage and can be a bit annoying==. Also you might disagree on an implementation, and have to resolve that on the fly. Senior devs will push agenda or discount Jr dev's ideas. ==People problems, essentially, but amplified==. --- > -In the words of Samuel Johnson: "Sir, your work is both brilliant and original. Alas, the brilliant portions are not original, and the original portions are not brilliant." --- - Been doing it with a consulting company we are being forced to work with for about 6 months now. ==Lots of stuff I like. Small iterations, using testing to verify assumptions==, not building more than I need at any moment. But ==I hate the pair programming. The promised productivity gains and bug reductions simply do not exist.==

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully