10 Things I Hate About [Drupal] Code

Mark Jones
@JustAnotherMark

Intro

Why did I tell you that?

"…criticism without risk to the critic has no value whatsoever…"

Mark Kermode - Hatchet Job

http://www.flickr.com/photos/bensutherland/9775724251/

Intro

Things That Annoy Me

  1. General
  2. Drupal Modules
  3. Drupalisms
  4. Finally

General

1. Coding Standards

http://www.flickr.com/photos/crdot/6827236335

General

1. Coding Standards

General

1. Coding Standards

General

2. Commit Size

http://www.flickr.com/photos/beglen/151603155

General

2. Commit Size

General

2. Commit Size

General

3. Bad Commenting

http://www.flickr.com/photos/lobsterboy1980/3565047496

General

3. Bad Commenting

General

3. Bad Commenting

Modules

4. Field Collection

http://www.flickr.com/photos/wonderlane/3073143387

Modules

4. Field Collection

Modules

4. Field Collection

Modules

5. Workflow

http://www.flickr.com/photos/stevendepolo/4550903693

Modules

5. Workflow

Modules

5. Workflow

Modules

6. Date

http://www.flickr.com/photos/joelanman/366190064

Modules

6. Date

Modules

6. Date

Drupalisms

7. Module All The Things

http://www.flickr.com/photos/37709691@N05/4852805286/

Drupalisms

7. Module All The Things

Drupalisms

7. Module All The Things

Drupalisms

8. Hacking Core (or Contrib)

http://www.flickr.com/photos/meddygarnet/3451581786

Drupalisms

8. Hacking Core (or Contrib)

Drupalisms

8. Hacking Core (or Contrib)

Drupalisms

9. Contrib

http://www.flickr.com/photos/jasonparis/4788901592

Drupalisms

9. Contrib

Drupalisms

9. Contrib

Drupalisms

10. Admin Area

http://www.flickr.com/photos/35565491@N03/3292423645

Drupalisms

10. Admin Area

Drupalisms

10. Admin Area

Finally

Code I've Written

Summary

D8 Summary

  1. Coding Standards - Big structural changes
  2. Commit Size - Unaffected
  3. Bad Commenting - More important (annotations, class discovery, etc)
  4. Commented out code - Unaffected
  5. Field Collection - Please stop
  6. Workflow - State revisions in core, https://groups.drupal.org/workflow
  7. Date - Date component and field in core
  8. Module All The Things - Some improvement in discussions
  9. Contrib - Hopefully lose some in the process
  10. Admin Area - Mobile improvements, List pages are Views
  11. Code I've Written - Always improving

Questions?

Leave Feedback: https://joind.in/10141
@JustAnotherMark

/

#