• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 01:53
CEST 07:53
KST 14:53
  • 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
Team TLMC #5 - Finalists & Open Tournaments0[ASL20] Ro16 Preview Pt2: Turbulence10Classic Games #3: Rogue vs Serral at BlizzCon9[ASL20] Ro16 Preview Pt1: Ascent10Maestros of the Game: Week 1/Play-in Preview12
Community News
BSL 2025 Warsaw LAN + Legends Showmatch0Weekly Cups (Sept 8-14): herO & MaxPax split cups4WardiTV TL Team Map Contest #5 Tournaments1SC4ALL $6,000 Open LAN in Philadelphia8Weekly Cups (Sept 1-7): MaxPax rebounds & Clem saga continues29
StarCraft 2
General
#1: Maru - Greatest Players of All Time Weekly Cups (Sept 8-14): herO & MaxPax split cups Team Liquid Map Contest #21 - Presented by Monster Energy SpeCial on The Tasteless Podcast Team TLMC #5 - Finalists & Open Tournaments
Tourneys
Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament SC4ALL $6,000 Open LAN in Philadelphia WardiTV TL Team Map Contest #5 Tournaments RSL: Revival, a new crowdfunded tournament series
Strategy
Custom Maps
External Content
Mutation # 491 Night Drive Mutation # 490 Masters of Midnight Mutation # 489 Bannable Offense Mutation # 488 What Goes Around
Brood War
General
NaDa's Body Soulkey on ASL S20 BW General Discussion A cwal.gg Extension - Easily keep track of anyone BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[ASL20] Ro16 Group D [ASL20] Ro16 Group C [Megathread] Daily Proleagues BSL 2025 Warsaw LAN + Legends Showmatch
Strategy
Simple Questions, Simple Answers Muta micro map competition Fighting Spirit mining rates [G] Mineral Boosting
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Borderlands 3 General RTS Discussion Thread Nintendo Switch Thread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
Community
General
US Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread UK Politics Mega-thread
Fan Clubs
The Happy Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion MLB/Baseball 2023
World Cup 2022
Tech Support
Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread High temperatures on bridge(s)
TL Community
BarCraft in Tokyo Japan for ASL Season5 Final The Automated Ban List
Blogs
I <=> 9
KrillinFromwales
The Personality of a Spender…
TrAiDoS
A very expensive lesson on ma…
Garnet
hello world
radishsoup
Lemme tell you a thing o…
JoinTheRain
RTS Design in Hypercoven
a11
Evil Gacha Games and the…
ffswowsucks
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1559 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 4h 7m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech76
StarCraft: Brood War
PianO 289
JulyZerg 50
Nal_rA 38
Bale 21
SilentControl 13
ajuk12(nOOB) 12
Icarus 6
Dota 2
NeuroSwarm141
League of Legends
JimRising 653
Counter-Strike
Stewie2K580
Coldzera 387
Other Games
summit1g7167
C9.Mang0362
XaKoH 151
Trikslyr19
Organizations
Other Games
gamesdonequick685
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• practicex 50
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo1183
• Stunt445
Upcoming Events
RSL Revival
4h 7m
Maru vs Reynor
Cure vs TriGGeR
Map Test Tournament
5h 7m
The PondCast
7h 7m
RSL Revival
1d 4h
Zoun vs Classic
Korean StarCraft League
1d 21h
BSL Open LAN 2025 - War…
2 days
RSL Revival
2 days
BSL Open LAN 2025 - War…
3 days
RSL Revival
3 days
Online Event
3 days
[ Show More ]
Wardi Open
4 days
Monday Night Weeklies
4 days
Sparkling Tuna Cup
5 days
LiuLi Cup
6 days
Liquipedia Results

Completed

Proleague 2025-09-10
Chzzk MurlocKing SC1 vs SC2 Cup #2
HCC Europe

Ongoing

BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
LASL Season 20
RSL Revival: Season 2
Maestros of the Game
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1

Upcoming

2025 Chongqing Offline CUP
BSL World Championship of Poland 2025
IPSL Winter 2025-26
BSL Season 21
SC4ALL: Brood War
BSL 21 Team A
Stellar Fest
SC4ALL: StarCraft II
EC S1
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
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.