Post 9h0bbAtWjNB2iyGE08 by piggo@piggo.space
 (DIR) More posts by piggo@piggo.space
 (DIR) Post #9h0b4oPMnd7biWioUK by piggo@piggo.space
       2019-03-21T21:48:16.901209Z
       
       0 likes, 0 repeats
       
       theres gotta be a whole 'nother mindset. i grew on java and python, with objects, interfaces, enums, classes. how would someone who started with rust think. how would they solve the same problems. I'm missing something
       
 (DIR) Post #9h0b6wuSA8Q6fAHVGi by piggo@piggo.space
       2019-03-21T21:48:41.129858Z
       
       0 likes, 0 repeats
       
       mind, python has a very bad object model, but it has inheritance
       
 (DIR) Post #9h0bKoNChGowF5L5qC by piggo@piggo.space
       2019-03-21T21:51:10.969668Z
       
       0 likes, 0 repeats
       
       my first language was actually QBASIC but i dont think that makes a difference in this lol
       
 (DIR) Post #9h0bbAjbKHEmEBcIWu by equal@mastodon.technology
       2019-03-21T21:52:05Z
       
       0 likes, 0 repeats
       
       @piggo you could always go hurt your head with erlang or forth or something equally weird then come back and be like damn this shit ain't so bad
       
 (DIR) Post #9h0bbAtWjNB2iyGE08 by piggo@piggo.space
       2019-03-21T21:54:08.014647Z
       
       0 likes, 0 repeats
       
       @equal its not that i hate some language in particular. im more after the way you look at problems. in java you build these neat boxes and interfaces for everything, like a clockwork. in javascript you slap shit together and it kinda works maybe and it doesnt relaly matter how you do it. in c everything is a piece of memory. in php, well, fuck php. but rust is different and i'm hitting a wall when i try to write java in rust and it just doesnt work that way
       
 (DIR) Post #9h0bmU0A220PAXkvAG by KitRedgrave@cybre.space
       2019-03-21T21:54:12Z
       
       0 likes, 0 repeats
       
       @piggo i would rather make a whole bunch of interfaces and compose types out of them
       
 (DIR) Post #9h0bmUGT3P37z7Nwa8 by piggo@piggo.space
       2019-03-21T21:56:11.386561Z
       
       0 likes, 0 repeats
       
       @KitRedgrave yeah this and encapsulation is basically the way to go i think
       
 (DIR) Post #9h0bosRE9FaxXLYcts by piggo@piggo.space
       2019-03-21T21:56:37.545614Z
       
       0 likes, 0 repeats
       
       @KitRedgrave i just wish rust had some syntactic sugar for method delegation because that stuff is so tedious
       
 (DIR) Post #9h0c7uHnVBBgloDl1k by equal@mastodon.technology
       2019-03-21T21:57:16Z
       
       0 likes, 0 repeats
       
       @piggo yeah i hear you. it seems like ahuge paradigm shift just to avoid garbage collection. i'm mostly a Java person, but for stuff like Rust would solve I'd rather use Go. Its GC is reaaaaly nice, and a no-brainer for java people.
       
 (DIR) Post #9h0c7uQeyEHDDIMpqC by piggo@piggo.space
       2019-03-21T22:00:02.865997Z
       
       0 likes, 0 repeats
       
       @equal i'm honestly more "C people" by now, but that object thinking is rooted deep. i never tried Go, i'm quote vary of google things lately