Posts by Viralata • 191 points
5 posts
-
1
votes2
answers1318
viewsA: Calling C++ from Javascript?
Besides the options pointed out, it would also be possible to use the Node-Webkit embarking the Node.js + Chrome engine. Runs as a normal program, but looks like a Browser, limited only to the…
-
1
votes1
answer1314
viewsA: java.lang.Nullpointerexception on chat system
Debug for what I want you.. But looking over, there are 3 lines within the signIn() method that may be referencing null references: 1 - attendant.getLogin(). equals(...) 2 -…
-
7
votes5
answers1668
viewsA: How to use a language other than Javascript in your browser?
There are some technical impediments that hinder the implementation of a multilingual environment in the browser. The Javascript language has bindings in the Webkit (for example) which is one of the…
-
3
votes4
answers1099
viewsA: When to implement header functions?
When implementing inline in a header, look to place code directly in the header, without implementing to the source: inline int soma(int a, int b) { return a + b; } // Sem inline só declaração,…
-
4
votes7
answers6727
viewsA: In object orientation, why are interfaces useful?
When you want two different types to have the same behavior. This becomes visible when we detect patterns of behavior between different types, but according to these patterns could be from the same…