Programs Declarative programming: useful for a physics/EEng double major?

AI Thread Summary
The discussion centers around the potential benefits of taking the course "159.202 Declarative Programming" for a first-year university student pursuing a degree in Physics/Electrical Engineering. The course covers basic functional and logic programming, focusing on languages like Haskell and Prolog. Participants suggest that while the programming course may not directly relate to immediate applications in physics or electrical engineering, it encourages problem-solving and critical thinking, which are valuable skills in any technical field. The chemistry course, in contrast, is viewed as less intellectually stimulating and more focused on familiar material. Overall, the consensus leans towards recommending the programming course for its potential to enhance computational fluency and broaden the student's educational experience, with a caution that it might inspire a shift towards a computer science major.
rabbitweed
Messages
38
Reaction score
0
Hi everyone, been reading stuff here for a while but first time poster:)

I am first year at university going for a Physics/Electrical Engineering. Looking at my options this year and I came across this paper.

159.202 Declarative Programming (15 credits)

Basic functional programming: functions, pattern matching, types, recursion, list processing. Basic logic programming: clauses, recursion, structures, arithmetic, list processing. Programming language concepts. Programming paradigms and language selection.

http://www.massey.ac.nz/massey/study/programme-course-and-paper-search/paper.cfm?paper_code=159202&paper_offering_id=1147238&study_year=2009

Would this be useful for solving problems in undergrad physics/EE? I would be taking this course over "Chemistry and the Material World".

The two textbooks are for Haskell and Prolog, so I am assuming those are the languages taught.

PS: apologies if this is the wrong forum. I'm a noob after all:P
 
Last edited by a moderator:
Physics news on Phys.org
Do I think they would be useful to your education? Probably so. It will be a problem-solving course, most likely, and as such will make you think about problems in new ways. As far as how useful it will be down the road... eh? There are probably more useful ways of spending your time.

The chemistry course will most likely be the opposite... you probably already know much of what it will teach you, and as such won't be the most mind-expanding course you could take. It won't make you think "outside the box". On the other hand, it probably deals with material that you will have much more occasion to use directly.

I'd take the programming class, since an EE/CE will probably work with an CS/SE or two in their career, and exposure to different programming paradigms will increase your computational fluency.
 
I agree with AUMathTutor. Haskell and prolog are two very interesting computer languages, but both are very different (i) from each other and (ii) from Java, C++, Fortran and the usual bunch of suspects. You may find it difficult to link what you learn immediately with physics or EE, but it looks like a red hot computer science course. Do it! Expand your mind... Warning -- if it's as good as it sounds then you might want to change your major from physics to CS, so it could be very useful down the line!
 
I’ve been looking through the curricula of several European theoretical/mathematical physics MSc programs (ETH, Oxford, Cambridge, LMU, ENS Paris, etc), and I’m struck by how little emphasis they place on advanced fundamental courses. Nearly everything seems to be research-adjacent: string theory, quantum field theory, quantum optics, cosmology, soft matter physics, black hole radiation, etc. What I don’t see are the kinds of “second-pass fundamentals” I was hoping for, things like...
TL;DR Summary: I want to do a PhD in applied math but I hate group theory, is this a big problem? Hello, I am a second-year math and physics double major with a minor in data science. I just finished group theory (today actually), and it was my least favorite class in all of university so far. It doesn't interest me, and I am also very bad at it compared to other math courses I have done. The other courses I have done are calculus I-III, ODEs, Linear Algebra, and Prob/Stats. Is it a...

Similar threads

Replies
6
Views
2K
Replies
3
Views
2K
Replies
24
Views
4K
Replies
1
Views
1K
Replies
3
Views
1K
Replies
2
Views
3K
Replies
6
Views
7K
Back
Top