-
as seen on Oracle Blogs
- Search for 'Oracle Blogs'
value types in the vm
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Times}
p.p2 {margin: 0.0px 0.0px 14.0px 0.0px; font: 14.0px Times}
p.p3 {margin: 0.0px 0.0px 12.0px 0.0px; font: 14.0px Times}
p.p4 {margin: 0.0px 0.0px 15.0px 0.0px; font: 14.0px Times}
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm working on a PoSh project that generates CSharp code, and then Add-Types it into memory.
The new types use existing types in an on disk DLL, which is loaded via Add-Type.
All is well and good untill I actualy try to invoke methods on the new types. Here's an example of what I'm doing:
$PWD…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to determine which types or methods in a base framework assembly are being used by other assemblies in the application system. I cannot seem to find a straight-cut query to do that.
What i have to do is first determine which assemblies are directly using the framework assembly, then manually…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Today I came to a fundamental paradox of the object programming style, concrete types or interfaces.
Whats the better election for a method's return type: a concrete type or an interface?
In most cases, I tend to use concrete types as the return type for methods. because I believe that an concrete…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm trying to define a structural type defining anything that has an "add" method (for instance, a java collection or a java map). Using this, I want to define a few higher order functions that operate on a certain collection
object GenericTypes {
type GenericCollection[T] = { def add(value: T):…
>>> More