3 ms·
There's not much you can actually teach to someone in an hour, especially about programming. So much of it is dependent on other computer skills...I once taught
by danso 13y ago
There's not much you can actually teach to someone in an hour, especially about programming. So much of it is dependent on other computer skills...I once taught a class for five hours of introductory programming, and while some people learned things, we were frequently caught up in things like people saving filenames of "folder/hello.rb"...that is, the forward-slash was part of the filename, not the path...which I didn't even know was possible on any platform.
But what you can get across, and the OP seems to have done this, is how accessible programming can be. I don't know about RStudio, but jumping into a REPL is easy enough in any modern languages, as is running a script. We take it for granted, but very very few people who haven't programmed realize that a "program" is simply composed of text. Hell. most people don't understand that about web pages.
So even if you won't teach much in an hour, overcoming that intimidation factor of "where/how do I even start?" is still pretty huge.
- minimaxir 13y agoRStudio is the best IDE I've ever used and I wish something like that existed for other programming languages. The default workspace is split into the script, data, terminal, and meta (files/charts/help), and selecting a data frame variable will display it in a formatted window, making it very, very easy to debug data issues (I'm attempting to switch from R to Python/pandas due to performance/package issues, and I'm having much more difficulty debugging code.)
- catinsocks 13y agoCheck out Spyder if you are doing Science stuff with python: https://code.google.com/p/spyderlib/ https://code.google.com/p/spyderlib/
- minimaxir 13y agoActually, that looks right up my alley. Thanks!
- Fomite 13y agoRStudio is amazing - and has been key to several of my colleagues stepping away from SAS and toward R.
- dded 13y ago> that is, the forward-slash was part of the filename, not the path...which I didn't even know was possible on any platform Nor did I. Which platform?
- danso 13y agoDon't remember for sure, might have been a Windows machine. I just tried it on my Mavericks OS X. It was allowed, but instead of: sdf/index.html it auto-translated to this: sdf:index.html (i'm assuming that's not a Sublime Text 3 thing, which is what I just tested on)
- dded 13y agoThis fails on a Mac (10.9) and on CENTOS5 (2.6.18): #include <unistd.h> #include <fcntl.h> #include <stdio.h> int main() { int fd = creat("foo/bar", 1); if (fd == -1) { printf("error\n"); } else { close(fd); } return 0; }
- deleted 13y ago[deleted]