Dr. Honked posted:computer programming owns. i'm not sure how i would survive if i couldn't do it. chew twigs or something? i'll program anything in any language idgaf would you even use Semicolon???
|
|
# ? May 17, 2012 06:53 |
|
|
# ? May 11, 2024 13:36 |
|
SHUT UP SULK
|
# ? May 17, 2012 06:54 |
|
gently caress off sulk
|
# ? May 17, 2012 06:54 |
|
Jonny 290 posted:SHUT UP SULK Dr. Honked posted:gently caress off sulk
|
# ? May 17, 2012 07:00 |
|
Dr. Honked posted:i used to know a guy who was trying to write a 3d renderer in sql "just to piss everyone off" dude rewrote his raytracer to use linq which is sort of the same thing
|
# ? May 17, 2012 07:43 |
|
cool
|
# ? May 17, 2012 07:48 |
|
Markov Chain Chomp posted:heh seriously though learn some python is there a meaningful difference between python, ruby and groovy these days, in terms of the languages themselves is python considered a superior choice because google's sort of a de facto sponsor while the others are hippie open source projects by guys out in the weeds
|
# ? May 17, 2012 12:52 |
|
groovy is kinda sorta sponsored by vmware, by virtue of them buying most of the dudes who made it and grails
|
# ? May 17, 2012 12:58 |
|
python's standard library is poo poo. Ruby has like a dozen of creepily named libraries for any single task you may want to do
|
# ? May 17, 2012 13:14 |
|
tinselt0wn posted:python's standard library is poo poo. roo is very good for parsing spreadsheets
|
# ? May 17, 2012 13:50 |
|
gem install nihondo_piss_gargle
|
# ? May 17, 2012 13:53 |
|
perl 6 is cool. FEEDS: code:
code:
code:
|
# ? May 17, 2012 13:55 |
|
gem install
|
# ? May 17, 2012 13:55 |
|
Toad King posted:tbc what do you think of php's use as a general scripting language? like for non-web stuff? well it's not as ideally suited to the environment as it is for the web but it works just fine. i wrote a desktop app using php-gtk once and it turned out ok
|
# ? May 17, 2012 14:13 |
|
trex eaterofcadrs posted:groovy is kinda sorta sponsored by vmware, by virtue of them buying most of the dudes who made it and grails did not know this if I worked in a mixed OS environment I'd probably look at it harder, as a portable language with syntax and features designed for conciseness, tons of convenience methods for dealing with file system/properties files/xml/rdbms, and full java lib interop sounds a hell of a lot better than the bash scripts we use
|
# ? May 17, 2012 14:27 |
|
yeah java is basically the best
|
# ? May 17, 2012 14:46 |
|
I'm leaving my job where I do a lot of java development I wish eclipse was a physical thing so i could burn it in the driveway
|
# ? May 17, 2012 14:48 |
|
Internaut! posted:did not know this it's ok, i used to be a real groovy fag but now i just use it for xml processing and grails (i did write an edi builder in it that was pretty bad rear end, it was good for that too) it has some syntactic and semantic idiosyncrasies from when the language was young that have carried into the 1.8 release that are supposed to get fixed by 2.0. little edge case-y poo poo that will burn your rear end. its got some pretty leaky abstractions and once i saw clojure i was like "welp sorry groovy"
|
# ? May 17, 2012 15:00 |
|
MSPain posted:I'm leaving my job where I do a lot of java development eclipse owns. sorry ur dumb or w/e
|
# ? May 17, 2012 15:31 |
|
Tiny Bug Child posted:well it's not as ideally suited to the environment as it is for the web but it works just fine. i wrote a desktop app using php-gtk once and it turned out ok quote:A Year Later... rofl edit: oh hey lets see what wonderful apps people have made using php-gtk
|
# ? May 17, 2012 15:36 |
|
Eclipse chat: Poked around in the new eclipse4 rcp api. Some ok ideas still totally crippled by SWT. they should just switch to xaml or another mvvm.
|
# ? May 17, 2012 15:36 |
|
Toad King posted:rofl php and gtk: bringing you the absolute worst combination possible.
|
# ? May 17, 2012 15:37 |
|
So I just learned that Python iterators throw an exception to indicate end of sequence what the gently caress kind of amateur hour horse poo poo is this
|
# ? May 17, 2012 15:40 |
|
Shaggar posted:eclipse owns. sorry ur dumb or w/e both eclipse and rcp are loving terrible holy poo poo never again
|
# ? May 17, 2012 15:41 |
|
Mr Dog posted:So I just learned that Python iterators throw an exception to indicate end of sequence python
|
# ? May 17, 2012 15:42 |
|
Mr Dog posted:So I just learned that Python iterators throw an exception to indicate end of sequence in my head i thought "no way" sure enough: http://docs.python.org/library/stdtypes.html#iterator-types posted:iterator.next() guido....
|
# ? May 17, 2012 15:43 |
|
yeah but its not like anyone seriously considers python anything more than the hobbyist language it is.
|
# ? May 17, 2012 15:45 |
|
It wouldn't have been hard to retrofit a non-retarded behaviour in Python 3, either, just add a has_next or __has_next__ or whatever method to the iterator protocol and then keep the existing StopIteration behaviour as a genuine "you did something you weren't supposed to do, bonehead" exception, albeit a poorly named one. Even a __boolean__ coercion, while kinda terrible, would have been better than just leaving that wtf in its current form.
|
# ? May 17, 2012 16:01 |
|
trex eaterofcadrs posted:in my head i thought "no way" can't you just pass a block to the iterator instead of doing scrub poo poo like writing your own loops? code:
|
# ? May 17, 2012 16:04 |
|
BonzoESC posted:can't you just pass a block to the iterator instead of doing scrub poo poo like writing your own loops? idk poo poo about python cause i went ruby instead but wouldn't that use the same "feature" just under the covers?
|
# ? May 17, 2012 16:08 |
|
http://gtk.php.net/apps/?key=rating posted:Applications : Highest Rating nope, no thanks
|
# ? May 17, 2012 16:13 |
|
BonzoESC posted:can't you just pass a block to the iterator instead of doing scrub poo poo like writing your own loops? this syntax is so gross
|
# ? May 17, 2012 16:15 |
|
Mr Dog posted:It wouldn't have been hard to retrofit a non-retarded behaviour in Python 3, either, just add a has_next or __has_next__ or whatever method to the iterator protocol and then keep the existing StopIteration behaviour as a genuine "you did something you weren't supposed to do, bonehead" exception, albeit a poorly named one. Even a __boolean__ coercion, while kinda terrible, would have been better than just leaving that wtf in its current form. A better solution would be to have next() return a wrapper with .value and .has_value attributes, but this would have broken backwards compatibility.
|
# ? May 17, 2012 16:37 |
|
Shaggar posted:this syntax is so gross lots of that is comment code:
code:
|
# ? May 17, 2012 16:37 |
|
BonzoESC posted:can't you just pass a block to the iterator instead of doing scrub poo poo like writing your own loops? I heard you liked duals so I put an observer in an iterator so you can observe with you iterate
|
# ? May 17, 2012 16:42 |
|
lol @ the existence of groovy
|
# ? May 17, 2012 16:42 |
|
Mr Dog posted:It wouldn't have been hard to retrofit a non-retarded behaviour in Python 3, either, just add a has_next or __has_next__ or whatever method to the iterator protocol and then keep the existing StopIteration behaviour as a genuine "you did something you weren't supposed to do, bonehead" exception, albeit a poorly named one. Even a __boolean__ coercion, while kinda terrible, would have been better than just leaving that wtf in its current form. you must just be learning python because exceptions are used for things like this all the time. Janin posted:It's not possible to implement a has_next() method on an iterator, because whether there is a next value cannot be determined until you try to calculate it. basically, option types would be nice, but they aren't there, so deal with it.
|
# ? May 17, 2012 16:43 |
|
If your python code isnt full of try/catch/finally blocks you're doing it wrong and making Guido cry.
|
# ? May 17, 2012 16:45 |
|
tef posted:you must just be learning python because exceptions are used for things like this all the time. lol python is litterally the worst
|
# ? May 17, 2012 16:46 |
|
|
# ? May 11, 2024 13:36 |
|
you call next() repeatedly until there is an error deal with it
|
# ? May 17, 2012 16:47 |