Conversation
Notices
-
@ponydude Ah. I highly recommend it then. http://www.ticalc.org/archives/files/fileinfo/331/33153.html (I actually have no clue if this will work on your calculator; it's a very old file, relatively speaking)
Sunday, 08-Apr-12 08:11:04 UTC from web-
Hm that's handy, all I have to do to use readline is import it; the builtin input() function will detect its presence and automatically make use of it for me. That's incredibly convenient.
-
@ponydude I'm not, I'm doing Python.
-
@ponydude readline is much more than a programmer's interface, it provides a bunch of nice features to the user such as tab-completion, history, and some other cool stuff I haven't committed to memory yet. It has python bindings available via a module in the python standard library, allowing you to work with readline without having to use C yourself. A lot of python is like that- providing a nice, convenient way to use something that's written in C without having to actually use C. There's an ncurses module in there too.
-
@ponydude input() is a builtin function, so its available on all platforms. It just won't get to use readline's extra features on Windows. Sucks to be them.
-
@ponydude Yes. Conventional wisdom is you should only use Python2 to work on software that is already written in it and any new software should be written in Python3 (eventually all the Python2 software should be ported to Python3). As a completely random aside, new software should never be written in C++; it should only be used to work on software that is already written in C++ and would be too painful to port.
-
@toksyuryel Heh. C++ is weird. I prefer C.
-
@minti Me too. It is actually a fact that C++ is mathematically unsound. This can be proven with !fancymathematics.
-
@toksyuryel I like the idea behind it, I just hate the implementation. Heck, I'd code everything in assembly if I got the chance. I'd probably get nothing done then.
-
@ponydude A valid concern. Using imports from __future__ can at least help with getting your coding habits ready (especially getting used to using print as a function instead of as a statement).
-
@ponydude I'm hoping to be, so one day I will have to revisit C and learn it properly. This is a day which I fear.
-
@toksyuryel I learned ASM before C. I think there's something wrong with me.
-
@minti If there is it's wrong with the both of us, because I did too. I then promptly forgot it because I never got to use it for anything. I remember the basic concepts reasonably well though; not that there are a lot of them, asm is really simple which ironically is what makes it so hard.
-
@toksyuryel Oh really? What was your reason?
-
@minti To be fair, knowing asm actually does make C *MUCH* easier to learn.
-
@toksyuryel Yeah it really does.
-
@minti I was gonna use z80 assembly to write programs for my TI-84+ calculator. I never got to use it because at the time all the tutorials were written for doing it on windows and I was a total newbie to linux and didn't really care to put forth the effort of learning how to adapt. By the time software was available, I had grown past wanting to write calculator programs and now want to write programs for real computers.
-
@toksyuryel Oh nice. xD I got into game hacking (don't ask xD) which requires inline memory editing with OllyDbg and such. I eventually got sick of doing the edits so I decided to learn C and write a program to do it for me.
-
@ponydude Yeah, that project was in its infancy at the time I was wanting to use it. By the time it was usable, I'd grown out of it.
-
@ponydude Some of them can be pretty amazing. Did you ever play Desolate? That was a very impressive piece of software there.
-