[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Need a new programming language

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 57
Thread images: 9

File: guhnome.png (548KB, 934x524px) Image search: [Google]
guhnome.png
548KB, 934x524px
I'm bored of making crappy games in java.
What's a neat language you recommend that's fun to work with while being good for relatively small game development and general programming?

Pic not related
>>
File: 1200px-Scratchcat.svg[1].png (200KB, 1200x1296px) Image search: [Google]
1200px-Scratchcat.svg[1].png
200KB, 1200x1296px
>>60131331
scratch
>>
>>60131331
>neat language you recommend that's fun to work
D
>>
Machine code
>>
html
>>
>>60131331
Brainfuck.
>>
Kotlin. Interoperabile with Java without looking like horse shit
>>
F#
>>
JavaScript, nog even memeing
>>
>>60131331
Objective-C
>>
>>60131331
Try Haxe
>>
WordPress
>>
LISP
>>
>>60131331
Good ol C (not plus plus) :)
and for maximum meme you can try BASIC and actually write some small Mario clone for the original NES chipset
>>
Go
>>
>>60131331
C++ if you're serious
C# for games and "fun"
>>
>>60131331
JavaScript is good for basic games and 'fun'
>>
>>60131331
>>60131444
trips of truth
>>
>>60134834
>File is 404
>switch bools in a list of list
What? Can you describe a little clearer?
>>
>>60134927

nevermind it was just a warning and not an error
>>
I have this list of lists

[['X', 'X', 'X', 'X', 'X'], ['X', 0, 0, 0, 'X'], ['X', 1, 1, 1, 'X'], ['X', 0, 0, 0, 'X'], ['X', 'X', 'X', 'X', 'X']]


whats the best way to remove all 'X'?
>>
>>60135019

my own solution is b = [o[1:-1] for o in a[1:-1]]

but is there something like a filter that removes all X ?
>>
>>60134997
Does it produce correct results? Often compiler warnings point out code that looks like it does one thing but actually does another, or fucks up in certain circumstances.
>>
>>60135019
what language?
>>
>>60135100

python
>>
>>60135019
map(lambda sublist:filter(lambda x:x<>'X', sublist), a)
>>
>>60135131
map a filter
>>
>>60131331
Changing languages won't suddenly make your crappy games any better though.
>>
>>60135133

nice thanks
>>
>>60135168
Depends on the circumstances, really. If you're using a shitty old language that's holding you back because it can't do what you need it to, then switching can definitely lead to improvement.

Not to imply OP's situation is the same in this case, just saying it's possible.
>>
>>60135253
Sure but lets be honest here, there is a 99% chance that an engine or framework is holding you back rather than a language when we are talking about simple games.
>>
>>60131444
D lacks reasonable GUI and graphics libraries (unless you're fine with bare opengl), but i generally agree
>>
>>60134586
Are you sure you didn't mix those up?
>>
>>60131331
c# is basically java but better in almost every single way

python could be fun for you
and right now I'm writing a SG-1000 game in C (much more fun than doing it in asm, although I'm hitting mild performance issues), doing bare-metal z80 stuff in C is pretty satisfying

really, just pick up a language and go for it
>>
>>60131444
This
>>
>>60131331
Nasm
>>
>>60131331
C++
>>
Xml
>>
Common Lisp
>>
>>60131331
Lua
>>
>>60131331
Python. It comes in handy to know a bit a Python for automation when you move onto other languages.

Darkhorse choice: 6502 or z80 assembly. Make NES or Gameboy homebrew.
>>
File: wtfthisshitagain.png (328KB, 1040x617px) Image search: [Google]
wtfthisshitagain.png
328KB, 1040x617px
>>60131331
c++17
honestly
>>
File: captcha.png (73KB, 764x356px) Image search: [Google]
captcha.png
73KB, 764x356px
>>60141477
>2017
>not using legacy captcha
>>
>>60141477
>C++ is fun to work with
>C++17 is such a fairy tale revolution that it changes C++ upside down and C++ is a different language now
Fucking idiot
>>
File: wtfthisshitagain_v2.png (288KB, 1249x584px) Image search: [Google]
wtfthisshitagain_v2.png
288KB, 1249x584px
>>60141652
I keep getting this captcha for some reason.
this one too by the way.
>>
File: wtfthisshitagain_v2.png (283KB, 1358x681px) Image search: [Google]
wtfthisshitagain_v2.png
283KB, 1358x681px
>>60141652
>>60141744
this is what I mean.
>>
>>60131331
C# if you're looking at doing gamedev. You've got Monogame and all the associated XNA/monogame tutorials to work off of.
>>
>>60131331
For practical everyday programming?
C++ and C#

For having fun with programming?
D
>>
File: wtfthisshitagain_v3.png (276KB, 1337x622px) Image search: [Google]
wtfthisshitagain_v3.png
276KB, 1337x622px
what the fuck is going on
>>
File: 1488526899487.png (56KB, 413x244px) Image search: [Google]
1488526899487.png
56KB, 413x244px
>>60141765
D is very sweet. It's actually the best language for general use!
>>
>>60135019
(fmap . fmap)
tbqh senpai
>>
File: wtfthisshitagain_v3.png (232KB, 852x641px) Image search: [Google]
wtfthisshitagain_v3.png
232KB, 852x641px
weird
>>
JavaScript or Lua but mostly JavaScript.
>>
>>60131331
Haskell
>>
>>60131331
haskell, good luck finding a job with it but its a lot of fun
>>
>>60131331
stuff
>>
>>60131331
Prolog.
Thread posts: 57
Thread images: 9


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.