• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:26
CEST 10:26
KST 17:26
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Maestros of the Game: Week 1/Play-in Preview9[ASL20] Ro24 Preview Pt2: Take-Off7[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy11
Community News
LiuLi Cup - September 2025 Tournaments2Weekly Cups (August 25-31): Clem's Last Straw?32Weekly Cups (Aug 18-24): herO dethrones MaxPax6Maestros of The Game—$20k event w/ live finals in Paris46Weekly Cups (Aug 11-17): MaxPax triples again!15
StarCraft 2
General
Team Liquid Map Contest #21 - Presented by Monster Energy Geoff 'iNcontroL' Robinson has passed away Heaven's Balance Suggestions (roast me) Speculation of future Wardii series Weekly Cups (August 25-31): Clem's Last Straw?
Tourneys
LiuLi Cup - September 2025 Tournaments Sea Duckling Open (Global, Bronze-Diamond) Sparkling Tuna Cup - Weekly Open Tournament Maestros of The Game—$20k event w/ live finals in Paris Monday Nights Weeklies
Strategy
Custom Maps
External Content
Mutation # 489 Bannable Offense Mutation # 488 What Goes Around Mutation # 487 Think Fast Mutation # 486 Watch the Skies
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Simple editing of Brood War save files? (.mlx) ASL20 General Discussion Starcraft at lower levels TvP BW General Discussion
Tourneys
[Megathread] Daily Proleagues Is there English video for group selection for ASL [ASL20] Ro24 Group F [IPSL] CSLAN Review and CSLPRO Reimagined!
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
General RTS Discussion Thread Stormgate/Frost Giant Megathread Warcraft III: The Frozen Throne Nintendo Switch Thread Mechabellum
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread YouTube Thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s) Gtx660 graphics card replacement
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
How Culture and Conflict Imp…
TrAiDoS
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
INDEPENDIENTE LA CTM
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1279 users

Ruby sucks, a poem

Blogs > Alzadar
Post a Reply
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
January 31 2014 17:29 GMT
#1
def ruby_is_the_ugliest_language(why_use_it_ever)
all_the_clutter_of_scheme(but,none,of,the,elegance)
duck = get_thing # is this real
duck = get_banana # why would you do this to me
duck = get_firetruck # fuck I give up
mystery = is_this_a_method_or_a_variable
did_I_mention_the_ugly_naming_standard = true
ruby_annoys_me.each do |day|
get_mildly_convenient_loop_syntax
unless is_it_worth_it?
ruby_sucks
end
end
Thread.new {
multithreading_is_a_joke = true
}
end
end
end
end


****
I am the Town Medic.
MysteryMeat1
Profile Blog Joined June 2011
United States3292 Posts
January 31 2014 19:14 GMT
#2
mystery is a method.
"Cause ya know, Style before victory." -The greatest mafia player alive
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
January 31 2014 19:19 GMT
#3
On February 01 2014 04:14 MysteryMeat1 wrote:
mystery is a method.


Maybe, maybe not. You can't know without seeing more. Even if you saw the method definition you wouldn't know for sure.

Consider:

mystery = 4

def mystery
return 2
end

puts mystery


This won't even complain about the ambiguity, it just outputs 4. This is why Ruby sucks.
I am the Town Medic.
rafaliusz
Profile Joined December 2009
Poland482 Posts
January 31 2014 19:33 GMT
#4
Does that code actually work?
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
Last Edited: 2014-01-31 19:49:35
January 31 2014 19:48 GMT
#5
On February 01 2014 04:33 rafaliusz wrote:
Does that code actually work?


It's correct syntax (other than the three superfluous end statements at the bottom), yes.
I am the Town Medic.
Chairman Ray
Profile Blog Joined December 2009
United States11903 Posts
January 31 2014 19:50 GMT
#6
Ah Ruby, I hated it so much.
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
January 31 2014 20:01 GMT
#7
On February 01 2014 04:50 Chairman Ray wrote:
Ah Ruby, I hated it so much.


Seriously though, duck typing may be fine for a teaching language or a small personal project, but when you're digging through and debugging huge files and/or trying to use big libraries, it's like, what the FUCK does this method return? What kind of shit is this variable holding? What asshole named this method to_m?

end

Also Ruby can't multithread for shit, all you end up doing is context switching on a single core and making everything take 3x as long.
I am the Town Medic.
hp.Shell
Profile Blog Joined April 2010
United States2527 Posts
January 31 2014 20:39 GMT
#8
On February 01 2014 04:14 MysteryMeat1 wrote:
mystery is a method.

lol, +1, high five sir.
Please PM me with any songs you like that you think I haven't heard before!
Logo
Profile Blog Joined April 2010
United States7542 Posts
Last Edited: 2014-01-31 22:25:12
January 31 2014 22:24 GMT
#9
On February 01 2014 05:01 Alzadar wrote:
Show nested quote +
On February 01 2014 04:50 Chairman Ray wrote:
Ah Ruby, I hated it so much.


Seriously though, duck typing may be fine for a teaching language or a small personal project, but when you're digging through and debugging huge files and/or trying to use big libraries, it's like, what the FUCK does this method return? What kind of shit is this variable holding? What asshole named this method to_m?

end

Also Ruby can't multithread for shit, all you end up doing is context switching on a single core and making everything take 3x as long.


Ehhh depends on your developers. If people are good about not being terrible, duck typing can save you a ton of code and still remain workable on large projects. Less so for primitives where it's annoying, but it's nice for some functions that aren't distinct enough to create an object hierarchy for (say load and unload if you're dealing with some sort of widget type things).

