Joined devRant on 10/28/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
If you ask a scientist what pi is, he'll tell you it equals 3.14159..
If you ask a mathematician, he'll tell you pi equals the circumference of a circle divided by its diameter..
If you ask an engineer, he'll say "Pi? Well, it's about 3, but we'll call it 4 just to be safe.."
But if you ask a kid, he’ll ask if he can have ice cream with it...!8
An engineer was crossing a road one day, when a frog called out to him and said, "If you kiss me, I'll turn into a beautiful princess."
He bent over, picked up the frog and put it in his pocket.
The frog then cried out, "If you kiss me and turn me back into a princess, I'll stay with you for one week and do ANYTHING you want."
Again, the engineer took the frog out, smiled at it and put it back into his pocket.
Finally, the frog asked, "What is the matter? I've told you I'm a beautiful princess and that I'll stay with you for one week and do anything you want. Why won't you kiss me?"
The engineer said, "Look, I'm an engineer. I don't have time for a girlfriend, but a talking frog, now that's cool."7
New engineer : How do you estimate how long a project will take..?
Seasoned engineer : I add up the time required for each task, then multiply the sum by π.
New engineer : Why π ?
Seasoned engineer : It ensures that all my budgets are irr-rational..6
Always Stick to One Task at a Time
Whenever I’m trying to learn how to do new stuff, or if I have a project where I’d have to figure out how to do a lot of things, I try to just pick a particular task and attack that.
Often times in programming, you’ll hold a lot of context in your head depending on what you’re working on, so it’s best to focus on one thing and try to get it done. There are a lot of ways you can tackle a single problem, so a lot of things will depend on what solution you end up choosing. For example, if you’re trying to build a CMS website that build websites where it will deploy things to each user, you could organize a site where it’s a big giant app where everyone has a specific subdomain, or you can make it so that each individual subdomain is a separate instance of your app with configuration changes. There are pros and cons to each approach, so this is where the judgment comes in and why some people say programming is an art, since you constantly have to weigh different tradeoffs.1
"If debugging is the process of removing software bugs, then programming must be the process of putting them in..."4