All Questions
5 questions
1
vote
1
answer
139
views
What is the best approach to use a common variable in multiple method in a request in laravel [closed]
I have a $c variable that is calculated at the beginning of the request. After calculating this several nested methods use it as a part of their job. Is it better that I pass down the $c variable to ...
-3
votes
3
answers
491
views
Writing quality code [closed]
I know there are many books on writing clean, modular, readable and whatever else you can say but frankly speaking I find it very hard to remember every advice given on those books. Frankly speaking ...
4
votes
5
answers
3k
views
Should I comment or remove any un-used code from my Solution?
I was working in a story and in last minute, I have been asked to hide something from UI and we will used it next release.
Should i remove it or comment it
Should i remove or comment anything ...
3
votes
3
answers
287
views
Development Time: sql in UI code vs domain model with datamapper
First, sorry for my English guys.
Currently this is my first programming job. I am labeled as the most incompetent programmer in my company that's because they measure the performance and ...
0
votes
1
answer
1k
views
Good fix vs Quick fix [duplicate]
Let's start from this principle: quality is a feature that you can't add to a project in the middle of the development process.
This is the scenario: two weeks to go live with my project and, one of ...