syntaxwise, what is the best programming language?

Poll: syntaxwise, what is the best programming language?
You do not have permission to vote in this poll.
python
28.57%
6 28.57%
i don't know any languages
23.81%
5 23.81%
{i; {have; {a; {blatantly; {wrong; {opinion;}}}}}}
47.62%
10 47.62%
Total 21 vote(s) 100%
* You voted for this item. [Show Results]

Thread Rating:
  • 3 Vote(s) - 3.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
syntaxwise, what is the best programming language?
#26
RE: syntaxwise, what is the best programming language?
[Image: supergood.png]

this is what the maps look like
Quote
#27
RE: syntaxwise, what is the best programming language?
i first made one that made tiny islands from noise but ehhhhhH

[Image: another.png]

it looked kinda crap
Quote
#28
RE: syntaxwise, what is the best programming language?
goodnight
Quote
#29
RE: syntaxwise, what is the best programming language?
I really like that first one!

Such a good programm.
Sig:
Show Content
Quote
#30
RE: syntaxwise, what is the best programming language?
Sleep tite
Sig:
Show Content
Quote
#31
RE: syntaxwise, what is the best programming language?
thank youu

it works by scribbling a bunch basically (but never drawing over the same spot)
Quote
#32
RE: syntaxwise, what is the best programming language?
I (a lot (like lisp))
Quote
#33
RE: syntaxwise, what is the best programming language?
Here is a complete list of things you can't do in Python with enough effort (which is usually very little):
🐦🐙🐙[Image: nifOFwR.png]🐙🐙
Quote
#34
RE: syntaxwise, what is the best programming language?
(08-17-2016, 01:23 PM)Loather Wrote: »heres a map generator i made in python, please judge softly

Code:
from Tkinter import *
from random import randint

def buildIsland(xStart, yStart, landCounter, blobbiness):
    global mapArray
    
    mapArray[xStart][yStart] = "green"
    while landCounter >= 0:
        xCoord = xStart
        yCoord = yStart
        
        while(mapArray[xCoord][yCoord] == "green"):
            if xCoord >= 1 and xCoord <= 299:
                xCoord += randint(0,2) - 1
            elif xCoord >= 1:
                xCoord -= 1
            elif xCoord <= 299:
                xCoord += 1
            if yCoord >= 1 and yCoord <= 299:
                yCoord += randint(0,2) - 1
            elif yCoord >= 1:
                yCoord -= 1
            elif yCoord <= 299:
                yCoord += 1
            
        mapArray[xCoord][yCoord] = "green"    
        landCounter -= 1

        if randint(0,blobbiness) == 1:
            xStart = xCoord
            yStart = yCoord

master = Tk()

xCoord = 150
yCoord = 150

canvasWidth = 300
canvasHeight = 300

xCounter = 0
yCounter = 0

zoomLevel = 1

mapArray = [["blue" for x in range(canvasWidth + 1)] for y in range(canvasHeight + 1)]

#Build islands
for x in range(0,50):
    buildIsland(randint(0,300),randint(0,300),randint(150,2000),1)

#Set up canvas
drawMap = Canvas(master, width = canvasWidth * zoomLevel, height = canvasHeight * zoomLevel)
drawMap.pack()

#Draw map
while(yCounter <= canvasHeight):
    while(xCounter <= canvasWidth):
        drawMap.create_rectangle(xCounter * zoomLevel, yCounter * zoomLevel, (xCounter * zoomLevel)+ zoomLevel,
                                (yCounter * zoomLevel) + zoomLevel, fill=mapArray[xCounter][yCounter],
                                 outline=mapArray[xCounter][yCounter])
        xCounter += 1
        
    xCounter = 0
    yCounter += 1

mainloop()
Wait, in Python function decs have colons instead of curly brackets? Weeeeeiiiirrrrd....
Quote
#35
RE: syntaxwise, what is the best programming language?
(08-17-2016, 06:40 PM)Kíeros Wrote: »Here is a complete list of things you can't do in Python with enough effort (which is usually very little):

Challenge: construct a Python program that determines whether a program will run into an infinite loop or not.
Quote
#36
RE: syntaxwise, what is the best programming language?
Okay, a complete list of things you can't do in Python with enough effort (which is usually very little) that you can actually write a program to do.
🐦🐙🐙[Image: nifOFwR.png]🐙🐙
Quote
#37
RE: syntaxwise, what is the best programming language?
binary
Quote
#38
RE: syntaxwise, what is the best programming language?
i voted python because reptiles

but for real assembly is the best B) B)
[Image: 6xGo4ab.png][Image: sig.gif]
Quote
#39
RE: syntaxwise, what is the best programming language?
(08-17-2016, 06:52 PM)qwerx3 Wrote: »Challenge: construct a Python program that determines whether a program will run into an infinite loop or not.
Actually, I just realised this is doable, because you forgot one key part of the halting problem. You never said this program couldn't run infinitely either. So I'm pretty sure something like this would work:
Code:
check=exec([other program])
if check==None:
   return True
else:
   return False
🐦🐙🐙[Image: nifOFwR.png]🐙🐙
Quote
#40
RE: syntaxwise, what is the best programming language?
python doesn't have pointers, so there are legitimately things you can't do at all

and while you can do a lot, large programs written in python can run pretty slow compared to large programs written in other languages. like you could write a full 3d game engine in python, but it'd run like a slideshow (though some games use it, just not for the engine)
Quote
#41
RE: syntaxwise, what is the best programming language?
Well, I mean, you can simulate pointers if you REALLY wanted to

but then you really should just use C++
Quote
#42
RE: syntaxwise, what is the best programming language?
I am trying to learn Haskell.

So there.
Quote
#43
RE: syntaxwise, what is the best programming language?
I programmed in ANSI C using MinGW on Windows for a while.

Then I experienced firsthand why this wasn't the best idea.
Quote
#44
Bingogogo
Programming is fun. I programmed a really simple Gashapon machine for my brother's story in html/javascript vaguely recently, but I really need to get back to it.

I took a course that taught me java (java) last year, which I won the award for. I programmed a Binding of Isaac-esqe game for my final that was pretty fun to make. It was very simple.
Sig:
Show Content
Quote
#45
RE: syntaxwise, what is the best programming language?
i should probably mention that i haven't really coded in anything but python (+ game dev engines) for the last two years, so, you win this time, loather.
Quote