Plus it avoids an equally annoying bloat you see in large projects where you have someone doing:
addNumbers(int i, int j)
addNumbers(string i, string j)
addNumbers(int i, string j)
addNumbers(string i, int j)
addNumbers(float i, float j)
... and on and on...
Logo
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
January 31 2014 22:39 GMT
#10
On February 01 2014 07:24 Logo wrote:
Show nested quote +
On February 01 2014 05:01 Alzadar wrote:
On February 01 2014 04:50 Chairman Ray wrote:
Ah Ruby, I hated it so much.


Seriously though, duck typing may be fine for a teaching language or a small personal project, but when you're digging through and debugging huge files and/or trying to use big libraries, it's like, what the FUCK does this method return? What kind of shit is this variable holding? What asshole named this method to_m?

end

Also Ruby can't multithread for shit, all you end up doing is context switching on a single core and making everything take 3x as long.


Ehhh depends on your developers. If people are good about not being terrible, duck typing can save you a ton of code and still remain workable on large projects. Less so for primitives where it's annoying, but it's nice for some functions that aren't distinct enough to create an object hierarchy for (say load and unload if you're dealing with some sort of widget type things).

Plus it avoids an equally annoying bloat you see in large projects where you have someone doing:
addNumbers(int i, int j)
addNumbers(string i, string j)
addNumbers(int i, string j)
addNumbers(string i, int j)
addNumbers(float i, float j)
... and on and on...


You could achieve a similar thing via regular polymorphism, although that takes a decent amount of foresight and would be hard to implement retroactively.
I am the Town Medic.
docvoc
Profile Blog Joined July 2011
United States5491 Posts
January 31 2014 23:19 GMT
#11
I was so sure this was gonna be about pokemon and I was about to get in here and defend that game to death lol.
User was warned for too many mimes.
Tufas
Profile Blog Joined April 2010
Austria2259 Posts
January 31 2014 23:24 GMT
#12
On February 01 2014 08:19 docvoc wrote:
I was so sure this was gonna be about pokemon and I was about to get in here and defend that game to death lol.


Same thought, but I just wanted to see TL burn.
Where is my ACE flair
Otolia
Profile Blog Joined July 2011
France5805 Posts
February 01 2014 10:28 GMT
#13
Had to dev a FTP in ruby and when I realized there was no high-level storage from ruby-objects to yaml in ruby I cried. Still there is far worse than Ruby.

*shrugs* FORTRAN *shrugs*
Chef
Profile Blog Joined August 2005
10810 Posts
February 01 2014 13:57 GMT
#14
Rails is excellent for quickly developing web-applications. Choose the right tool for the right job. Of course there's certain annoying things about Ruby and the asset pipeline can be frustrating.
LEGEND!! LEGEND!!
Please log in or register to reply.
Live Events Refresh
Next event in 1h 34m
[ Submit Event ]
Live Streams
Refresh
StarCraft: Brood War
Britney 33800
Sea 3765
Leta 437
Larva 187
scan(afreeca) 79
Sharp 60
sSak 33
Backho 23
NaDa 23
ToSsGirL 20
[ Show more ]
Sacsri 12
Dota 2
The International22944
Gorgc3600
Dendi474
Fuzer 166
BananaSlamJamma117
XcaliburYe91
NeuroSwarm78
League of Legends
JimRising 515
Counter-Strike
shoxiejesuss559
Stewie2K547
olofmeister311
Other Games
summit1g8016
singsing583
crisheroes467
Happy125
Sick124
Mew2King85
Organizations
Other Games
gamesdonequick516
Algost 4
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Berry_CruncH318
• LUISG 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt403
• Jankos348
Upcoming Events
The PondCast
1h 34m
RSL Revival
1h 34m
Maru vs SHIN
MaNa vs MaxPax
Maestros of the Game
8h 34m
Classic vs TriGGeR
Reynor vs SHIN
OSC
18h 34m
MaNa vs SHIN
SKillous vs ShoWTimE
Bunny vs TBD
Cham vs TBD
RSL Revival
1d 1h
Reynor vs Astrea
Classic vs sOs
Maestros of the Game
1d 8h
Serral vs Ryung
ByuN vs Zoun
BSL Team Wars
1d 10h
Team Bonyth vs Team Dewalt
CranKy Ducklings
2 days
RSL Revival
2 days
GuMiho vs Cham
ByuN vs TriGGeR
Cosmonarchy
2 days
TriGGeR vs YoungYakov
YoungYakov vs HonMonO
HonMonO vs TriGGeR
[ Show More ]
Maestros of the Game
2 days
Solar vs Bunny
Clem vs Rogue
[BSL 2025] Weekly
2 days
RSL Revival
3 days
Cure vs Bunny
Creator vs Zoun
Maestros of the Game
3 days
Maru vs Lambo
herO vs ShoWTimE
BSL Team Wars
3 days
Team Hawk vs Team Sziky
Sparkling Tuna Cup
4 days
Monday Night Weeklies
4 days
Liquipedia Results

Completed

CSL Season 18: Qualifier 2
SEL Season 2 Championship
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL 2025 AUTUMN (S18)
RSL Revival: Season 2
Maestros of the Game
Sisters' Call Cup
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

LASL Season 20
2025 Chongqing Offline CUP
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
EC S1
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
MESA Nomadic Masters Fall
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.