Useful tips for everyday
What happens if you forgot to initialize a variable? When you don’t initialize the variable then the compiler automatically sets its value to zero. An…
What is a first-class citizen programming? In programming language design, a first-class citizen (also type, object, entity, or value) in a given programming language is…
How long do integration tests take? I write quite thorough integration tests, trying to make sure I cover each feature. On travis-ci, the entire process…
What are Git best practices? Best practices for using Git Make clean, single-purpose commits. Write meaningful commit messages. Commit early, commit often. Don’t alter published…
What are threads in iOS? Threads. A thread is a sequence of instructions that can be executed by a runtime. Each process has at least…
How do you override equals method? The String class overrides the equals method it inherited from the Object class and implemented logic to compare the…
How do you invoke the default method of an interface? To invoke an interface’s default method, you need to use the name of that interface…
What is the correct way of writing comments? The single line comment is //. Everything from the // to the end of the line is…
What is the difference between artificial intelligence machine learning statistics and data mining? Machine learning uses neural networks and automated algorithms to predict outcomes. Accuracy…
What does application agnostic mean? Simply put, application agnosticism is the ability for a general purpose operating system (such as Windows, Linux, or Mac OS…