All Questions

4
answers

Is it possible to comment on a JSON file?

Can I comment on a JSON file? If yes, how?     
asked on 05.05.2015 / 20:08
0
answers

Recursive call error in nested procedures

I have some MySQL procedures to do the following: The main code will always call the procedure CALL sp_syncTabela . The sp_syncTabela will check if there is another specific procedure for tableName passed as argumen...
asked on 17.11.2014 / 21:46
1
answer

What is a memory dump?

What is a dump of memory? How can it aid in the possible identification of an inconsistency in the code? How is the analysis performed?
asked on 03.08.2015 / 16:42
4
answers

NPM, Bower and Composer, which one to use?

Can anyone explain the difference between NPM, Bower and Composer. They are all package managers, correct? But when should each be used?     
asked on 05.01.2017 / 20:09
4
answers

A means of comparing three variables

I need to make a comparison between three variables in my PHP code. if($a == $b == $c) { return true; } else { return false; } I have a lot of ideas on how to do this, but I want to know how best to achieve this.     
asked on 11.02.2014 / 19:32
2
answers

Is it not feasible to use Domain-Driven Design working alone?

I have studied a lot about DDD and I have this question that has been bothering me since I started reading about "strategic design". I have been working with programming since 2009 and most of the time I have always worked alone. I have already...
asked on 15.02.2015 / 14:51
1
answer

Good practices (Refactoring) - best way to treat one method with for inside another

Personal using good practice in Java how should I convert this method? Should I break in several methods and within each of them do the? public void salvarObjetos(Objeto objeto){ for(Objeto1 obj : container.getList()){ . ....
asked on 14.05.2015 / 16:51
2
answers

Why is it not possible to modify local variables when accessed within anonymous classes?

When trying to access a local variable from a method of an anonymous class in java, we usually get a syntax error if we try to modify its content. Some IDE's suggest that we transform the variable into final , so that its content becomes i...
asked on 23.03.2017 / 14:56
1
answer

What is the difference between sendRedirect and requestDispatcher.forward?

What is the fundamental difference between using methods response.sendRedirect("Alguma pagina"); and RequestDispatcher despachar = request.getRequestDispatcher("/Alguma pagina"); despachar.forward(request, response); Since "they do p...
asked on 02.10.2015 / 20:52
2
answers

Dynamic declaration in attribute property

As part of an ORM microplatform I'm developing, I'm defining a generic class that implements exclusively tight coupling (1 record x 1 object). public class Course : MicroEntity<Course> { public string fullname { get; set; } publ...
asked on 06.10.2015 / 19:56