User Controls
what languages do you niggas work with???
-
2017-04-27 at 7:06 AM UTCI tried teaching myself lua and c++ cus I wanted to try making games (mostly lua on the love2d engine) but I had to put all that aside because some gay shit came up and got in the way. Would kike to get back onto it tbh
-
2017-04-27 at 7:08 AM UTCC++ isn't really necessary to learn for coding games nowadays - not to say you shouldn't but it's difficult and not necessary to get started.
LUA is popular for a lot of in-engine stuff and it's fairly straightforward, and on that note, unless you're coding your own engine from scratch, what you need to learn is highly dependent on the engine you plan on using. -
2017-04-27 at 7:09 AM UTCAt work I mostly use PHP and Perl, some minor Python maintenance. I haven't done much personal coding lately but I'll typically use C or Perl.
-
2017-04-27 at 7:22 AM UTCMy day job is Javascript and Java which are both pretty shitty languages, all things considered.
My favorite language at the moment is Clojure, I've been writing a fair amount of dual-target stuff (targeting the JVM and the browser) and honestly I think CLJS is a better compile target, even with all the closure compiler fuckery I find the dev experience more pleasant but part of that is I started before sourcemaps were good and got used to debugging the compiled JS.
Python is my sweet stop language between experimental and conservative: it's inoffensive in most regards, pretty well thought out, but not so conservative that it's painful to write (see Java). I mostly write it for the forum and one-off scripts these days. -
2017-04-27 at 6:17 PM UTCI do Python and i've dabbled in Go and R. I plan on getting more into the latter two.
-
2017-04-27 at 6:50 PM UTCJava and C, but I'm still learning C.
Java isn't that bad... -
2017-04-29 at 11:57 AM UTC
Originally posted by aldra C++ isn't really necessary to learn for coding games nowadays - not to say you shouldn't but it's difficult and not necessary to get started.
I figured as such. The reason I wanted to try it out was because I thought it would make a somewhat decent foundation for a beginner, or that I might decide to make programs/build a game engine one day/etc. -
2017-05-03 at 4:32 AM UTCWhat type of game on what platform?
-
2017-05-03 at 11:34 AM UTCCOBOL
-
2017-05-03 at 11:41 AM UTC
Originally posted by -SpectraL COBOL
Remember when i asked you to write "Hello World!" in COBOL and you literally copypasted the first Google search result. Yeah, i do. Oh and remember the time i posted a thread asking what people were doing right then and there and you said "writing shellcode" do you write shellcode in COBOL SpectraL? ( ͡° ͜ʖ ͡°) -
2017-05-03 at 11:58 AM UTC
000100 IDENTIFICATION DIVISION.
000200 PROGRAM-ID. HELLOWORLD.
000300
000400*
000500 ENVIRONMENT DIVISION.
000600 CONFIGURATION SECTION.
000700 SOURCE-COMPUTER. RM-COBOL.
000800 OBJECT-COMPUTER. RM-COBOL.
000900
001000 DATA DIVISION.
001100 FILE SECTION.
001200
100000 PROCEDURE DIVISION.
100100
100200 MAIN-LOGIC SECTION.
100300 BEGIN.
100400 DISPLAY " " LINE 1 POSITION 1 ERASE EOS.
100500 DISPLAY "Hello world!" LINE 15 POSITION 10.
100600 STOP RUN.
100700 MAIN-LOGIC-EXIT.
100800 EXIT. -
2017-05-03 at 12:04 PM UTC
Originally posted by -SpectraL
000100 IDENTIFICATION DIVISION.
000200 PROGRAM-ID. HELLOWORLD.
000300
000400*
000500 ENVIRONMENT DIVISION.
000600 CONFIGURATION SECTION.
000700 SOURCE-COMPUTER. RM-COBOL.
000800 OBJECT-COMPUTER. RM-COBOL.
000900
001000 DATA DIVISION.
001100 FILE SECTION.
001200
100000 PROCEDURE DIVISION.
100100
100200 MAIN-LOGIC SECTION.
100300 BEGIN.
100400 DISPLAY " " LINE 1 POSITION 1 ERASE EOS.
100500 DISPLAY "Hello world!" LINE 15 POSITION 10.
100600 STOP RUN.
100700 MAIN-LOGIC-EXIT.
100800 EXIT.
Yes yes, http://groups.engin.umd.umich.edu/CIS/course.des/cis400/cobol/hworld.html
Your Google-Fu is formidable. -
2017-05-03 at 12:20 PM UTCHow do you write a programming language.
Like who invented python and c++ and shit and how did they do it. Do you need a language to make a language. I know fuck all about programming I've just been wondering this -
2017-05-03 at 12:25 PM UTC
Originally posted by Sophie Yes yes, http://groups.engin.umd.umich.edu/CIS/course.des/cis400/cobol/hworld.html
Your Google-Fu is formidable.
$ FORTRAN HELLO.F
$ LINK HELLO.OBJ
$ RUN HELLO.EXE
Hello World!
$ -
2017-05-03 at 5:23 PM UTC
Originally posted by reject How do you write a programming language.
Like who invented python and c++ and shit and how did they do it. Do you need a language to make a language. I know fuck all about programming I've just been wondering this
It's an interesting question. The simple answer is you use another, generally simpler language until you get to machine code which is implemented in hardware so there is no language that produces it.
But it's a little more complicated than that. Firstly processors which run machine code are no longer designed by humans directly, we typically use computers and programs to produce schematics which are then manufactured without anyone ever looking at them directly in totality, so in some sense our lowest level "languages", today, are written in higher level languages.
Also most popular compilers are bootstrapping, that is GCC, a popular C compiler, is written in C and compiled with older versions of GCC. This recursive dependency obviously isn't tenable right out the gate when you need another language, but typically you can bootstrap a compiler pretty early in development.
This typically doesn't apply to interpreted languages, the refrence Python interpreter for example is written in C.