All Questions

4
answers

Why use C # extension methods?

What do I get with extension methods that I do not gain with inheritance? Simply using it as if it had the same name is tricky, since it causes more confusion than anything else.     
asked on 24.06.2016 / 13:43
3
answers

What is the difference between 401 Unauthorized and 403 Forbidden?

When designing an application, it is common for me to be in doubt as to which HTTP code to return when a user does not have access to a given resource: whether it is 401 Unauthorized or whether it is 403 Forbidden . I wanted a cle...
asked on 10.02.2015 / 18:36
5
answers

What is an SDK?

Until recently, I always saw SDK as something related to the Android universe. However I have noticed some PHP libraries that also use the SDK name. For example: pagseguro-php-sdk facebook / graph-sdk But what would an SDK be?...
asked on 21.03.2017 / 17:28
2
answers

What would be best practices for commits in Git?

Are there best practices for committing commits and writing comments in these commits , for better communication and understanding during the software development process?     
asked on 30.04.2015 / 02:17
4
answers

Infer class type from a generic

In the following class I want to assign the clazz attribute to the class type by inferring it from the list entered in the constructor. class Foo<T> { private Class<T> clazz; Foo(List<T> list) { //this...
asked on 09.06.2015 / 18:01
4
answers

What is a github for github?

What is the purpose of a gists in github ? How does it differ to a repository?     
asked on 30.07.2015 / 15:23
2
answers

foo and bar - Does it have any special meaning?

In most code examples in various languages, I see these two names for variables - foo and bar . Is there any special meaning for them?     
asked on 10.07.2016 / 07:15
3
answers

What are friendly URLs?

What are friendly URLs? What is your purpose? When is it recommended to use friendly URLs instead of regular URLs? Is it related to performance?
asked on 13.05.2016 / 15:20
3
answers

Detect if an element contains a class with pure JavaScript

In jQuery, we have the code $("#elemento").hasClass("nomeDaClasse"); This indicates whether an element contains a particular CSS class. How can I achieve the same with pure JavaScript?     
asked on 17.03.2014 / 21:09
2
answers

Can operators ==, ===,! = e! == be considered "fuzzy logic"?

Doubt is simple and just out of curiosity, from a mathematical point of view, we have something like comparators by proportion (or from
asked on 06.03.2018 / 17:36