n*c 发帖数: 228 | 1 ctor 的定义里边能用runnable 做参数吗?加入你在写一个库,根本没有class继承
runnable,也就没有instance可以pass.
vtable,interface有vtable吗?其实这才是我关心的问题。abstract class 应该是有
vtable,但是interface呢。如果有的话,implement interface的instance 里应该有一
个vptr才对,但是这样的话interface和abstract class 有什么区别?
java里边是metadata,
那.net的IL呢。 |
|
M***0 发帖数: 1180 | 2 好久不见好虫,自从你找到工作后就从jobHunting版消失了。
你说的很在理啊,看完了解了很多!谢谢! 是的,我们这里就是用的SOA架构。
你猜的可能是对的,这套系统从10年前开始的,applicatioins不断用新版本代替旧版
本,所以C++做MQ很可能是legacy的原因。
另外再请教一个问题,manager说过段时间要把我调组,Either这个exchange
interface组 Or设计组,我目前在application dev组。exchange interface组是纯粹
的C++ coding,我对C++没接触过,有没有什么书篇幅短但上手快、侧重介绍和Java的不
同点的? 另一个组就是总体设计,要对整个部门的业务比较熟悉,coding方面只要建表和写PL/SQL,这个组好像比较senior,要对整个架构宏观理解,而且以后就偏业务方向了,而interface组是专门做技术,不知道我的理解对不对?
interface? |
|
g*****y 发帖数: 7271 | 3 函数重载的话,你必须同时重载interface()。如果只是重载implementation
的话,base里的interface()是不会去调用你重载的implementation的。
如果interface里面也有不少code的话,你不会希望每个派生类再复制一遍
interface里的code吧。 |
|
G***l 发帖数: 355 | 4 这个贴子说的很好。我以前就说过,从建模角度来说OO描述data和data之间的关系很好
,但是描述behavior就有所不足。Design pattern里面,绝大多数都是用来弥补OO在
behavior建模上的不足的,这里面绝大多数FP都不需要。FP描述data没有OO简单直接,
但是当模型复杂的时候,behavior建模上强太多了。
关于继承我也很赞同。interface继承是类似FP的,因为interface只是标识了(多个)
function的signature。在OO里依赖一个interface,几乎和FP里依赖一个或者多个函数
type一样。class的继承完全不同。不知道你们有没有这个发现。我自己的经验是,用
java, c++, c#写OO的code这么多年来,interface的继承还在用,但是class的继承用
的是越来越少了。 |
|
z*******3 发帖数: 13709 | 5
可以这么说,毕竟是framework,还是有东西要你遵守的
不过这个部分跟你语言的部分分离
不侵入你语言的实现,这样你就可以复用很多代码了
因为同样的java代码,你放在哪里,都不需要修改
你的spring跟我的spring用的java文件是一样的
这样你至少在测试的时候就很方便,没有context要折腾
这个方法过了那就是过了,不存在说有context的问题
spring的xml很傻瓜
就是beans.xml
那个xml文件里面就这些东西,你看一下就懂了
spring是一个组件的pool
tomcat是一个thread的pool
这个thread主要用来管理网络上发送过来的req
然后tomcat会从thread pool里面抓出一个thread去处理这个req
然后你写的主要是组件,不管是servlet,还是spring这些
你写的都是component,不涉及thread这些,就放到server里面去被调用
对吧?传统的做法,都是servlet like的方式
就是你在servlet里面实现逻辑,如果你在servlet里面要用其他... 阅读全帖 |
|
p*****2 发帖数: 21240 | 6
其实现在OOP,比如Java也不推荐用继承,大量采用interface。有了method和
interface,Go的OO功能已经很很强大了。我估计纯C的写法,可能基本会是C出身不懂
OO的人会那么搞。大部分人就像你说的一样,但是FP背景的写法又会很不一样。
不过我的第一印象是Go的method和interface的设计解决了OO的很多问题。不过
interface貌似缺失一些功能,而且比较动态化,这个会导致代码重用有一定障碍,和
代码不易读。不知道你们遇到没有。 |
|
c*****e 发帖数: 3226 | 7 再聊聊这个 pointer与 interface 的傻逼关系。
type Foo struct {}
func (f Foo) xyz1() ..
func (f *Foo) abc1()...
type InterfaceXyz interface{
xyz1()
}
type InterfaceAbc interface{
abc1()
}
func Add(a InterfaceXyz)
func Dec(b InterfaceAbc)
var k Foo
Add(k) --> OK
Dec(k) ---> not OK
g:=new(Foo)
Add(g) ---> ok
Dec(g) --> OK
所以一个 object 是否实现了一个 interface 取决于你用的是 value 还是 pointer.
有病而且病的不轻!
要。
zuo |
|
f*******t 发帖数: 7549 | 8 可以用people。
而且显示一个东西是变量还是函数还是struct,基本上应该是IDE的活,vim也有相应插
件。
首字母大小写区分是否export是很好的设计,利大于弊。不知道你有啥好喷的。
要我说go的缺点主要是generic map不够智能化,写起来又臭又长:
m := map[string]interface{}{
"a": map[string]interface{}{
"b":"c",
},
}
高级语言比如ruby只要
m = {"a" : {"b" : "c"}}
另一个问题是很难找到interface被哪个类implement了,我vim用的不好,反正到现在
都靠string search……反向查找也很难,比如查看一个类实现了哪些interface。
我说的问题都是实实在在影响productivity的,纠结于首字母大小写有什么意义? |
|
z****e 发帖数: 54598 | 9 1)分pkg,把interface和impl分到不同的pkg里面去就好了
这样阿三写多少个都是阿三的事,你只需要看定义好的interface就行
2)这22个可以分给不同的小阿三去写,每个人写六七个
3)利用框架,用annotation来分,不是interface来分
一个@Component就可以顶掉一堆interface了
4)用default method,可以减少abstract class出现次数 |
|
a*f 发帖数: 1790 | 10 来自主题: Programming版 - 发个面试题 是问这个吗?
功能要求用entity diagram画出来
一个基于Spring结构设计的框架:
domain pakage:
customer
order
product
price
domain下面repository interface:
customerRepository
ordersRepository
productsRepository
pricesRepository
repository下面DAO impl repository interface
customerRepositoryImpl
ordersRepositoryImpl
productsRepositoryImpl
pricesRepositoryImpl
service package interface:
customerService
orderService
productService
priceService
service package下面 impl service package interface
customerServiceImpl
orderServiceImpl
produ... 阅读全帖 |
|
G*******9 发帖数: 4371 | 11 【 以下文字转载自 WashingtonDC 讨论区 】
发信人: Great2009 (栀子园主,诚招助手), 信区: WashingtonDC
标 题: DC在招IT工 ActioNet Positions。。。
关键字: IT 招人 ActioNet Positions Openings
发信站: BBS 未名空间站 (Sun May 25 21:23:16 2014, 美东)
我在帮朋友的朋友发帖,你可以发包子给我表示感谢,但是请不要问我更具体的问题。
呵呵。。。
ActioNet supports the Centers for Medicare and Medicaid Services in key
areas of health IT solutions delivery. We are looking for Java Developer (
all levels) and System Analysts (all levels) with experience at CMS, Health
IT, or similar systems development en... 阅读全帖 |
|
L***n 发帖数: 25 | 12 Location: Medical device company in NYC
The Mixed Signal Electrical Design Engineer designs analog and digital
circuitry for new medical imaging products as well as improves circuitry in
existing products. Tasks include analyzing, designing, prototyping, and
testing analog, digital and support circuitry used in medical imaging
products. Responsibilities include documenting designs, working with other
engineering disciplines, and transitioning prototype designs to
manufacturing. Major responsibi... 阅读全帖 |
|
w*******y 发帖数: 60932 | 13 Microcenter B&M
eMachines EL1352G-41 Desktop Computer Refurbished $150
Link:
http://www.microcenter.com/single_product_results.phtml?product
Specifications
General Information
Model Number EL1352G-41
Lifestyle Home & Student
Color Black
Operating System
Operating System Microsoft Windows 7 Home Premium (64-bit)
Case & Motherboard
Form Factor Small Form Factor
Case Orientation Vertical
Horizontal
Processor
CPU Brand AMD
# of Cores 2
CPU Type Athlon II X2
CPU Sp... 阅读全帖 |
|
w*******y 发帖数: 60932 | 14 Microcenter B&M
eMachines EL1352G-41 Desktop Computer Refurbished $150
Link:
http://www.microcenter.com/single_product_results.phtml?product
Specifications
General Information
Model Number EL1352G-41
Lifestyle Home & Student
Color Black
Operating System
Operating System Microsoft Windows 7 Home Premium (64-bit)
Case & Motherboard
Form Factor Small Form Factor
Case Orientation Vertical
Horizontal
Processor
CPU Brand AMD
# of Cores 2
CPU Type Athlon II X2
CPU Sp... 阅读全帖 |
|
w*******y 发帖数: 60932 | 15 Microcenter B&M
eMachines EL1352G-41 Desktop Computer Refurbished $150
Link:
http://www.microcenter.com/single_product_results.phtml?product
Specifications
General Information
Model Number EL1352G-41
Lifestyle Home & Student
Color Black
Operating System
Operating System Microsoft Windows 7 Home Premium (64-bit)
Case & Motherboard
Form Factor Small Form Factor
Case Orientation Vertical
Horizontal
Processor
CPU Brand AMD
# of Cores 2
CPU Type Athlon II X2
CPU Sp... 阅读全帖 |
|
w*******y 发帖数: 60932 | 16 Patriot PPSE60GS25SSDR Pyro SE Solid State Drive - 60GB, SATA III (6Gb/s), 2
.5", up to 550MB/s Read, up to 500MB/s Write:
http://www.tigerdirect.com/applications/searchtools/item-Detail
Patriot PPSE60GS25SSDR Pyro SE Solid State Drive
The Patriot PPSE60GS25SSDR Pyro SE Solid State Drive offers an efficient
storage in a sturdy, durable facility. With 60GB of free space to
accommodate your Operating System and space/resource-hungry applications,
you'll load apps and work with files faster than ev... 阅读全帖 |
|
发帖数: 1 | 17
=====================
C++ 工程实践(4):二进制兼容性
原创 2011年03月09日 10:46:00 标签:c++ /library /interface /mfc /class /编译
器 22578
陈硕 (giantchen_AT_gmail)
Blog.csdn.net/Solstice
本文主要讨论 Linux x86/x86-64 平台,偶尔会举 Windows 作为反面教材。
C/C++ 的二进制兼容性 (binary compatibility) 有多重含义,本文主要在“头文件和
库文件分别升级,可执行文件是否受影响”这个意义下讨论,我称之为 library (主
要是 shared library,即动态链接库)的 ABI (application binary interface)。至
于编译器与操作系统的 ABI 留给下一篇谈 C++ 标准与实践的文章。
什么是二进制兼容性
在解释这个定义之前,先看看 Unix/C 语言的一个历史问题:open() 的 flags 参数的
取值。open(2) 函数的原型是
int open(cons... 阅读全帖 |
|
m***a 发帖数: 13878 | 18 https://www.sae.org/news/2018/09/darpa-subject-controls-multiple-simulated-
aircraft-with-brain-computer-interface
DARPA subject controls multiple simulated aircraft with brain-computer
interface
2018-09-12 WILLIAM KUCINSKI
Or, how I learned to stop worrying and love mind-controlled UAV swarms
Defense Advanced Research Projects Agency (DARPA) officials confirmed that
an individual equipped with an experimental brain-computer interface (BCI)
was able to successfully command and control multiple s... 阅读全帖 |
|
w********2 发帖数: 632 | 19 Baseboard Management Controllers (BMCs) are a type of embedded computer used
to provide out-of-band monitoring for desktops and servers. These products
are sold under many brand names, including HP iLO, Dell DRAC, Sun ILOM,
Fujitsu iRMC, IBM IMM, and Supermicro IPMI. BMCs are often implemented as
embedded ARM systems, running Linux and connected directly to the
southbridge of the host system's motherboard. Network access is obtained
either via 'sideband' access to an existing network card or thr... 阅读全帖 |
|
x****6 发帖数: 4339 | 20
The occurrence of concentrated pneumonia cases in Wuhan city, Hubei province
of China was first reported on December 30, 2019 by the Wuhan Municipal
Health Commission (WHO, 2020). The pneumonia cases were found to be linked
to a large seafood and animal market in Wuhan, and measures for sanitation
and disinfection were taken swiftly by the local government agency. The
Centers for Disease Control and Prevention (CDC) and Chinese health
authorities later determined and announced that a novel coro... 阅读全帖 |
|
G****e 发帖数: 1912 | 21 https://www.theepochtimes.com/scientific-puzzles-surrounding-the-wuhan-novel
-coronavirus_3225405.html
Scientific Puzzles Surrounding the Wuhan Novel Coronavirus
BY YUHONG DONG February 3, 2020 Updated: February 6, 2020FONT BFONT SText
size Print
Analysis
The sudden outbreak of the Wuhan Novel Coronavirus (2019-nCoV) has resulted
in all of China’s Hubei Province and three major cities in Zhejiang
Province being subjected to quarantine. Other nations are anxiously trying
to get their people out o... 阅读全帖 |
|
n*******1 发帖数: 145 | 22 3.5L v6版跟2.4L版不同的地方
Powertrain: 290-hp, 3.5-liter, 24-valve, SOHC i-VTEC® V-6 engine, 9-
speed automatic transmission with Sequential SportShift paddle shifters
EPA Fuel Economy Ratings38: 21 (city) / 34 (hwy) / 25 (combined)
Interior: Electronic gear selector, 8-way power front passenger’s seat
including lumbar adjustment
Exterior: 18” aluminum-alloy wheels
其余跟2.4L版一样
Chassis: Agile Handling Assist system, Integrated Dynamics System (IDS),
Precision All-Wheel Steer™ (P-AWS®) sys... 阅读全帖 |
|
X***9 发帖数: 7385 | 23 Sleek and athletic exterior meets interior elegance for a commanding yet
sophisticated presence
Top-of-the-line Elite trim introduces a premium look, feel and
experience with highest level of standard features
Direct injected 3.5-liter i-VTEC® engine with more horsepower and
torque than outgoing model
Smartest Pilot ever with new Intelligent Traction Management system,
Honda Sensing™ technologies and i-VTM4 AWD system
The all-new, third generation 2016 Honda Pilot will... 阅读全帖 |
|
X***9 发帖数: 7385 | 24 2016 HONDA ACCORD 世界第一个同时支持CarPlay和Android Auto的量产车
Upgraded 2016 Accord features one of the first applications of both
Apple CarPlay® and Android Auto™ in a volume-produced vehicle
More dynamic styling, including first 19-inch wheels on Accord
Honda Sensing™ safety and driver-assistive tech available on all
trims
New 7-inch Display Audio touchscreen interface
Honda introduced a refreshed 2016 Accord loaded with advanced technology in
Silicon Valley today, the fi... 阅读全帖 |
|
g****3 发帖数: 142 | 25 Hi, I am seeking a quality engineer to join Cameron Corporation located at
Houston TX.
This is a quick move/hire. H1b is not an issue. Interview process starts in
two three weeks.
If on board, you will be my direct report.
Please submit your resume to g****[email protected].
Job Description:
2) Creating and managing customer required ITPs (Inspection and Testing Plan
) for projects and products.
2) Re-writing most of facility procedures and training due to major changes
in API Q1 standard, 9th Edition... 阅读全帖 |
|
n*****4 发帖数: 20 | 26 Job Description
We are looking for a Java Developer with experience in building high-
performing, scalable, enterprise-grade applications.
You will be part of a talented software team that works on mission-critical
applications. You will be responsible for Java/Java EE application
development while providing expertise in the full software development
lifecycle, from concept and design to testing.
Responsibilities
• Create user information solutions by developing, implementing,
and maint... 阅读全帖 |
|
发帖数: 1 | 27 Senior IOS/Android Software Engineer
Job Description
Recruiting highly qualified Senior IOS/Android Software Engineers to
help in the continued expansion of our AI/AR applications. We are looking
for intelligent, enthusiastic engineers, with Bachelor’s degree in computer
science or computer engineering, or equivalent experience. Your primary
focus will be the development of IOS/Android applications and their
integration with different AI/AR services. You will be working alongside
other engin... 阅读全帖 |
|
y***1 发帖数: 125 | 28 废话几句:信息缺失和排版问题 最新版本 可以直接参看原帖:
http://www.douban.com/group/topic/44946214/
吐槽: 怎么看也不像是豆瓣的文章
------------------------------------------------------------------------
Proaudiophile,即Professional Audio + Audiophile,发烧一十八法门之专业设备法,
虽威力逊于声学重镇英国ISVR暨德国Fraunhofer脑皮质DSP植入,法属美国贝尔实验室听
音观量子重塑,以及丹麦科技大学联合Brüel&Kjær金耳膜修复,但仍以其经济性和
突出表现受天朝有识之士欢迎
USB专业音频设备逐渐在发烧圈走红 三界暗潮涌动
先有Bricasti, Prism Sound, Lynx 界面风靡
看着好假的Benchmark和不怀好意的Antelope凑热闹
名字霸气的Dangerous Music, Crane Song, Solid State Logic继续高贵冷艳着
还有承接各类神奇磨机业务的化... 阅读全帖 |
|
y***1 发帖数: 125 | 29 温馨提示:本文适合追求高性价比,不愿为玄学所惑的折腾党;注意专业音频设备的操作
对耐心和悟性有一定要求。请谨慎阅读本文,若有头晕眼花等症状属正常现象。本文更
新非及时,可参考文末的原帖链接。
------------------------------------------------------------------------
USB专业音频设备逐渐在发烧圈走红 三界暗潮涌动
先有Bricasti, Prism Sound, Lynx 界面风靡
看着好假的Benchmark和不怀好意的Antelope凑热闹(你看看人家Brainstorm多老实)
名字霸气的Dangerous Music,Crane Song,Solid State Logic继续高贵冷艳着
还有承接各类神奇磨机业务的Black Lion(e.g. 花$400给本价$250的ada8k上十全大补
丸),不过这点比起人家低调奢华的Goldmund、MBL之流还是太嫩
各路专业厂商亦各显神通,开始疯狂爆兵:
******************************************************... 阅读全帖 |
|
l******g 发帖数: 6771 | 30 新手,最近看看音响,看看电影,唱唱卡拉OK,人笨不太会考古搜精华,所以就放狗搜
,看到这个深入浅出,转到版上分享一下,抛砖引玉。。。
http://thecreativealternative.com/best-home-theater-receiver-gu
#####################################################################
AV Receiver Guide – Home Theater
Posted on April 14, 2013 by mychaelp
Check out some of the latest models with 4K Ultra HD compatibility now
included in this AV Receiver Guide for Home Theater
The A/V Receiver… Some have referred to this device as “The “Heart of the
Home Theater”. And for good reas... 阅读全帖 |
|
g***i 发帖数: 408 | 31 其实任何DESIGN PATTERN 都回归于GOF说的3句话
PROGRAMMING TO INTERFACE RATHER THAN CLASS
FAVOR OBJECT COMPOSITION OVER class INHERITANCE
ENCAPSULATE WHAT VARIES
对于有很多年设计经验的人来说,PATTERN不PATTERN都不是那么重要了,
这里变化的就是 STYLE和MATERIAL, 所以必然是要封装的,再加上(PROGRAMMING TO
INTERFACE RATHER THAN CLASS) 于是我们有了这两个interface。
再根据“FAVOR OBJECT COMPOSITION OVER INTERFERENCE” 排除做MULTIPLE
INHERITANCE, 于是我们就做一下composition,把STYLE和material作为家具的属性。
严格的来讲,这里的桥不是那么明显:)
为了让这样桥更明显就是单单把MATERIAL从家具中分离出来
家具有一个property MATERIAL (例如wood,steel,...), 和 |
|
d**********8 发帖数: 129 | 32 Given the following interfaces,
1. public interface QueueItem {
2.
3. /**
4. * Returns the priority of this item. The priority is guaranteed to be
5. * between 0 and 99, where 0 is lowest and 99 is highest priority.
6. */
7. public int priority();
8. }
9.
10. public interface PriorityQueue {
11.
12. /**
13. * Inserts a queue item into the priority queue.
14. */
15. public void insert(QueueItem q);
16.
17. /**
18. * Returns the item with the highest priority.
19. */ |
|
W**********s 发帖数: 42 | 33 【 以下文字转载自 Working 讨论区 】
发信人: WebTemplates (web template), 信区: Working
标 题: McAfee Inc have several openings in Reston VA branch. We prefer CS/ECE major with MS+ degree.
发信站: BBS 未名空间站 (Fri Oct 8 11:50:23 2010, 美东)
The salary will range from 80 to 120K depends on qualification.
If you are interested, please send your resume to g*****[email protected]
1. Two Linux Experts (System admin, Packaging and Certification)
Responsibilities:
Create and maintain software installation/update package for Redha... 阅读全帖 |
|
d********n 发帖数: 54 | 34 本人PhD,3年半工作经验。2个月前收到Google recruiter电话,开始面试,一个月前
拿到offer,然后开始了漫长的谈判,昨天终于签字。上来share一下面经。
2年前面过google,职位不喜欢,把它拒了。因为他们有记录,所以这次只安排了4人面
试。
第一个是老美,先问了一些简单问题,比如怎么判断一个32 bit是big endian 还是
small endian等等。最后出了一道算法题,也很容易,给定K个sorted array,要求输
出一个大的sorted array。简单的merge sort就解决了。不过merge sort 要求每次K个
array中,最小的element。简单的当然是scan这K个array。我提出可以把K个array的当
前element放入Heap structure,这样每次搜索就从O(K)降低到O(logK)。最后写了个程
序。
第二个是老中。也是先问了一些简单问题,然后让我设计一个分布式文件系统,给定
path name,可以读写文件。具体的system design这里就不提了。其中一个细节是,给
定path name,怎么知... 阅读全帖 |
|
y*********e 发帖数: 518 | 35 感觉对方是在问 Closure。
这个是 Java 对 Lambda 表达式的实现。Java 7 已经确定在语法上支持这个。
Java 6或者以前的版本只能靠 interface + anonymous class 来实现。
若是做过 functional programming(比如haskell),应该对 Lamdba 表达
式比较熟悉。
从C++的角度来看,就是 function pointer,但是它是 Strongly Typed。
举例代码来说明。假设要对二叉树遍历,代码很好写,比如:
void inOrder(Tree tree) {
if (tree != null) {
inOrder(tree.getLeft());
System.out.println(tree.getValue());
inOrder(tree.getRight());
}
}
但是如上的函数只是把Node的值打印到终端。若是要变得generic一点,要遍历的
过程中,能引入一个函数,对每一个Node执行这个函数,该多好。这样就引入了一
个概念:能... 阅读全帖 |
|
B*******s 发帖数: 74 | 36 Location: San Diego
Essential Duties and Responsibilities include the following. Other duties
may be assigned.
- Design the interface and hosting logic for emulation and co-simulation
- Partitioning of design for multiple FPGAs (Xilinx), placement of logic,
clock gating and synthesis
- Develop the host interface logic and optimize interface design for co-
emulation at various transaction levels
- Simulation of design to verify the partitioning and all emulation related
design changes
Qualificati... 阅读全帖 |
|
b*******y 发帖数: 1240 | 37 software相关,我现在问题是会一些编程语言,用这些语言也做过不少活,但就是不够
focus,所以也可能成为一种劣势
thanks for all suggestions or help!
============================================================================
==============
SUMMARY OF QUALIFICATIONS
Highly motivated engineering program graduate with a proven academic record
and hands-on experience. Team player, attentive listener, and persuasive co
mmunicator. Strong relationship builder, adept at partnering with staff, and
clients. Detail-oriented with acute software design, d... 阅读全帖 |
|
g****e 发帖数: 141 | 38 plz send resume to g****[email protected]
thanks
【 以下文字转载自 JobMarket 讨论区 】
发信人: gstide (豆腐脑), 信区: JobMarket
标 题: hardware engineer in northern virginia
发信站: BBS 未名空间站 (Mon Jun 20 18:53:13 2011, 美东)
职位1:senior level
Key Job Responsibilities include:
•Active participant in high level architecture design
•Clear and concise documentation to support all facets of the design
•Design and develop digital hardware with a focus on microprocessor
and FPGA platforms
•Mentor other engine... 阅读全帖 |
|
q******8 发帖数: 848 | 39 题目都是见过无数次的,没有什么惊喜,那人好像并没有太准备。题目如下:
1. What's abstract class
2. What's different between abstract class and interface
3. When using abstract class when interface, give an example.
4. There is no interface in C++, but how to mimic it in C++? (pure virtual
function?)
5. Explain array, linkedlist and hashtable. When use which, give some
examples.
6. Coding: give an array find two sum to a target value......I give all
three implementations.
7. Design a parking lot.
非常简单,价值不大,希望等到二面 |
|
l*******e 发帖数: 127 | 40 先介绍下自己背景,希望对一些同学有参考作用。
我本科通信工程,目前是在加拿大读ECE MSc , 专业背景主要是硬件方面,本科搞了一年多的
Embedded,
然后有三年多的FPGA设计经验,硕士也是做FPGA 设计。最熟的就是Verilog/VHDL。 软件方面
C语言算比较熟的,C++/Java 学过,快忘光了,基本的OOD 概念还是懂的,但是没啥项目经验。
在九月份学校career fair 上好不容易找到了MS的cube,扔了简历,也参加了他家当天的
Information session。 本以为石沉大海,然后在一个多月后的一天收到了第一轮on-capus
interview的邮件。
第一轮问的问题很简单:1. why MSFT 2. What is your most challenging project
3
. reverse words in a string 4. test a mouse..., 大约30多分钟就over了, 然
后HR
说我test的那个题做的很不错,推荐我SDET,我说随便。
大约两周后收到final second round 的邮件,不过并不... 阅读全帖 |
|
c*****o 发帖数: 1702 | 41 今天收到人生第一个onsite后的据信。这次onsite面试在2周前,看起来还是很干脆的据
信。痛定思痛,决心以后再也不靠运气吃饭了。努力准备!
发面经攒人品:
电面1:
important features of OOP: encapsulation,inheritance and polymophism. what
is abstract class,interface. are we able to inherit from multiple abstract
class or interface. So basically all OOP definitions.
电面2:
still OOP, can C++/Java/C# use multiple inheritances? 然后就一堆废话,后来
知道第一轮都答对,第二轮就很水
onsite 3:早上11点开始,45分中一轮,一共见了6个人,本来要见的COO不在。分别是
director, senior developer,developer,senior developer, archtecter,还有
managin... 阅读全帖 |
|
m**x 发帖数: 245 | 42 Please forward resume to y******[email protected] if you are interested in the
following VMWare opening.
Thanks!
Be a Tech Lead or a senior Member of Technical Staff in the User
Interface design area for a very senior and high power R&D development team
working in areas like:
o Work side-by-side with development teams on Next Generation UI platform
for VMware flagship product line - vSphere and Cloud Infrastructure.
o Create/enhance VMware Ecosystem next generation solution platform –
VM... 阅读全帖 |
|
f**********2 发帖数: 2401 | 43 2.1 Abstract类可以有具体实现方法,interface接口没有,只能decalre方法,不能
implement。abstract类可以有abstract方法,也可以有非abstract的。interface中的
方法都实际是abstract的。子类只能继承一个abstract类,但是可以implement多个
interface。
2.2 overloading(in java)就是在一个类中有多个方法。方法有不同的参数个数或者
参数类型区别。overriding是base class和derived class之间的多态。当子类有和父
类一样的方法(相同的名称和参数),就是overriding。子类中,父类的方法被
override了,屏蔽了。
2.3 “==”是java的operator,判断int double数据是否相等;equlas是类的方法,
比较对象的内容是否相同。(不很确定)
2.4 想到递归比较两个树的根节点,和其左右子节点。
public boolean compareTree(TreeNode A, TreeNode B)
{
if (A.data!=... 阅读全帖 |
|
z****e 发帖数: 54598 | 44 google了一下,也不是太难
1.没有要求实现方法的interface统一叫做maker interface,本意是用这种方式告诉执
行的系统以关联一些原数据,比如一般情况下,大多数类是不会serializable,也就是
在不同虚拟机之间传递,会导致问题,所以要想让这个类在不同虚拟机之类传输正确,
就需要你去implements serializable这个接口,但是这个接口只是一个声明,不强制
要求你做任何事,系统看到这个interface之后,就会执行相关的操作,类似的还有
cloneable等等
2.java.util.concurrent
就是对于很多并发控制的优化
比如hashtable和hashmap
hashmap不是synchronized
但是hashtable是
所以就造成了hashtable的效率低下
所以后来的趋势就是用hashmap来替换掉hashtable
但是呢,这样做又有些不太安全
所以有必要的话,还是用concurrenthashmap
但是concurrenthashmap并不是synchronized的
或者说它synchronized的层次相... 阅读全帖 |
|
b***m 发帖数: 5987 | 45
我就抛砖引玉瞎说两句吧。首先声明我不是什么大牛,也不是正经科班毕业,只不过在
实践中自学了一些东西而已。
碰到这种题,我一般首先假设各种条件和情况,如果跟考官心里想的情况有差别,他会
指出的。具体的条件和情况是什么其实不重要,也不是考题的本质,合理就可以了。假
设的东西先从简单的开始,然后总结出大体需要的数据,以及如何对数据进行抽象,有
哪些可能的容器(class),有哪些可能的接口(interface)。在此基础上,开始自顶
向下地写大概的class框架,以及其中的核心数据结构和成员,再根据数据罗列接口的
名字,最后再丰富和完善接口的参数。在写这些具体的class和interface时,尽量考虑
以数据结构为驱动的导向思想,也就是说,在情况和条件变化的时候,无需对class和
interface做任何修改。
不知道大家一般都怎么做这类题? |
|
d**********x 发帖数: 4083 | 46 1.
Piece is a general interface, which can be implemented as concrete types,
interface may include possible moves given the settings on board (arguable);
getter for name; getter for display configuration (arguable); color...
Board will store and manage positions of all Pieces. Sierialization may be
required since users could save and resume games. Board provides methods to
move, change, remove, add (for undo) pieces by name/reference/position/
enumeration.
Use patterns like builder pattern to ge... 阅读全帖 |
|
U*****0 发帖数: 25 | 47 If interested, please send message to mitbbs account. If you are a good fit,
I can forward your Resume to hiring manager.
RESPONSIBILITIES
You will be responsible for the electrical architecture and design of
sophisticated respiratory care medical equipment. Your design work will
include embedded systems, CPU boards, FPGA and PLD VHDL coding, USB,
Ethernet, LVDS & LCD Drivers, interfacing to DACs, ADCs, and PWM motor
drives, closed loop control systems, EMC strategies, etc. You will
participat... 阅读全帖 |
|
m********o 发帖数: 796 | 48 【 以下文字转载自 EE 讨论区 】
发信人: momoxinduo (馍馍), 信区: EE
标 题: 求大boston地区的EE system/application engineer内推
发信站: BBS 未名空间站 (Tue Aug 27 16:10:55 2013, 美东)
楼主背景:
PKU EE MS + BS(embedded system)
USA MS,目前phd,已quit,老板愿意签CPT
主要的project experience:
1:System Design for ARM9 Processor
(1) Minimum system design including on-board RAM and Flash interface, audio
peripheral circuit design using I2S control; schematic and 8-layer PCB
layout; hardware system integration and debug
(2) Linux kernel transplantation; audio... 阅读全帖 |
|
g****3 发帖数: 142 | 49 Hi, I am seeking a quality engineer to join Cameron Corporation located at
Houston TX.
This is a quick move/hire. H1b is not an issue. Interview process starts in
two three weeks.
If on board, you will be my direct report.
Please submit your resume to g****[email protected].
Job Description:
2) Creating and managing customer required ITPs (Inspection and Testing Plan
) for projects and products.
2) Re-writing most of facility procedures and training due to major changes
in API Q1 standard, 9th Edition... 阅读全帖 |
|
e********3 发帖数: 18578 | 50 我抛砖一下。
你没有提到Interface,这个在具体实现中也是很重要的。 C++可以用Multiple
Inheritance,可能不需要用Interface也可以。
具体实现的时候还可以考虑Observer Pattern, Iterator Pattern, Builder Pattern,
Decorator Pattern这些。
OOP设计还要遵循SOLID原则:
Single responsibility principle
Open/Closed principle (Open for extension and closed for modification, aka,
inheritance and encapsulation)
Liskov substitution principle (polymorphism)
Interface segregation principle (more simple stuff is better than less
complicated stuff)
Dependency injection principle (high ... 阅读全帖 |
|