Re: [testdrivendevelopment] "I think the community needs more explicit direction...."

"Frank Carver via Groups.Io" <[email protected]> Mon, 25 Nov 2019 09:59:21 +0000
Newsgroups gmane.comp.programming.test-driven-development
Message-ID <CAPe_wAJUzHKTw3wnBeJNXE2EJzYUVg_ocAPZthGWckTFP5fdnA@mail.gmail.com>
--000000000000e866d4059828d1a2
Content-Type: text/plain; charset="UTF-8"

I teach programming at the local university and have found that one of the
biggest mental blocks which students need to overcome is the assumption
that there is only one way to solve any problem, and that the job of a
programmer is to find that way.

This mindset makes it really hard to teach refactoring, particularly in the
context of eager new practitioners of TDD who want to rush on to the next
test as soon as the first one passes.

I'm not sure where this attitude comes from. Perhaps the way that
programming and/or software development has been reframed as "coding", and
the implications of the name, or maybe that first experiences in the field
often come from poking at HTML and CSS with a stick to get something that
looks right, and then copy/pasting a bit of Javascript or PHP to make
something happen, or perhaps the prevalence of fill-in-the blanks
frameworks, or perhaps that so many students prefer to learn by following a
linear set of steps from YouTube, Who knows

I'd love to investigate this in more detail, as I too, can see how much new
developers struggle with the concept and skills of refactoring.

If it helps, I have found that I get slightly better traction if I lead
with the idea of "code smells."

Frank Carver

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#35760): https://groups.io/g/testdrivendevelopment/message/35760
Mute This Topic: https://groups.io/mt/61850834/3268755
Group Owner: [email protected]
Unsubscribe: https://groups.io/g/testdrivendevelopment/leave/6156322/744556386/xyzzy  [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


--000000000000e866d4059828d1a2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I teach programming at the local university and have found=
 that one of the biggest mental blocks which students need to overcome is t=
he assumption that there is only one way to solve any problem, and that the=
 job of a programmer is to find that way.<div><br></div><div>This mindset m=
akes it really hard to teach refactoring, particularly in the context of ea=
ger new practitioners of TDD who want to rush on to the next test as soon a=
s the first one passes.<div><br></div><div>I&#39;m not sure where this atti=
tude comes from. Perhaps the way that programming and/or software developme=
nt has been reframed as &quot;coding&quot;, and the implications of the nam=
e, or maybe that first experiences in the field often come from poking at H=
TML and CSS with a stick to get something that looks right, and then copy/p=
asting a bit of Javascript or PHP to make something happen, or perhaps the =
prevalence of fill-in-the blanks frameworks, or perhaps that so many studen=
ts prefer to learn by following a linear set of steps from YouTube, Who kno=
ws<br></div><div><br></div><div>I&#39;d love to investigate this in more de=
tail, as I too, can see how much new developers struggle with the concept a=
nd skills of refactoring.</div><div><br></div><div>If it helps, I have foun=
d that I get slightly better traction if I lead with the idea of &quot;code=
 smells.&quot;</div><div><br></div><div>Frank Carver</div></div></div>

<div width=3D"1" style=3D"color:white;clear:both">_._,_._,_</div>
<hr>
Groups.io Links:<p>

You receive all messages sent to this group.


<p>

<a target=3D"_blank" href=3D"https://groups.io/g/testdrivendevelopment/mes=
sage/35760">View/Reply Online (#35760)</a> |


  <a target=3D"_blank" href=3D"mailto:[email protected]?subj=
ect=3DRe:%20Re%3A%20%5Btestdrivendevelopment%5D%20%22I%20think%20the%20comm=
unity%20needs%20more%20explicit%20direction....%22">Reply To Group</a>
  
    | <a target=3D"_blank" href=3D"mailto:[email protected]?subj=
ect=3DPrivate:%20Re:%20Re%3A%20%5Btestdrivendevelopment%5D%20%22I%20think%2=
0the%20community%20needs%20more%20explicit%20direction....%22">Reply To Sen=
der</a>
  


|


  
    <a target=3D"_blank" href=3D"https://groups.io/mt/61850834/3268755">Mu=
te This Topic</a>
  

| <a href=3D"https://groups.io/g/testdrivendevelopment/post">New Topic</a>=
<br>



<br>

<a href=3D"https://groups.io/g/testdrivendevelopment/editsub/3268755">Your=
 Subscription</a> |
<a href=3D"mailto:[email protected]">Contact Group Own=
er</a> |

<a href=3D"https://groups.io/g/testdrivendevelopment/leave/6156322/7445563=
86/xyzzy">Unsubscribe</a>

 [[email protected]]<br>
<div width=3D"1" style=3D"color:white;clear:both">_._,_._,_</div>


--000000000000e866d4059828d1a2--