离散数学对写程式是否十分重要?
时间:2013-12-14
来源:互联网
其实听好多人讲离散数学系写程式既基础,学唔好离散数学好难写到好既程式
请问此话是否当真?
讲真,我真系唔系几钟意计数,好多人都觉得离散数学好易,但对我黎讲未必系。
我唔明Mathematical Induction, Pigeonhole Principle 哩D 数对PROGRAMMING有咩用?
究竟系离散数学纯训练你既LOGIC定真系会用得著系PROGRAMMING呢?
但我听人讲boolean algebra, graph theory, set theory 好有用
有冇师兄可以讲下哩个TOPIC?
作者: lamjohnny2009 发布时间: 2013-12-14
作者: stevie1 发布时间: 2013-12-15
你竟然咁都问得出,代表:
1. 你读呢科前,完全无做过资料搜集。
2. 逻辑思维唔系太理想,要努力改进。
3. 懒。唔识得用 Google 去搵答案。
另一方面,亦代表宜家收生标准下降。数唔好,几乎一定入唔到电脑科,何况系软件工程?话明「工程」,数点可以唔好?
你睇完楼上条连结后,要「的」起心肝学数,如果唔系,包你读得好辛苦。
走精面嘅话,选科时,避开要好多数理基础果尐,如编译理论、算法分析(可能必修),拣多尐吹水嘢,咁就易过骨尐。
祝你好运!
作者: fitcat07 发布时间: 2013-12-15
唔知道读离散数学重唔重要?唔重要就唔会编喺课程入面啦!
你竟然咁都问得出,代表:
1. 你读呢科前,完全无做过资料搜集。
2. 逻辑思维唔系太理想,要努力改进。
3. 懒。唔识得用 Google 去搵答案。
另 ...
但我要澄清我读之前都知道要读数,都考虑左好耐先决定读软件工程,
我都知道如果数学根底唔太好既话会读得好辛苦
但系我钟意写程式,所以先决定硬著头皮选黎读。
GOOGLE我都SEARCH过,二楼果条LINK都一早睇过
网上有好多人走两边,有人反对也有人赞成数学对写程式既重要性
所以先POST系到睇下前辈们既意见确定一下。
我谂我都唔会走精面了,应该话我冇得走精面
资料结构+演算法系我果科基本上必修,而且我都冇得REG科。
我曾经听闻有人讲而加咁多API可以用,其实可以唔洗点用数。
但我又听人讲如果只系砌积木咁砌个程式出黎,好容易比人取代,唔洗我写。
ANYWAY, 睇黎我都要的起心肝读好D数佢,可能系我教数读得唔系几好,先走左上黎系到发牢骚。
多谢师兄解答。
作者: lamjohnny2009 发布时间: 2013-12-15
and for casual business application, no, you don't really need adv maths skills. Unless, you are tackling some performance issue, or need complex/complicated structure, whatever.
further study is no harm, usually, in the business world.
作者: stevie1 发布时间: 2013-12-15
你话你喜欢写程式,咁点解唔选修电脑科学,而拣软件工程?
后者著重系统分析、设立模型、开发流程、系统弹性/安全/维护、总体成本控制(包括人手、时间、金钱)等。呢尐其实系口水嘢,斋吹都可以,唔驶数好。但因为软件工程必须识编程,所以学习资料结构同算法分析系走唔甩嘅。亦因为要学算法分析,离散数学就一定要有番咁上下底子。其实,软件工程对数嘅要求,已经唔及电脑科学要求咁高。
如果你真系对编程有兴趣,应该拣前者。不过正如之前所讲,数底要更加好。
其实,留喺香港工作嘅话,除非公司系做金融衍生产品(宜家咁多唔同玩法,如窝轮、牛熊证、ELN,都系精於数学嘅人谂出嚟),多数时间都用唔到数。好多系统都只系简单输入数据、查询、结算、出报告之类。可以讲,非常闷。但如果你有机出国工作,咁就完全唔同讲法。就好似呢度有位 code4food 兄,数底非常好,就入咗美国一间超级大公司(股价最近突破咗 $1,000 美元!以上系我嘅估计,佢本人无讲过,错咗唔好见怪。)
作者: fitcat07 发布时间: 2013-12-15
老实讲我写code既时侯只系有少部份需要计数
好多algorithm已经有好多伟大既人帮我地做好,
你只要有个数学底, 知道大约做紧乜, 知道点用就可以,
因为我无料去写另一个algorithm去取代现有既

