几何尺寸与公差论坛

 找回密码
 注册
查看: 951|回复: 0

c# or vb

[复制链接]
发表于 2009-4-13 09:25:54 | 显示全部楼层 |阅读模式
c# or vb
i'd like to have your opinion here
c# or vb: which one shoud i go for programing solidworks api
i am in the beginning phrase of .net learning curve and just wondering which language is used most for programmers here
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
edited: 09/14/2008 at 11:05 am by chris ch
chris,
i use vb because i learned with the vba editor in solidworks. the transition to vb.net for me was easy and i have not even looked at another language. my opinion is biased. here is a link to a comparison of vb and c#. maybe this will help with your decision a bit.
they both compile into the same lower level computer language and are both very similar in syntax and function.
the key differences are that vb reads more like a spoken language (such as if i am not here then do this), which makes it easier for non-computer literal people to pick it up. c# is more of a computer programming language and mimicks lower level language syntax using curly braces and lower casing for keywords etc...
on the coding side of things, vb hides out some key elements of programming such as explicit casting and interface creation so it is all done behind the scenes without the user even being aware. while this makes it easier for the user they are less aware of what is actually going on with their code and that is never a good thing for a programmer; you often find once a vb program gets an error the programmer is unable to understand the reasoning behind it because they do not understand what vb has done in the background for them.
my personal choice would be c# between the two but i use them both and many others and they all serve their purpose. i wouldn't worry too much about which to use so long as you can understand it and do what you require. down the line you will find once you learn one language the rest flow much easier.
thx, luke
your info. is very helpful
chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
by the way, luke. the manager has ordered your book about 5 or 6 wks ago and we havent received it yet - why it takes too long?
usually, how long would it take to send a book to us (california)
thx, chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
edited: 09/15/2008 at 11:47 am by chris ch
chris, it takes 2-3 days usually. email me your date of order and zip code and i will track it for you
sorry, luke. it's my bad
just double check and the request is still on the vp desk -
hope it'd get out for the next couple days
chris
solidworks 2007 (office pro.) sp5.0
testing solidworks 2009 (pro) sp0.0
dell precision t3400
2 cpu (8500) 3.16 ghz, 3.25 gb of ram
window xp pro sp2
nvidia fx 570 6.14.11.6262
quick
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-24 03:09 , Processed in 0.037054 second(s), 20 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表