What would not be considered refactoring?
Suggested Answer: B
Get Premium PSD Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
Branching means that you create a new version from the code that exists indepently from the original code. It is not isolated forever, it can be merged back later.
31 comments · newest first
ST
Stefany
10 months ago
Extracting methods is definitely refactoring!
AR
Arletta
10 months ago
Totally agree, that's a major change!
EL
Ellen
10 months ago
Changing external interfaces or APIs isn't refactoring.
NG
Ngoc
10 months ago
Renaming things is just good practice, not refactoring.
IO
Iola
10 months ago
Wait, really? I thought that could be part of it.
FA
Fausto
11 months ago
I feel like extracting interfaces is a gray area, but I think it still counts as refactoring. Changing external APIs seems like the odd one out here.
JU
Jutta
11 months ago
I'm not entirely sure, but I think reordering method parameters might be considered refactoring since it improves readability?
KA
Kati
11 months ago
I remember practicing a question where we had to identify refactoring techniques, and I feel like extracting methods and renaming things are definitely part of it.
TO
Tommy
11 months ago
I think refactoring is all about improving code without changing its behavior, so maybe changing external interfaces or APIs isn't refactoring?
DE
Deonna
12 months ago
Ah, I think I've got it. Changing external interfaces or APIs would be a more significant change than just refactoring, so that's the answer I'm going with.
DE
Dean
12 months ago
I'm a bit confused on this one. Reordering method parameters and extracting interfaces both seem like they could be considered refactoring, but I'm not 100% sure.
LO
Loise
12 months ago
Extracting methods and renaming things to be more logical both sound like textbook refactoring techniques to me. I'm not sure about the other options.
CA
Catarina
1 year ago
Changing external interfaces or APIs seems like it would be more than just refactoring, so I'm going to go with that as the answer.
PE
Pearline
1 year ago
Hmm, this is a tricky one. I'll need to think carefully about the definition of refactoring to figure this out.
FE
Felicitas
1 year ago
Refactoring, huh? I guess that's what they call it when you're just rearranging the deck chairs on the Titanic.
KR
Krissy
1 year ago
C) Changing external interfaces or APIs
MY
Myra
1 year ago
B) Reordering method parameters to improve readability
GE
Geraldo
1 year ago
A) Extracting methods
SH
Shaun
1 year ago
Changing external interfaces or APIs? That's like doing open-heart surgery on your codebase. Not exactly what I'd call a 'refactor'.
EA
Earnestine
1 year ago
D) Renaming things to be more logical
EV
Evangelina
1 year ago
C) Changing external interfaces or APIs
JI
Jina
1 year ago
B) Reordering method parameters to improve readability
AR
Artie
1 year ago
A) Extracting methods
GI
Gilma
1 year ago
Reordering method parameters for better readability? Sign me up! That's a quick and easy win for refactoring.
GE
Genevive
1 year ago
I believe extracting methods and renaming things to be more logical are examples of refactoring.
AN
Anika
1 year ago
Extracting methods and interfaces - those are classic refactoring techniques to improve code organization and flexibility. Can't go wrong with those choices!
GL
Glory
1 year ago
E) Extracting interfaces
SE
Sean
1 year ago
A) Extracting methods
CO
Coleen
1 year ago
I agree with Carisa. Refactoring is about improving the internal structure without changing the external behavior.
AN
Antione
1 year ago
Hmm, I'm pretty sure changing external interfaces or APIs wouldn't be considered refactoring. That's more like a major redesign, right?
CA
Carisa
2 years ago
I think changing external interfaces or APIs would not be considered refactoring.