MacInsiders Logo

Similar Threads
Thread Thread Starter Forum Replies Last Post
Engineering 1D04 ericvan1 1st Year Course Reviews 14 06-12-2015 10:56 PM
any different ways to take 1D04? twinklingme Academics 10 06-04-2010 08:17 PM
1d04 lab endearing66 Academics 2 01-04-2010 01:02 PM
Engineering 1D04 IDE TheAxtmann First-Year / Prospective Student Questions 5 09-17-2009 02:39 PM
First Year Engineering: 1P03, 1C03 and 1D04. ruffy General Discussion 7 07-08-2009 06:00 PM

Need some help with Python in Engineering 1D04?

 
Old 11-06-2010 at 11:58 AM   #16
ShouldBeStudying
Elite Member
Join Date: Sep 2009
Posts: 629

Thanked: 29 Times
Liked: 357 Times




import antigravity
Old 11-06-2010 at 12:34 PM   #17
Ownaginatios
Trolling ain't easy
Join Date: Jul 2008
Posts: 3,190

Thanked: 499 Times
Liked: 1,642 Times




Quote:
Originally Posted by aaront View Post
Yuck. Java is not the be all and end all.

I think they chose Python because:
  1. It's free to obtain and a small download
  2. It's similar to MATLAB, which many will use in the future
  3. It's easy to understand and pseudocode-like
Python's object-orientated paradigm is pretty crap compared to Java's.
__________________
Dillon Dixon
Alumni
Software Engineering and Embedded Systems
Old 11-06-2010 at 01:21 PM   #18
aaront
CSD HYPE Web Developer
Join Date: Sep 2007
Posts: 330

Thanked: 29 Times
Liked: 78 Times




Quote:
Originally Posted by Ownaginatios View Post
Python's object-orientated paradigm is pretty crap compared to Java's.
it's actually not too shabby.

Code:
class Derp(object): __private_variable = "test" def __init__(self, param): self.param = param def print_param(self): print self.param def __private_method(self): print "private %s" % self.param d = Derp("hello") d.print_param() >> "hello" d.__private_method() >> AttributeError: 'Derp' instance has no attribute '__private_method'
__________________
Software Engineering Class of '11
Old 11-06-2010 at 01:36 PM   #19
Leeoku
Moderator
MacInsiders Staff
Join Date: Jul 2010
Posts: 2,998

Thanked: 276 Times
Liked: 521 Times




i would definetly be using this thread next semester if its still up
Old 11-17-2010 at 03:56 PM   #20
aaront
CSD HYPE Web Developer
Join Date: Sep 2007
Posts: 330

Thanked: 29 Times
Liked: 78 Times




I've heard you 1D04'rs have had your midterms.

Once again, any questions? I'm incredibly bored at the moment.
__________________
Software Engineering Class of '11



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



McMaster University News and Information, Student-run Community, with topics ranging from Student Life, Advice, News, Events, and General Help.
Notice: The views and opinions expressed in this page are strictly those of the student(s) who authored the content. The contents of this page have not been reviewed or approved by McMaster University or the MSU (McMaster Students Union). Being a student-run community, all articles and discussion posts on MacInsiders are unofficial and it is therefore always recommended that you visit the official McMaster website for the most accurate up-to-date information.

Copyright © MacInsiders.com All Rights Reserved. No content can be re-used or re-published without permission. MacInsiders is a service of Fullerton Media Inc. | Created by Chad
Originally Powered by vBulletin®, Copyright © 2019 MH Sub I, LLC dba vBulletin. All rights reserved. | Privacy | Terms