Worms love it and it's suitable for hot or cold compost heaps as well.
W
Weeds (prior to flowering). For nitrogen.
Suitable for a hot or cold heap, as long as they are pulled before going to seed. Weeds that propogate by way of rhizomes or stolons should not be composted after pulling. Even if you have a hot heap, you cannot be sure that all nodes (propogules) will spend enough time in the centre of the pile (where it is hottest) to be killed. Furthermore chopping up fresh plants like these often leads to more vigorous growth (as is the case with couch grass). You must kill these types of weeds before adding to heap. Drown your weeds by leaving in water for 4 weeks to rot, then add drained weeds to compost and use the liquid as a fertiliser. Alternatively you can compost them down anaerobically by sealing in a plastic bag for a few months. Plants to be very careful of include: Ivy, Couch Grass, Tradescantia (Wandering Jew) etc.
Weeds (post flowering -with seeds).
Not suitable to compost as they are. You cannot be sure that all seeds will spend enough time in the middle where it is hot enough to kill them. Can be drowned see weeds prior to flowering.