Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Language Wizards considered harmful?

Wizards can kick-start features. They can also obfuscate your code, and are anti-YAGNI.

On balance, do you think Wizards are more useful or more harmful?

like image 742
dkretz Avatar asked Dec 28 '25 14:12

dkretz


2 Answers

They are more useful than harmful if and only if you understand the code they generate. Only after you mastered the problem the wizard is trying to solve they are really useful. Otherwise you'll hit walls later in the project, because the generated code will need modifications at some point.

"The Law of Leaky Abstractions" really nails it on the head.

like image 122
maayank Avatar answered Dec 30 '25 16:12

maayank


They're there for a reason - to try and make your life easier. They can be useful and save you 5 or 10 minutes of typing. Of course it's best to read and make sure you understand what they've written for you.

If you use them without understanding, then they could be considered harmful in the fact that they're letting you get away with not learning something you should probably know, but on balance I think they're a good thing.

like image 25
Greg Avatar answered Dec 30 '25 16:12

Greg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!