Pages: 1 2 3 [4]   Go Down
Author Topic: Let's do a rally of meaningless complaints  (Read 6740 times)
0 Members and 1 Guest are viewing this topic.
Central MN, USA
Offline Offline
Tesla Member
***
Karma: 72
Posts: 7171
Phi_prompt, phi_interfaces, phi-2 shields, phi-panels
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm back from IKEA today (my initial motive to start the rally;)). The lady at the return&exchange took real pride in defending IKEA products, being IKEA furniture owner herself. I don't see that very often these days. +1 for her. But I was surprised to find out she was also a person of reason. After she tightened a few cams and tested again, the bookshelf was still wobbly. She admitted defeat and gave me store credit. +2 for her. For the record, this bookshelf, the BILLY, is/has  become a piece of engineering crap. Even grade school kids should know parallelograms are unstable.
Logged


Maine
Offline Offline
Sr. Member
****
Karma: 14
Posts: 417
Caution: Explosives in use.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

ting is on Sprint network, their data coverage isn't that good in my area according to their coverage maps.

Thats impressive. I live just outside of Middle of Nowhere, Maine, and even we get 3g data coverage.
Logged

"Anyone who isn't confused really doesn't understand the situation."

Electronic props for Airsoft, paintball, and laser tag -> www.nightscapetech.com

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Not too much of a complaint, but I hate having to refactor code before it even does anything, sometimes the first cut is just too wrong to go on.

Duane B
Logged


Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26421
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What does "refactor code" mean?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

http://en.wikipedia.org/wiki/Code_refactoring

Edit : my approach isn't anywhere near as structured as the wiki article suggests, and I only do it when my gut tells me to.

Duane B
« Last Edit: October 14, 2012, 01:18:08 pm by DuaneB » Logged


Global Moderator
Dallas
Online Online
Shannon Member
*****
Karma: 198
Posts: 12747
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What does "refactor code" mean?

It's fancy-talk for "clean up the illegible mess you made writing the first version".
Logged

Belgium
Online Online
Edison Member
*
Karma: 68
Posts: 1898
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What does "refactor code" mean?

It's fancy-talk for "clean up the illegible mess you made writing the first version".

It is true that is is fancy-talk for "clean up the illegible mess you made writing the current version".
More importantly is that a good IDE provides support for doing refactoring (like eclipse and visual studio do) .
For instance you can go to a function/variable/class and refactor->rename which renames the function/variable/class everywhere it has been used. And it does this taking into account the namespace. A standard find and replace does not do so.
This is a great feature when you have a serious amount of code.

Best regards
Jantje
Logged

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26421
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So collecting up the various pinModes and rewriting into an array and then looping thru it might be refactoring?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Belgium
Online Online
Edison Member
*
Karma: 68
Posts: 1898
Arduino rocks; but with my plugin it can fly rocking the world ;-)
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

So collecting up the various pinModes and rewriting into an array and then looping thru it might be refactoring?
To me it is.
Best regards
Jantje
Logged

Do not PM me a question unless you are prepared to pay for consultancy.
Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -

Rural Arizona
Offline Offline
Edison Member
*
Karma: 7
Posts: 1711
Incorrigible tinkerer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What arseholes think this stuff up?
You mean "Who thinks of opening the car door at 60 knots to see whether it dings?"?  smiley-twist
Logged

Rural Arizona
Offline Offline
Edison Member
*
Karma: 7
Posts: 1711
Incorrigible tinkerer
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

We even melted one with thermite.

Did it say "I cannot self-terminate" when you tried to shut it off?
Logged

Dubai, UAE
Offline Offline
Edison Member
*
Karma: 22
Posts: 1675
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Perhaps refactoring is the wrong word then, basically my initial abstractions no longer stand up as the project is progressing and so i need to pull the classes apart and create new more appropriate one from the parts.

Duane B
Logged


Pages: 1 2 3 [4]   Go Up
Jump to: