The Right Question

Finding it is hard. 

Just over the weekend, I was busy trying to parse JSON data. Which, despite its connotations, was incredibly unstructured for this website. 

It was simply a block of text with HTML tags. So I poked around stackoverflow asking about HTML parsing. What I should have really been asking was how to extract text between tags.

The meaning is the same for both questions. But reframing the question into specific actions returned the answer (and code) in a much shorter time. 

The Learnings

When you’re not getting anywhere with your current question, re-ask it by focusing on specific actions.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s