All Questions

4
answers

What is Reverse Engineering?

I often say that I do not get along very well with terms. These days ago I had to do an operation on a particular PHP framework called Laravel , where I needed to find a resource that would allow me to use an existing database and cause it a...
asked on 12.02.2016 / 11:38
4
answers

What are the advantages of Lambda Expressions present in Java 8?

Java 8 will be released soon ( March 2014 ) and the feature of this version are Lambda expressions . Could anyone describe, as the question says, what this feature will actually add to the developers and, if possible, any example code co...
asked on 13.12.2013 / 12:29
4
answers

What is spaghetti code?

When you read about software architecture on the web, sometimes the term spaghetti code is used, referring to something that should be avoided. > But I never quite understood what "spaghetti code" means.     
asked on 03.09.2014 / 14:35
5
answers

How to calculate the difference between two dates?

What is the most practical way to find the time difference between two dates in the standard format used by MySQL (YYYY-MM-DD)? Ex: Date 1: 2013-12-11 Date 2: 1994-04-17     
asked on 11.12.2013 / 17:59
8
answers

Is using validation via client sufficient?

Is using validations in JavaScript enough for efficient validation? Example : Validate dates. Is it also necessary to check the code? What are the disadvantages of doing validations via client-side ?
asked on 17.04.2014 / 18:59
4
answers

Mathematical division needs

On the Windows calculator: 9 / 3,0001 = 2,999 ... In my program: 9 / 3,0001 = 3; I would like to get this level of precision using C. See excerpts from my program: double op(double num1, double num2, char c) { if(c == '/')...
asked on 25.10.2014 / 18:23
4
answers

What does the "@" sign in C # mean?

I have the following string @"\servidor01\arquivos" . What is the function of @ in front of string ?     
asked on 20.11.2014 / 12:56
4
answers

What do the ellipses in the parameters of a method mean?

I was seeing some methods of the javax package classes and some of them have a signature similar to this: protected void doInBackground(String... params){} What does this " ... " mean??     
asked on 08.01.2015 / 07:22
2
answers

Can a C compiler generate a 64-bit executable where pointers are 32-bits?

Most programs fit well in address space of less than 4GB, but in some cases the program may need to use the new processor features / instructions that are only available in the x64 architecture. Unfortunately the normal procedure would be to gene...
asked on 15.01.2014 / 02:37
7
answers

Less number of movements of a horse to a given house in Chess

On a chessboard in any house I have a Horse (represented in red) and I will have only one other piece (represented in green) that the horse should go to it: Imustusethesimplestpathandtakeintoaccountthemovementofthehorse(inL)andcountthemovemen...
asked on 03.12.2016 / 01:06