JeshdeLune

LISP and other advice

Mar 31st, 2018
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.92 KB | None | 0 0
  1. ard ▼ Settings Home
  2. /g/ - Technology
  3.  
  4.  
  5.  
  6. Name
  7. Anonymous
  8. Options
  9. Comment
  10.  
  11. 4chan Pass users can bypass this verification. [Learn More] [Login]
  12. File
  13.  
  14. ...Anonymous
  15. 03/31/18(Sat)16:45:05 No.65336181
  16. Image
  17. 1522321632326.jpg
  18. 31 KB JPG
  19. What is a good programming or scripting language that I can learn and work on and do neat little things with, if I only have access to library computers and my mobile phone?
  20.  
  21. I can't install or save anything on the library computers.
  22.  
  23. I was thinking of using Python and using a web interpreter to make a fun little text based battle/adventure RPG. Is that feasible? I have experience making adventure games in highschool using C++ and the Allegro library.
  24.  
  25. I was going to use pastebin to save my scripts.
  26.  
  27. One more question. Is Python a good language for making my own parser? I want game data to be stored as text files with a simple, minimal syntax.
  28. ...Anonymous
  29. 03/31/18(Sat)16:48:08 No.65336208
  30. repl.it
  31. >>65336271 #
  32. ...Anonymous
  33. 03/31/18(Sat)16:53:43 No.65336271
  34. >>65336208 #
  35.  
  36. Okay that's pretty cool. I've read about PyGame. Is that something I could run with this?
  37.  
  38. Like if I wanted to have a graphical interface.
  39.  
  40. And then, I wonder where best to store the graphics and how best to call upon them. Is any of that possible?
  41.  
  42. I can keep temporary folders on the library computers. And I can upload them to a host or cloud or my phone between sessions.
  43. ...Anonymous
  44. 03/31/18(Sat)17:00:15 No.65336354
  45. >>65336181 (OP) #
  46.  
  47. javascript
  48. ...Anonymous
  49. 03/31/18(Sat)17:25:39 No.65336633
  50. Perl 6 best language
  51. ...Anonymous
  52. 03/31/18(Sat)17:27:08 No.65336649
  53. Termux on Android has a working C compiler. Imo that's your best bet
  54. ...Anonymous
  55. 03/31/18(Sat)17:47:14 No.65336871
  56. >>65336181 (OP) #
  57. python is the ultimate meme language right now with all this neural net hype.
  58. ...Anonymous
  59. 03/31/18(Sat)18:04:46 No.65337044
  60. 1.12 MB
  61. 1.12 MB PNG
  62. >>65336181 (OP) #
  63. I also feel this. Python is very...weird? I have attempted to do shit with it and it just seems awkward, or am I not meme enough? But it seems perfect with not needing to install compilers/IDE.
  64.  
  65. I've been wondering this myself to try to teach myself something worthwhile (26 y/o broken asshole) and the conclusion I've come to is get yourself a cheap laptop to fuck with, cheap enough you don't feel bad killing it so you can actually do some development. Hunting online for a refurbished myself...
  66. ...Anonymous
  67. 03/31/18(Sat)19:00:40 No.65337660
  68. Unironically JavaScript as it comes builtin in the browser along with an inspector and a repl I could only dream of when I started out programming, though given choice LISP coupled with C (and the standard Unix tools) are my go to tools.
  69. ps: The Unix tools are worth studying on their own, and each one presents a DSL mighty powerful for what it was designed for that for my personal usage I rarely drop to general purpose scripting languages (think Perl/Python/Ruby/Lua and the like)
  70. >>65337884 #
  71. ...Anonymous
  72. 03/31/18(Sat)19:02:49 No.65337681
  73. >>65336181 (OP) #
  74. javascript
  75. navigate to about:blank in the browser and hit F12.
  76. ...Anonymous
  77. 03/31/18(Sat)19:05:05 No.65337702
  78. JavaScript, sites such as jsfiddle or jd.do are good for that
  79. ...Anonymous
  80. 03/31/18(Sat)19:20:14 No.65337884
  81. >>65337660 #
  82. I'm getting <use JS cause portable, or if you wanna be a real programmer learn C/Unix>, but from what I've been reading online it seems very practical?
  83. Gettin a thinkpad and just working with that so I can have/customize an ODE
  84. Not OP, just had similar questions
  85. Thanks tho
  86. >>65338105 #
  87. ...Anonymous
  88. 03/31/18(Sat)19:46:18 No.65338105
  89. >>65337884 #
  90. In theory any Turing complete language can do anything other Turing complete languages do, in practice your first exposure to programming, and by extension your first learned language, will shape how you reason about and solve problems.
  91. If I were to send a message back in time to my younger self it would be to start using a *nix machine and to join a community of other *nix users, you'll be learning all kinds of stuff that way, plus most servers, the backbone of the internet, run on Linux machines. C is interesting for both historical and not so historical reasons, it has a ton of software written in it, the BSD code base is a nice example, and it still shines as a systems programming language, it sucks as an application programming language though. LISP is a darling for someone who is just beginning, it has almost zero syntax to learn once you get used to all the parenthesis, and is a powerful and expressive way to illustrate ideas, you might see SICP being memed here to the death. Rest assured, it is the real deal. I am not sure of your maturity in the CS field, but you might want to watch a talk by "William Byrd titled 'The Most Beautiful Program Ever Written' and be amazed, that stuff is pure magic in a pedestal of its own.
  92. TL;DR: Arm yourself with the best tools there is a *nix box and a good education (whatever you have now + SICP)
Advertisement
Add Comment
Please, Sign In to add comment