Dogescript
131–140 of 147 posts
Re: Dogescript
#132I like it. And I always wondered why a programming language couldn't exist to work as follows: Start Run at 60 frames per second and do Clear the screen Draw a rectangle at (10,10) with size (100,50) and rotate it 20 degrees Repeat End Or something along those lines - hopefully you get my point. This would be fun for prototyping. I could just speak to my computer and have it translate my plain english into a working…
For eg. a cron scheduler Rebol dialect:
at 18:30 do %batch.r
at 10-Sep-2009/02:00 do %batch.r
every minute do %job.r
every month on #15 not [sat sun] do %job.r
ref: http://softinnov.org/rebol/scheduler.shtmlAnd here's an example of an Excel Rebol dialect:
Excel compose [
start
show
open file (test-file)
;alerts on
alerts off
;remove worksheet
;close workbook
;goto workbook 1
;go to worksheet #2
;quit
add a new worksheet
;goto cell "B3"
;select rows "1:3"
select "B4"
set value to x
goto cell "B6"
change to "Testing"
select "B7"
set to "=B4 * B5"
select "A5:A9"
change to "=$B$5 * PI()"
set cell 10 2 to 222.22
set 11 2 to 333.33
set cells "C2:C6" to 123
set "D3:E4" "Yeah!"
change "A1" "=B10"
copy "A1:A9" to "B21"
cut "B21:B29" to "A18"
select "A5:A9"
copy
goto cell "C15"
paste
goto cell "D15"
paste values
goto cell "E15"
paste no borders
go to worksheet "Sheet4"
autofilter "A5" on
open file (test-file-2)
copy workbook "pbtest.xls" "A1:C5"
to workbook "test-b.xls" "B2"
goto workbook "test-b.xls"
goto cell "F1"
cur-cell: current column
repeat i 3 [
repeat j 4 [
goto cell j (cur-cell + i - 1)
set to (i * j)
]
]
]
ref: http://lambda-the-ultimate.org/node/1240 | http://www.robertmuench.ch/development/projects/excel/dialec...Re: Dogescript
#133Earlier quoted context omitted.
Many, many programming languages have been designed to be English-like. Unless they are specific to a very narrow domain, they generally don't end up doing that very well, and even the best don't help very much, because you still need to use them more precisely than you'd use a natural language. The closest thing to an english-like language that is successful is probably SQL.
What about COBOL?
Of course, it is subjective, and there is plenty of room for disagreement.
Re: Dogescript
#134Re: Dogescript
#135Re: Dogescript
#136This is really funny. I quite enjoyed it. I wouldn't take any serious comments here seriously. Unfortunately the distribution of sense-of-humour in the world is not even. Some get a bigger chunk of it than others. The next time anyone mentions CoffeeScript to me, I'll send them here. Much better.
My favorite quote, by John Wannamaker, reads just like that. (I learned when reading "How to Make Friends and Influence People") "I learned thirty years ago that it is foolish to scold. I have enough trouble overcoming my own limitations without fretting over the fact that God has not seen fit to distribute evenly the gift of intelligence."
Re: Dogescript
#137Earlier quoted context omitted.
Thank you, Poe's Law.
I would like to make an addendum to Poe's Law - a formal accepted response / solution to the dilemma. An extremist point of view should always be taken as sarcasm (or more accurately, as pisstake). Extremism should be derided as facile and ridiculous, but kind of funny - just like sarcasm. It is absurd whether the proponent regards it as such or not and as such should be treated with the sense of humour it deserves.
Re: Dogescript
#138Re: Dogescript
#139Re: Dogescript
#140Earlier quoted context omitted.
I would like to make an addendum to Poe's Law - a formal accepted response / solution to the dilemma. An extremist point of view should always be taken as sarcasm (or more accurately, as pisstake). Extremism should be derided as facile and ridiculous, but kind of funny - just like sarcasm. It is absurd whether the proponent regards it as such or not and as such should be treated with the sense of humour it deserves.
Derision is an alternative form of extremism. If the target is an extremist, they will use it as an example of their point of view being dismissed and suppressed. If they are being sarcastic, it will rile them into persisting.
Derision is not extremism, that is to bastardise the meaning of both words.
If the target is an extremist, I absolutely think their view should be dismissed and suppressed. However making fun of their point of view - particularly in mistaking their argument for obvious trolling/sarcasm - will render it unusable or counter-productive as evidence of suppression.
As to the last point http://www.youtube.com/watch?v=C2QrWzsfghA