但系我觉得discrete maths对写code又几用
有用既地方系解题的时侯都几似
举个例子: graph theory,
1 - 2 - 3
| |
| 5
4 - - - |
正常1去5都会拣4去行,
但系到写code, 行4会唔会有咩restrict? 如果有expection, 咪又要由1开始?
咁会唔会将个task砍开2,3(conditional), 就算条路长d, 但系就易handle d?
条条大路通罗马嘛
其实你当discrete maths系logic-puzzle去玩,
咁就会有兴趣好多
作者: KeithKwong 发布时间: 2013-12-15

作者: alee001 发布时间: 2013-12-15
But unless u are doing image processing, which requires many matrices, set theory, otherwise a lot of programs only requires you to have a logic background (if-then-else, exclusive OR, NOR etc).
There is a book abt physics for programming. I haven't looked at the book yet, but should be very interesting. Don't know if it tells anything abt the object's response under free fall, rebound, projectile movement and explode (like the angry bird).
作者: tomtimemini 发布时间: 2013-12-15
indeed, if you are smart enough, you don't really need to take discrete maths. A-Level maths (i know, no more/not the same a-level now ...) is sufficient. (hmm... a-level maths may somehow even harder ...
Sigh! I hope I can overcome it.
作者: b4321 发布时间: 2013-12-15
既然你回覆(呢度好多人问完就闪),我不妨再讲多尐。
你话你喜欢写程式,咁点解唔选修电脑科学,而拣软件工程?
后者著重系统分析、设立模型、开发流程、系统弹性/安全/维护、总体成本控制(包括人手、时间、金钱 ...
Software Engineering is the only choice in my institute when it comes to programming.
Additionally, Computer Science requires a much stronger mathematics background as you mentioned above and it puts me off.
I reckon that I prefer SE rather than CS. CS tends to be a scientific field that mainly focus on exploring the further knowledge; SE tends to be an engineering field that mainly focus on solving problem. So I consider programming as a tool to achieve something.
I agree maths can be helpful, I'm not excel in it though.
作者: lamjohnny2009 发布时间: 2013-12-15
首先我都只系一介programmer, 唔系mathematician
老实讲我写code既时侯只系有少部份需要计数
好多algorithm已经有好多伟大既人帮我地做好,
你只要有个数学底, 知道大约做紧乜, 知道点用就可以,
因为我无料去写 ...
咁我谂我要借一D书,又有离散数又有电脑相关o既应用,或许增加到我o既兴趣。
作者: lamjohnny2009 发布时间: 2013-12-15
Agree to have strong math background.
But unless u are doing image processing, which requires many matrices, set theory, otherwise a lot of programs only requires you to have a logic background (i ...
Is it about the calculus maths?
作者: lamjohnny2009 发布时间: 2013-12-15
我自己就唔多识写程式,不过为咗计算流程而自学VBA,不竟程式只是工具,重要是模型逻辑同原理,所以数学基础多来自睇书。

作者: lamjohnny2009 发布时间: 2013-12-15
A programmer is just like a factory worker. The team leader or the analyst writes the requirements, then the programmer write the codes, test it, and submit to the team for integration. Sounds like a factory worker to me.
Programmer's job in US is losing, and many of the big companies have contractors in India for years, and the Indian are very good at math and programming (far better than us, and cheaper salary, and better English for communication than us). And I know a lot of programming job in HK is contracted out in China. The US companies concentrate on system design, marketing and supporting than programming. So, a fresh graduate programmer needs to climb up to the system analyst or team leader level, otherwise he will loss job.
The "Angry Bird" is a very successful app. But I view it as a marketing company than a technical company. The technical part (programming) should not take them a lot of time nor resources. But you see how the company markets the apps (sent some angry bird toys in a spaceship and played by a astronaut), then build the amusement parks, sell the souvenirs, making movies etc. They are non technical things but give them huge of revenue.
[ 本帖最后由 b4321 於 2013-11-12 10:48 AM 编辑 ]
作者: lamjohnny2009 发布时间: 2013-12-15
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28