|
spongeh posted:http://ashkenas.com/literate-coffeescript/ has this guy just re-invented comment blocks? idgi
|
# ? Mar 1, 2013 05:28 |
|
|
# ? Jun 11, 2024 07:34 |
|
spongeh posted:http://ashkenas.com/literate-coffeescript/ a) if you can't think of a single loving funny thing to say about a link don't post it b) who cares, literate programming is fine, it's one of the reasons org-mode in emacs is so loving awesome
|
# ? Mar 1, 2013 05:29 |
|
Jonny 290 posted:i dont totally get why the overloading thing is such a thing i guess it's used for implementing smart pointers in c++? but mostly i care because a bunch of poo poo like C++ code:
C++ code:
|
# ? Mar 1, 2013 05:47 |
|
That thing from 2 or 3 pages ago posted:See, Microsoft very intentionally (and very successfully) created .NET to be as different as possible from everything else out there yes nothing like "a better java" at all wondering if this guy's worries have been driven by employees that are unable to learn new tools
|
# ? Mar 1, 2013 05:53 |
|
as someone who proudly shuns interaction with microsoft technologists, allow me to point out
|
# ? Mar 1, 2013 05:55 |
|
horse mans posted:b) who cares, literate programming is fine, it's one of the reasons org-mode in emacs is so loving awesome i don't believe there's any software written using literate programming besides tex
|
# ? Mar 1, 2013 06:20 |
|
Otto Skorzeny posted:i don't believe there's any software written using literate programming besides tex thats because the idea of literate programming is stupid
|
# ? Mar 1, 2013 07:17 |
|
rotor posted:"augh typing is so hard I hate it!. I'm not writing a novel here!" - why people love operator overloading guy steele advocated for the addition of operator overloading in java in the late 90s, as well as datatypes that would act like primitives. the question is how much should one be able to grow a language in a seamless way.
|
# ? Mar 1, 2013 07:42 |
|
the question is who the gently caress cares, just write an add() method and be done with it
|
# ? Mar 1, 2013 07:46 |
|
seriously a lot of god drat awful opinions about teaching programming here's the loving thing. it's like you want to teach people how to write by forcing them to learn how to typeset in hotmetal instead of giving them crayons. it's like you think the only way to learn how to be a programmer is to teach them everything you know now upfront. education driven by nostalgia, hindsight and regret. you are bad people. for fucks sake, I know you all hate your jobs but you don't have to take it out on people who want to make the computer do fun and stupid things, rather than learn about intel registers, segfaults and backwards poo poo. if they can't do something fun and immediate with the code, they're not learning, they're suffering. you prescriptive bastards can just gently caress right off. i'm sorry that the people after their first week won't be able to write enterprise middleware, or device drivers, but, christ. ugh I leave this thread and look at it.
|
# ? Mar 1, 2013 08:11 |
|
thats wehy i said basic just let them do GOB'S PROGRAM Y/N and then expand on that
|
# ? Mar 1, 2013 08:13 |
|
tef posted:
it can be both.
|
# ? Mar 1, 2013 08:14 |
|
if someone wants to make the computer do fun and stupid things, that's great, there are a wide variety of things they can do here in these our modern times. but we're talking (or at least I was talking) about cs101 courses. if we're talking on teaching 8th graders, then you're right.
|
# ? Mar 1, 2013 08:17 |
tef posted:for fucks sake, I know you all hate your jobs but you don't have to take it out on people who want to make the computer do fun and stupid things, rather than learn about intel registers, segfaults and backwards poo poo. the problem with this in the US is that this idea works great in theory until people have to learn stuff that matters, simply can't cut it, and are already out thousands and thousands of dollars because the courses they were in dicked around with python scripts instead of using a "real" language going to medical school isn't fun, but people do it because it's loving hard/pays well/is important for the future, so why shouldn't the same be expected of CS students? college isn't about doing fun poo poo, it's about learning poo poo with the intention to utilize it to earn a good salary rotor posted:if someone wants to make the computer do fun and stupid things, that's great, there are a wide variety of things they can do here in these our modern times. pretty much this. if you want people to be able to do poo poo that's strictly python or web dev or whatever, there should be more emphasis on the differences between software engineering and computer science degrees, because it's a large part of why people come out of school and can't do poo poo because CS programs do not teach you how to write applications.
|
|
# ? Mar 1, 2013 08:23 |
|
Mr Dog posted:teaching things from first principles isn't a controversial idea lol right class, we're going to teach you mathematics, but first, before we add 2+2 we have to learn category theory. Mr Dog posted:This is a very powerful thing because it makes the standard library look like convenient shorthand instead of black magic. yep, in the same way most programmers need to understand how intel chips take your assembly and then do crazy poo poo behind the scenes. who gives a gently caress if someone manages to write a program without totally sperging about the details. abstraction is just a series of convenient lies. the thing about black magic, is that's how people loving learn. you approximate, you fudge, you use words without knowing the full context, etymology or derivation, and we get along just fine. you can't demand that people learn how to program from the flipflops up, even if your crazy sperg brain can only see that way seriously, the only thing I want to beat into you guys, that how you learn is not how everyone else should learn, what you think is important is not what they think is important. get over it, other people have different problems they want to solve. really all you show when you prescribe a package of suffering for learning is project your regret. you say 'we should teach this way' and mean 'i wish I learned in this order'.
|
# ? Mar 1, 2013 08:27 |
|
rotor posted:if someone wants to make the computer do fun and stupid things, that's great, there are a wide variety of things they can do here in these our modern times. yeah when I hear "how do we teach programming" I mean, to actual people rather than "what should a computer science course start with"
|
# ? Mar 1, 2013 08:29 |
|
tef posted:seriously, the only thing I want to beat into you guys, that how you learn is not how everyone else should learn, what you think is important is not what they think is important. get over it, other people have different problems they want to solve. yeah everyone's a unique snowflake but you know what? im not writing a new lesson plan for every fuckstick who walks in the door. you want someone to teach you programming, get in loving line. otherwise go off and do whatever you wanna do, poo poo's not that hard.
|
# ? Mar 1, 2013 08:30 |
|
tef posted:yeah when I hear "how do we teach programming" I mean, to actual people define actual person
|
# ? Mar 1, 2013 08:31 |
|
my gf was required to take 1 programming course for her engineering degree, and it was C I'm sure learning how to tokenize c strings will be useful some day? what a loving waste of time
|
# ? Mar 1, 2013 08:33 |
|
gucci void main posted:going to medical school isn't fun, but people do it because it's loving hard/pays well/is important for the future, so why shouldn't the same be expected of CS students? college isn't about doing fun poo poo, it's about learning poo poo with the intention to utilize it to earn a good salary or: no-one should learn first aid because real medicine is hard. maybe am I the only who thinks that maybe learning to code even a little might help people use computers effectively, even if it's just simple automation or scripting. rather than just teaching monks how to illuminate scripts
|
# ? Mar 1, 2013 08:34 |
|
Star War Sex Parrot posted:my gf was required to take 1 programming course for her engineering degree, and it was C i had the same experience with differential equations
|
# ? Mar 1, 2013 08:34 |
|
rotor posted:define actual person anyone who doesn't post in this thread
|
# ? Mar 1, 2013 08:34 |
|
but you dont hear me bitching about it online by proxy
|
# ? Mar 1, 2013 08:34 |
|
tef posted:anyone who doesn't post in this thread i texted u btw
|
# ? Mar 1, 2013 08:35 |
|
rotor posted:yeah everyone's a unique snowflake but you know what? im not writing a new lesson plan for every fuckstick who walks in the door. you want someone to teach you programming, get in loving line. otherwise go off and do whatever you wanna do, poo poo's not that hard. it is not that everyone is a snowflake, but frankly, people in this thread are beyond outliers. it is not to the extent of customize the course around each individual, but: there is a world outside of your head, and take other people into account.
|
# ? Mar 1, 2013 08:36 |
|
rotor posted:i had the same experience with differential equations me too
|
# ? Mar 1, 2013 08:36 |
|
rotor posted:i texted u btw i got it i will bug you about lunching next week tomorrow i'm going to the internet archive for lunch
|
# ? Mar 1, 2013 08:41 |
|
oh hey cool i can start reading this thread again
|
# ? Mar 1, 2013 08:44 |
|
gently caress coffeescript, moonscript
|
# ? Mar 1, 2013 08:46 |
|
Toady posted:gently caress coffeescript
|
# ? Mar 1, 2013 08:50 |
|
aside: http://stackoverflow.com/questions/10057671/how-foreach-actually-works/
|
# ? Mar 1, 2013 09:00 |
|
Star War Sex Parrot posted:my gf was required to take 1 programming course for her engineering degree, and it was C the c course is for engineering majors here as well, but the fact that they are engineering majors is enough of a reason to avoid focusing on strings, the very first three labs they do are:
making the labs even artificially related to their field of study is a really good start in inspiring students a bit. c has worked out better than i expected, though extremely hard to diagnose errors, like memory corruption, is still too big an issue for it to be quite worth it.
|
# ? Mar 1, 2013 09:26 |
|
is there a big because this merits it and for teaching people with no math background some amount of programming i'd pick logo because it lets you make pretty things quickly
|
# ? Mar 1, 2013 10:44 |
|
spongeh posted:http://ashkenas.com/literate-coffeescript/ combine this with BDD and specs for frontend apps will look real neato
|
# ? Mar 1, 2013 11:25 |
|
It doesn't really matter how you teach programming because nobody cares whether the bottom 30% or the bottom 60% of the class drops the course. They'd all be bad programmers anyway.
|
# ? Mar 1, 2013 11:33 |
|
shrughes posted:It doesn't really matter how you teach programming because nobody cares whether the bottom 30% or the bottom 60% of the class drops the course. They'd all be bad programmers anyway. Because the people who come out of a programming course came in to it already knowing how to program.
|
# ? Mar 1, 2013 12:13 |
|
That's not really true.
|
# ? Mar 1, 2013 12:16 |
|
tef posted:right class, we're going to teach you mathematics, but first, before we add 2+2 we have to learn category theory. Category theory isn't first principles. Some mathematicians are retro fitting it as a foundation, but basic mathematics is taught from a foundation of peano arithmetic and universal algebra. quote:seriously, the only thing I want to beat into you guys, that how you learn is not how everyone else should learn, what you think is important is not what they think is important. get over it, other people have different problems they want to solve. Yeah, and what I'd like you to learn is that chucking something with a non-trivial grammar at someone will lead them to make a lot of mistakes that can be very hard to recover from. quote:really all you show when you prescribe a package of suffering for learning is project your regret. you say 'we should teach this way' and mean 'i wish I learned in this order'. Another word for suffering is challenging. Students who are not challenged will not learn, this is like lesson one in teacher training.
|
# ? Mar 1, 2013 12:17 |
|
shrughes posted:That's not really true. I'd like to believe it but I've never seen a counter-example.
|
# ? Mar 1, 2013 12:18 |
|
|
# ? Jun 11, 2024 07:34 |
|
Zombywuf posted:I'd like to believe it but I've never seen a counter-example. my sister had never done any programming before college and is in her third year of a math/CS major
|
# ? Mar 1, 2013 13:54 |