|
Shaggar posted:programing languages aren't math. they're for people. tbc alt spotted
|
# ? Oct 24, 2014 19:10 |
|
|
# ? Jun 11, 2024 01:23 |
|
Shaggar posted:ive never actually found this to be true and irl most of those container specific features are actually just other JEE components that you could include as a application dependency instead of a server dependency. aren't there massive extensions to jsp syntax that are container-specific? it has been a long time since i did any of this, maybe they've all been standardized
|
# ? Oct 24, 2014 19:16 |
|
tef posted:petulant elitism peddled by the smug new thread title found
|
# ? Oct 24, 2014 19:16 |
|
rjmccall posted:aren't there massive extensions to jsp syntax that are container-specific? it has been a long time since i did any of this, maybe they've all been standardized jsp was designed to be extended and lots of extensions were built for it. what you're probably seeing are extension sets that come with the default libraries in a container. there is nothing that prevents you from including those same libraries in your war and deploying to to another container. also you're right that a lot of extensions get absorbed into JEE via the JCR over time. but for real don't use jsp
|
# ? Oct 24, 2014 19:20 |
|
tef posted:this whole "people who use X language aren't as capable of code thought because X doesn't have <feature>" is petulant elitism peddled by the smug. it's not elitist to say that people are largely limited by their tools. the ratio of tool creators to tool users is always gonna be low
|
# ? Oct 24, 2014 19:29 |
|
hey i didn't think to ask the PL thread: what's some good sites/books/whatever to recommend to, say, a high school student who thinks they might be interested in programming so far i've got a couple python and arduino tutorials because those seem like the most fun and easy things to gently caress around with, along with some sorting algorithm visualizers just to introduce the concept to em
|
# ? Oct 24, 2014 19:35 |
|
tell him to go play sports and hang out w/ girls instead of being a nerd.
|
# ? Oct 24, 2014 19:36 |
|
Shaggar posted:tell him to go play sports and hang out w/ girls instead of being a nerd.
|
# ? Oct 24, 2014 19:38 |
|
quote:the ratio of tool creators to tool users is always gonna be low programmers are people who write tools, literally/figuratively creating an entity to deal with a specific problem. we create so many that we throw them away almost instantly after using them. hepatizon posted:it's not elitist to say that people are largely limited by their tools. we are talking about Sapir-Whorf applying to programmers, and programming languages, that their language shapes their mental model of the world, in such a way to constrain or limit their model. in the strong version at least, which you hint at by "limited" and you say, po faced, that these tools are limited, despite the ability for pretty much all of them to simulate each other. you say it's limiting despite compilers being bootstrapped. despite interpreters. despite meta programming. despite all of the changes we see in mainstream languages as compared to decades ago. if this were true we'd never have gotten this far out of the tarpit.
|
# ? Oct 24, 2014 19:39 |
|
if you use p-langs you have a distorted view of what good tools look like.
|
# ? Oct 24, 2014 19:40 |
|
why would a high school student have the slightest interest in a book tell them to hit F12 in a web browser and go nuts
|
# ? Oct 24, 2014 19:40 |
|
Werthog 95 posted:hey i didn't think to ask the PL thread: what's some good sites/books/whatever to recommend to, say, a high school student who thinks they might be interested in programming i hate to atwood and link to something i've written but i hate repeating myself, so here i the long version http://programmingisterrible.com/post/40453884799/what-language-should-i-learn-first Werthog 95 posted:so far i've got a couple python and arduino tutorials because those seem like the most fun and easy things to gently caress around with, along with some sorting algorithm visualizers just to introduce the concept to em the short version is: things they want the computer to do, and maybe you can help them narrow it down a bit. i found people liked being able to script or control a tool or game they enjoyed (minecraft mods are a gateway to programming), but really they're only going to learn something if they have some goal to achieve from it y your job is to break down their goal into smaller steps, find out what they want to do, get them something they can do in an aftrnoon or so, and then see where they go off too
|
# ? Oct 24, 2014 19:49 |
|
way to recommend a bunch of p-langs so they start off down the wrong path.
|
# ? Oct 24, 2014 19:51 |
|
shaggar, you are my bus-friend, but not my programming-friend.tef posted:i hate to atwood and link to something i've written but i hate repeating myself, so here i the long version http://programmingisterrible.com/post/40453884799/what-language-should-i-learn-first well at this point i'm just adding to a list of general intro stuff to look at. i went in and gave a little presentation on what my college degree was about but didn't have any time to actually work with 'em on anything, but i gave them my email address and some links to tutorials. if any of them follow up with me i'll definitely try to find something more personal
|
# ? Oct 24, 2014 19:56 |
|
give them unity and some youtube tutroial links
|
# ? Oct 24, 2014 19:56 |
|
tef posted:thanks paul graham. sry the idea that the language u code in affects how u approach problems is totally real not to the extent of the actual Sapir whorf but frankly someone programming in haskell will choose a different approach than a c programmer not a bad thing but if a language and runtime make something difficult to express then people will avoid it the smugness poo poo is totes pg I mean I'm a loving ivory tower haskell but I get things done in c#
|
# ? Oct 24, 2014 19:57 |
|
Shaggar posted:way to recommend a bunch of p-langs so they start off down the wrong path. i actually recommend scratch a lot to get something done in an afternoon the tools you recommend need a lot of up front investment, which makes them bad introductions to programming, and cause "public static void main" disease.
|
# ? Oct 24, 2014 19:59 |
|
hmm. yeah i definitely need something a little more "fun" than the logo turtles and text adventures in these python tutorials. maybe something with LÖVE. do i want to expose children to lua though
|
# ? Oct 24, 2014 19:59 |
|
tef posted:i actually recommend scratch a lot to get something done in an afternoon use groovy in eclipse and then graduate them into proper java.
|
# ? Oct 24, 2014 20:01 |
|
actually I would start with karel the robot/turtle graphics .
|
# ? Oct 24, 2014 20:02 |
|
http://www.ccs.neu.edu/home/matthias/HtDP2e/ this is an awesome book. it lets you develop a really good conceptual approach while still being able to make cute little programs that display animations and so on from very early on. the response to it is pretty much that once they started teaching it to undergrads, the companies they interned for were like "wtf why are your undergrads better than your grad students"
|
# ? Oct 24, 2014 20:03 |
|
i like tef having a job because he rants moretef posted:programmers are people who write tools, literally/figuratively creating an entity to deal with a specific problem. we create so many that we throw them away almost instantly after using them. is there anything in sapir whorf hypothesis that talks to how i a structure a solution rather than whether i can build the solution? both how i go about solving a problem in the languages and what languages i choose (lol) in the first place.
|
# ? Oct 24, 2014 20:06 |
|
fleshweasel posted:http://www.ccs.neu.edu/home/matthias/HtDP2e/ i'll take a look at this, thx i considered adding SICP to the list. lmao
|
# ? Oct 24, 2014 20:11 |
|
Malcolm XML posted:sry the idea that the language u code in affects how u approach problems is totally real i argue that the community and libraries make this more of a difference, usually more so than the language itself encourages, and what the language encourages doesn't always end up as common or idiomatic practice. quote:not a bad thing but if a language and runtime make something difficult to express then people will avoid it somewhat, although people will avoid anything that involves work, including things that are difficult to understand, difficult to deploy, difficult to maintain. although a lot of people do write code that is optimised towards writing it quote:the smugness poo poo is totes pg I mean I'm a loving ivory tower haskell but I get things done in c# well they're both microsoft languages, and they have a lot of overlap. i mean, java would never get linq, or rx
|
# ? Oct 24, 2014 20:12 |
|
Haskell is a research language maintained by Microsoft for mining ideas for real languages like c#.
|
# ? Oct 24, 2014 20:19 |
|
tef posted:the biggest success was getting it taught in lots of universities, which in my case replaced the c course. it was felt that it made a better teaching language, being documented, no cost, cross platform, with graphical libraries. this created a pool of people who could write it, which in turn powered its adoption by enterprise. people were hugely excited about server-side java before it ended up in schools. sun pushed it hard, ibm pushed it hard, every unix vendor tried to ship a jdk. java was just obviously the Next Big Thing in the 1990s, long before it actually worked well. java 1.0 and 1.1 were basically alpha tests, they were hilariously bad/slow in every way you can imagine as an example: apple migrated its main (only) enterprise product to java in 1997. (it comes to mind easily because it came up in another thread)
|
# ? Oct 24, 2014 20:22 |
|
when java came along it had been many years since anyone had tried to ship a complete language with a huge standard library. and nobody had even tried to do it multi-platform. hype levels were off the charts
|
# ? Oct 24, 2014 20:23 |
|
tef posted:i argue that the community and libraries make this more of a difference, usually more so than the language itself encourages, and what the language encourages doesn't always end up as common or idiomatic practice. ime if there are two ways to do a simple thing, programmers tend to do it either the way that's convenient to write, or the way that's most performant, by whatever little margin community best practices are more the exceptions that proves the rule, they acknowledge that the language guides you to certain ways to do things and note some special cases where they're bad like how 5 == x is objectively the better way to do comparisons in C from a purely technical pov, but there's a reason they call it yoda style the large things you can abstract out and paper over however you want, even java can be pleasant with good libraries, but it's the little things that get you
|
# ? Oct 24, 2014 20:58 |
|
tef posted:i argue that the community and libraries make this more of a difference, usually more so than the language itself encourages, and what the language encourages doesn't always end up as common or idiomatic practice. java got streams = linq
|
# ? Oct 24, 2014 21:56 |
|
suffix posted:like how 5 == x is objectively the better way to do comparisons in C from a purely technical pov, but there's a reason they call it yoda style uh isn't this the compiler's job
|
# ? Oct 25, 2014 00:47 |
|
fleshweasel posted:uh isn't this the compiler's job no, the point of doing it that way is to avoid typos where you accidentally assign rather than compare. in c, an assignment would return a value which could be evaluated as a bool (5 would be true for example). this way the compiler would complain.
|
# ? Oct 25, 2014 01:25 |
|
compilers already complain about that. Turn on warnings as errors
|
# ? Oct 25, 2014 01:28 |
|
Dicky B posted:compilers already complain about that. Turn on warnings as errors What compiler would complain about the statement "x = 5;"? Blotto Skorzany posted:new thread title found is python still, really, the new hipste
|
# ? Oct 25, 2014 01:48 |
|
fleshweasel posted:http://www.ccs.neu.edu/home/matthias/HtDP2e/ wow this book is great so far quote:Later, we shall show you really strange facts about “computer numbers,” and you will then truly appreciate that DrRacket issues such warnings. thanks for this, my new go-to answer to "what book should i read to really learn how to program"
|
# ? Oct 25, 2014 01:49 |
|
PleasingFungus posted:What compiler would complain about the statement "x = 5;"? if you put it in an if statement a bunch will
|
# ? Oct 25, 2014 02:40 |
|
PleasingFungus posted:What compiler would complain about the statement "x = 5;"?
|
# ? Oct 25, 2014 09:28 |
|
Werthog 95 posted:shaggar, you are my bus-friend, but not my programming-friend. take a look at http://www.greenfoot.org/door it's java without "public static void main public static void main public static void main public static void main"
|
# ? Oct 25, 2014 10:31 |
|
Notorious b.s.d. posted:when java came along it had been many years since anyone had tried to ship a complete language with a huge standard library. and nobody had even tried to do it multi-platform. for all its warts, java is a really comprehensive language with massive amounts of documentation and tooling, and that's just when it was launched. Shaggar posted:use groovy in eclipse and then graduate them into proper java. tbh if the person wants to get minecraft modding, this might be an easier way to do it. although groovy is a bit rubbyesque for my taste and ends up in dsl hell
|
# ? Oct 25, 2014 11:07 |
|
a big part is really that sun had excellent engineers and very little business sense. really solid investment into something that predictably got them pretty much nothing
|
# ? Oct 25, 2014 11:12 |
|
|
# ? Jun 11, 2024 01:23 |
|
Itt Shaggar is right
|
# ? Oct 25, 2014 16:44 |