All Questions

4
answers

Delete thousands of records from a table

I have a table, for example, pessoa , and I would like to all people over 40 , with the script below I do this: > DELETE FROM pessoa WHERE pessoa.idade > 40; The problem that there is more than 2 million records in the table ,...
asked on 14.12.2016 / 19:42
2
answers

What is Event Oriented Programming?

What is event-oriented programming? What Differs Between Event-Oriented Programming and Object-Oriented Programming? What languages can we cite that are event-oriented?
asked on 13.08.2015 / 17:37
3
answers

Is C # a compiled or interpreted language?

I'm starting C # studies, and am I wondering if the language is compiled or interpreted? My doubt arises because I heard in a lecture that it is compiled, and others saying that it is interpreted.     
asked on 27.04.2016 / 17:00
2
answers

What does '~' mean in front of the constructor of a C #

Working on a project here in the company, I came across some commands that are now being used the most ( yield , ?? , anonymous type ) but until I understood, but one that caught my attention because I did not know the what is....
asked on 12.03.2014 / 20:56
5
answers

Why is multiplication faster than division?

Bit brushing question, but I was reading an article on javascript that says split is slower than doing multiplication. And for example, I would recommend changing the code below: var resultado = 4/2; by that would be faster. var result...
asked on 28.03.2014 / 13:38
6
answers

How to put default arguments (default) in a JavaScript function?

In R this would be very simple: funcao <- function(x=10) return(x) If you call funcao() without arguments, the result will be 10 . How to do the same in JavaScript? And how do I know if there are default values in...
asked on 09.05.2014 / 17:28
3
answers

Difference between Date, sql.Date and Calendar

What is the difference between the java.util.Date , java.sql.Date and java.util.Calendar classes and in which situations is the use of one or the other recommended?     
asked on 10.04.2014 / 15:21
4
answers

What is the most appropriate way to concatenate strings?

There are different methods for concatenating strings, such as Concatenating with the "abc" + str Formatting String.Format("abc{0}", str); Using StringBuilder new StringBuilder("abc").Append(str); Using the Concat...
asked on 11.12.2013 / 21:42
7
answers

In C #, what is the key word await?

I was studying this documentation on Asp.net Identity , and the examples in C # have a keyword that I do not know, which is await , example: [HttpPost] [AllowAnonymous] [ValidateAntiForgeryToken] public async Task<ActionResult> Re...
asked on 29.01.2014 / 17:36
4
answers

What is the difference between "&&" and "||" and "and" and "or" in PHP? Which one to use?

I have this question, what is the difference between && and || and between and and or ? Which one should I use?     
asked on 22.01.2015 / 16:04