Slashdot Mirror


Ask Slashdot: No-Install Programming At Work?

An anonymous reader writes "Hello! Every summer (and other holidays) the work load at my job becomes minimal. I like scripting (HTML, CSS etc.) and would like to get into programming just to tinker a bit due to curiosity. At work we are not allowed to install anything except company approved software. Is there something I can program in that has an IDE like PortableApps.com? I guess I am asking for a recommendation on both language and IDE at the same time. Again, I want to reiterate that this is to satisfy my tinkering curiosity and thus not need something great, just something more advanced than HTML/CSS."

7 of 386 comments (clear)

  1. Codeacademy by Anonymous Coward · · Score: 4, Informative

    Codeacademy.com

  2. Eclipse by Anonymous Coward · · Score: 5, Informative

    it's possible to run eclipse without installing anything, just from the executable in the directory.

    also, BlueJ i think you can do the same thing.

    Eclipse has a built in java compiler too i believe so you don't need to install the jdk.

  3. JavaScript by Anonymous Coward · · Score: 5, Informative

    Your browser already supports it. Just fire up Notepad or Wordpad as your "IDE".

    1. Re:JavaScript by UnknownSoldier · · Score: 4, Informative

      > could you please tell me where the language is fundamentally broken ?

      I do WebGL development and for the most part enjoy the quick turn around time. (Thank god for "ShaderToy" www.iquilezles.org/apps/shadertoy/ )

      While Javascript is a breath of fresh air from hard-core C/C++ work, Javascript is a piss poor programming language ...

      0. typeof() is broken w.r.t. to arrays
      var a = [];
      console.log( typeof( a ) ); // does NOT return array, but object?!

      1. Variables by default can be used anywhere without being declared. Have a typo? You will most likely never catch it unless
      a) using an IDE
      b) using the hack
            "use strict";
      by placing that literal string hack near the top of your .js file

      2. Stupid semicolon statement insertion.

      3. ALL numbers are doubles. There are no native signed or unsigned or ints, nor floats. Doubles SUCK for performance especially when all you want & need is integer math.

      4. No proper line concatenation
      i.e. var a = "....\
      foo\
      bar\
      "; //

      Technically one shouldn't be able to escape the new line character, but it works ... for now.
        http://bclary.com/2004/11/07/#a-7.8.4
      "A 'LineTerminator' character cannot appear in a string literal, even if preceded by a backslash \. The correct way to cause a line t
      terminator character to be part of the string value of a string literal is to use an escape sequence such as \n or \u000A."

      Haven't they learnt ANYTHING from C, Python, etc. ??

      5. You have to very careful when doing (string) concatenation else you may not get what you expect.

      6. No native way to include .js files inside another .js file and have a callback unless you write it yourself. i.e.
                      var head = document.getElementsByTagName('head')[0];
                      var script = document.createElement('script');
                      script.type = 'text/javascript';
                      script.src = url;
                      script.onload = callback;
                      head.appendChild( script );

      7. The return statement is broken w.r.t whitespace. You can't have return on an empty line.
      i.e var foo = (function( callback ) {
            return // doesn't work!
                      1;
            }

      8. All the debuggers suck ass. Good luck get it to show anonymous functions properly!

      I could go one, but for a more complete list, see
      http://oreilly.com/javascript/excerpts/javascript-good-parts/awful-parts.html

  4. Here you go: by Georules · · Score: 5, Informative
  5. Re:Portable Python? by PCM2 · · Score: 5, Informative

    Actually, if this is the guy's first forays into "proper programming," I'd tend to maybe steer clear of an IDE, and certainly something as complex as Eclipse. You don't really need it, and a big IDE like that just becomes one more thing to learn, i.e. one more barrier to entry. If what you want to do is write a program and get that magic feeling of watching the program run and seeing it do what it's supposed to do, then just rush on in and do that! No need to learn some IDE. IDEs are great for people who do programming every day and who have to maintain big code bases and work within a group. But if all you want to do is learn to program, I say skip it for now. Save it for when you start doing something ambitious and the tools an IDE gives you are actually useful.

    --
    Breakfast served all day!
  6. Re:Uhh by pla · · Score: 4, Informative

    What the hell do all of you "oooh, don't do it, if they want you to sit there and drool, you'd damned well better sit there and drool" people have wrong with you? Because seriously, mere subservience doesn't suffice to explain it.


    Unless you are hired to learn new things to expand job responsibilities then you are stealing. 90% of the real world would be fired or would be laid off as it shows his boss over hired. I find this practice unethical.

    Stealing? Chill on the hyperbole. Very few jobs involve an even 24/7/365 workload; many have seasonal variations, some have monthly variations, some have huge daily swings. And although you can hire and fire untrained salesdrones and telemarketers on a whim, you don't just get rid of 30% of your accounting staff because the 2nd week of the fiscal month doesn't have much to do.

    The average office worker spends their down time playing Solitaire, or if allowed to go online, reading Facebook or sports news. I wish some of my coworkers would do something like learn a new skill instead. That said, I have nothing against Solitaire, but as long as you have people on the clock but no work for them to do, why not encourage them to do something at least tangentially productive?


    This guy wants to learn to program while staying within the company rules - He didn't ask how to root his machine to install a compiler, he didn't ask how to hide his activity, he just asked for a no-install coding playground.

    We freed the slaves in the late 1800s. Stop acting like one.