|
does such a thing exist? is it even possible?
|
# ? Nov 26, 2014 10:24 |
|
|
# ? Apr 24, 2024 19:43 |
|
anything is possible when your dreams meet computers
|
# ? Nov 26, 2014 10:27 |
|
what would the point be when you can cast the return
|
# ? Nov 26, 2014 16:03 |
|
c# does this just make the return type an object
|
# ? Nov 26, 2014 16:15 |
|
echinopsis posted:meat computers sam3
|
# ? Nov 26, 2014 16:23 |
|
pram posted:what would the point be when you can cast the return what's the deal with word "cast" anyway? why people don't just say "convert" or something? don't believe sussman, programming ain't no magic
|
# ? Nov 26, 2014 16:30 |
|
Symbolic Butt posted:what's the deal with word "cast" anyway? why people don't just say "convert" or something? it's like you're casting them in a play
|
# ? Nov 26, 2014 16:32 |
|
MALE SHOEGAZE posted:it's like you're casting them in a play whoa
|
# ? Nov 26, 2014 16:34 |
|
MALE SHOEGAZE posted:does such a thing exist? is it even possible? no; yes.
|
# ? Nov 26, 2014 16:40 |
|
pram posted:what would the point be when you can cast the return id like to cast you to the shadow realm
|
# ? Nov 26, 2014 16:43 |
|
Valeyard posted:id like to cast you to the shadow realm I'd like to cast u to gbs
|
# ? Nov 26, 2014 16:46 |
|
Symbolic Butt posted:what's the deal with word "cast" anyway? why people don't just say "convert" or something? it's like your casting a rod and the value is the lure and the type is the kind of fish you catch in a certain lake
|
# ? Nov 26, 2014 17:20 |
|
My Linux Rig posted:c# does this just make the return type an object technically an object is a type, it's just that everything inherits from this type explicitly or implicitly
|
# ? Nov 26, 2014 17:21 |
|
My Linux Rig posted:c# does this just make the return type an object obj-c does this just make the return type id
|
# ? Nov 26, 2014 17:30 |
|
i just return a hash containing the thing
|
# ? Nov 26, 2014 17:37 |
|
in php you can optionally declare types for arguments but not return values hth op
|
# ? Nov 26, 2014 17:40 |
|
it's called void*
|
# ? Nov 26, 2014 17:49 |
|
haskell does this just make the return type a Dynamic
|
# ? Nov 26, 2014 17:57 |
|
DaTroof posted:in php you can optionally declare types for arguments but not return values yeah and it's actually better than what you want, because you can only specify it on the types that matter--you can type hint for arrays, callables, and object classes. you can't do it for the different "types" of primitive though cause that would be dumb
|
# ? Nov 26, 2014 18:01 |
|
Php is a bad languGe for dumb idiot fat babies
|
# ? Nov 26, 2014 18:02 |
|
yet I've seen very few dumb idiot fat babies irl coding in php seems they have identified a poor demographic to target they language
|
# ? Nov 26, 2014 19:23 |
|
lol
|
# ? Nov 26, 2014 19:24 |
|
what is the best language , pram?
|
# ? Nov 26, 2014 19:24 |
|
Go
|
# ? Nov 26, 2014 19:25 |
|
google made
|
# ? Nov 26, 2014 19:56 |
|
ugh php thank god net is going open source it might start getting rid that poo poo language
|
# ? Nov 26, 2014 20:27 |
|
yeah a lot of people itching to migrate to asp
|
# ? Nov 26, 2014 20:57 |
|
i don't know what any of these posts mean but i'm posting anyway
|
# ? Nov 26, 2014 21:04 |
|
referential transparency is a good thing so the thread title is a bad thing
|
# ? Nov 26, 2014 21:05 |
|
pram posted:Go is there a good web framework yet
|
# ? Nov 26, 2014 22:05 |
|
im using gin. depends on what you mean by 'framework'
|
# ? Nov 26, 2014 22:40 |
|
pram posted:im using gin. same, cheers
|
# ? Nov 26, 2014 22:45 |
|
cheers
|
# ? Nov 26, 2014 22:46 |
|
MALE SHOEGAZE posted:does such a thing exist? is it even possible? scala
|
# ? Nov 26, 2014 23:43 |
|
does returning a void* work for this?
|
# ? Nov 26, 2014 23:53 |
|
everything is a function 3 is just a function that takes no arguments and returns the value 3 as all arguments to functions will themselves be return values from functions, you cannot have this sorry
|
# ? Nov 27, 2014 00:01 |
|
pram posted:im using gin. depends on what you mean by 'framework' hm looks like it's just a way to write rest endpoints
|
# ? Nov 27, 2014 01:29 |
|
**begins to screech at a volume that intimidates all within range**
|
# ? Nov 27, 2014 01:30 |
|
jonpv posted:everything is a function but 3+3 = 6so how can you add fuctions?
|
# ? Nov 27, 2014 01:32 |
|
|
# ? Apr 24, 2024 19:43 |
|
echinopsis posted:but 3+3 = 6so how can you add fuctions? + is a function that takes 2 arguments and returns.......... functions.
|
# ? Nov 27, 2014 01:33 |