在计算机编程领域,胶水代码也叫粘合代码,用途是粘合那些可能不兼容的代码~
可以使用与胶合在一起的代码相同的语言编写,也可以用单独的胶水语言编写~
胶水代码不实现程序要求的任何功能,它通常出现在代码中,使现有的库或者程序在外部函数接口(如Java本地接口)中进行互操作~
胶水代码在快速原型开发环境中非常高效,可以让几个组件被快速集成到单个语言或者框架中~
在计算机编程领域,胶水代码也叫粘合代码,用途是粘合那些可能不兼容的代码~
可以使用与胶合在一起的代码相同的语言编写,也可以用单独的胶水语言编写~
胶水代码不实现程序要求的任何功能,它通常出现在代码中,使现有的库或者程序在外部函数接口(如Java本地接口)中进行互操作~
胶水代码在快速原型开发环境中非常高效,可以让几个组件被快速集成到单个语言或者框架中~