All Questions

3
answers

Concepts of Allocation and Release of Memory in C #

I'm doing a web application that has a finite recursive loop. But during the process memory consumption is constantly increasing and in the end Visual Studio has more than 2 Gigabytes of memory usage. I'd like to know some concepts about memo...
asked on 09.05.2014 / 20:01
3
answers

How to format a date in 'dd / MM / yyyy' format?

How to get a formatted string from an object of type Date in format dd/MM/yyyy ?     
asked on 18.02.2016 / 13:10
4
answers

Where is "Plugin Manager" of NotePad ++?

I just installed Notepad ++ (64Bits) and it seems that something is wrong, because the plugin manager item does not appear? In Google I did not find any reference on this, only indications of installing plugins, just going in this option,}...
asked on 25.11.2016 / 03:11
4
answers

When to use ternary condition?

I particularly like the use of ternary condition, but I see a lot of developers out there saying, there's even rule in CheckStyle when validating your code that encourages you not to use. See the example below: var idElemento = $(this).at...
asked on 31.01.2014 / 21:09
3
answers

What is "build" and what is its relationship to IDE?

In the area of software development there is a term that comes up very often which is build . It always popped up when I read about Android Studio and other development tools (usually IDEs), I think it should be part of this concept (I might be...
asked on 06.10.2016 / 19:55
2
answers

Does the syntax '///' have any special meaning?

I was using notepad ++ (v 6.5) to write a file in javascript when I noticed the following: I wrote a comment line starting with /// , three instead of the usual two. In execution this line seems to be ignored, but it is not colored...
asked on 05.05.2014 / 16:55
3
answers

Doubt on Inheritance

I have the following case: Avo.java: public class Avo { public String quemEuSou(){ return this.getClass().getName(); } } Mae.java: public class Mae extends Avo{ @Override public String quemEuSou() {...
asked on 17.02.2016 / 19:21
3
answers

When to use Setters and Getters?

I'm studying OOP and in the encapsulation part I have a question about when to use getters and setters , besides being able to validate the parameter passed, what is the utility of using ? I could just "get" the given by __construct...
asked on 12.12.2014 / 07:50
1
answer

What is a DTO?

I'm messing around with Java a short time and I always hear the DTO expression related to pulling something out of a bank, but I've never quite understood what it's all about. Is it just a name to reference the process of pulling information...
asked on 03.09.2014 / 17:31
3
answers

What is the expression 'if __name__ == "__main__"?

I notice that some scripts in Python , right at the end of the code, have the following expression: if __name__ == "__main__": #faça alguma coisa aqui What is the purpose of this?     
asked on 15.10.2015 / 21:10