Tuesday, February 12, 2013

Dynamic JavaBeans



  • Dynamic JavaBeans

By creating a DynamicBean, you can reduce the effort to the definition of an interface and create instances using a bean factory like
http://lib.ribomation.com/riboutils/dynamicbean/

High Order Language



  • High Order Language (HOL)


Higher-order programming
Higher-order programming is a style of computer programming that uses functions as values.
It is usually instantiated with, or borrowed from, models of computation such as lambda calculus which make heavy use of higher-order functions.
http://en.wikipedia.org/wiki/Higher-order_programming


  • Higher Order Programming Is Easy!

If you have ever passed a function or method as a parameter to another function or method, then you have done higher order programming.
If you have ever used a function pointer in C or a delegate in C# or some kind of callback mechanism, then you have done higher order programming.
http://www.programmersheaven.com/user/pheaven/blog/133-Higher-Order-Programming-Is-Easy/

MapBasic



  • MapBasic

MapBasic is a programming language for creation of additional tools and functionality for the MapInfo Professional geographical information system.
MapBasic also allows programmers to develop software in popular programming languages such as C, C++ and Visual Basic and use these with the MapInfo Professional GIS to create geographically based software, such as electronic mapping.
http://en.wikipedia.org/wiki/MapBasic

Difference between ArrayList vs LinkedList



  • Difference between ArrayList vs LinkedList 


1) Data Structure
ArrayList Array
LinkedList LinkedList

2) LinkedList implements Deque
LinkedLis implements deque and list interfaces

7) Memory
LinkedList uses a wrapper object, Entry,  which is a static nested class for storing data and two nodes next and previous while ArrayList just store data in Array. So memory requirement seems less in case of ArrayList than LinkedList except the case where Array performs re-size operation, when it copies content from one Array to another.
If Array is large enough it may take lot of memory at that point and trigger Garbage collection, which can slow response time.

http://java67.blogspot.com/2012/12/difference-between-arraylist-vs-LinkedList-java.html